63ca68988f
Merge pull request #597 from JakeStanger/docs/modules
...
docs: add rustdoc comments to all module options
2024-05-23 21:52:10 +01:00
c7743b28c6
docs: add rustdoc comments to all module options
...
This part of an upcoming effort to generate documentation from code.
Pushing this out before that stage so that the JSON schema is fully documented.
2024-05-23 21:46:33 +01:00
9a39420ae2
fix(launcher): favourites staying focused when closed in hyprland
...
Fixes #603
2024-05-21 19:27:23 +01:00
SerraPi
4ad4b0e070
fix(ipc): regression - reload not working due to #592
...
let index = match index {
Some(index) => index - 1,
None => {
lock!(map).push(monitor_name.clone());
lock!(map).len() - 1
}
};
//This causes index to underflow
//Expected Output is something like 0, 1, etc
//But sometimes we go back around to 18446744073709551615
//Removing the -1 here seems to work ok with multi monitor, and reload is not broken anymore
Some(index) => index,
2024-05-19 22:35:52 +01:00
c876904bda
refactor: update nix
crate to latest version
...
Fixes #573
2024-05-18 21:58:32 +01:00
520a94abfa
fix: all bars showing on same display due to GTK bug
...
This is a nasty hack, which will hopefully only be temporary.
See https://github.com/swaywm/sway/issues/8164 for details
2024-05-18 01:25:14 +01:00
4a37429634
fix(launcher): ghost windows in reload
...
Fixes #585
2024-05-15 19:54:55 +01:00
04a694e2ad
refactor: fix latest clippy warnings
2024-05-11 20:56:18 +01:00
951576ce3c
feat: pango markup support in image icons
2024-05-11 20:44:20 +01:00
f11da3eca1
feat(music): pango markup support
2024-05-11 20:44:03 +01:00
c45ea02a7d
fix(workspaces): regression due to #572
...
Fixes #574
2024-05-09 17:25:08 +01:00
5e7f576841
fix(workspaces): add support for hyprland rename event
...
Renaming workspaces on Hyprland will now work as expected.
This also refactors the workspace code to depend on IDs rather than
names which should make it more robust against the same sort of issue
in future.
Fixes #469
2024-05-07 09:42:55 +01:00
3a947d1e14
chore: remove println
2024-05-04 17:14:39 +01:00
Nadia
f7a39ddecc
build: update hyprland-rs to 0.4.0-alpha.1
...
(#565 )
this does have some breaking changes in it so it could have other
side effects.
2024-05-03 21:39:09 +01:00
SerraPi
d03c752f9a
feat(launcher): option to reverse order
...
* Add reverse order for launcher items/favorites
* Add lanucher reverse order to docs
* Add example configs for json,toml,yaml,corn
---------
Co-authored-by: SerraPi <serrapm2@gmail.com>
2024-04-28 22:33:20 +01:00
ea2b20816d
fix(focused): incorrectly clearing when unfocused window title changes ( #556 )
...
Fixes #544
2024-04-24 21:29:44 +01:00
Robert Nelson
188abc33e9
fix(tray): icon colour channels are being incorrectly rendered
...
Converts from ARGB32 to RGBA32 formats when rendering tray Pixmaps
Fixes #546
2024-04-24 20:52:17 +01:00
e6f7108862
Merge pull request #497 from JakeStanger/feat/cairo
...
feat: new cairo module
2024-04-17 20:49:59 +01:00
b0a05b7cda
feat: new cairo module
...
Resolves #105
Co-authored-by: A-Cloud-Ninja <5809177+A-Cloud-Ninja@users.noreply.github.com>
2024-04-17 20:35:35 +01:00
cfaba87f2f
feat(ipc): ironvar list command
2024-04-13 23:08:45 +01:00
Claire Neveu
f50a65eab5
fix: upower module should display correctly for vertical bars
2024-04-06 12:05:28 -04:00
Claire Neveu
44be58594b
feat: Add orientation and direction support for sys info
2024-04-06 12:05:04 -04:00
Claire Neveu
70b2c592b2
feat: Add orientation support for custom label and button
2024-04-06 12:03:43 -04:00
Claire Neveu
702b0a63bf
feat: Add orientation support for clock
2024-04-06 12:03:15 -04:00
26ffed7b40
build: remove some unused features/deps
2024-04-02 20:12:09 +01:00
9245188af7
refactor: better error handling for client initialization
2024-04-01 16:34:25 +01:00
1b35354272
refactor: fix clippy warnings
2024-04-01 16:33:38 +01:00
10b3b01e5b
Merge pull request #527 from JakeStanger/feat/custom-button-box
...
feat(custom): ability to add modules/widgets to buttons
2024-04-01 15:47:39 +01:00
46224d8a54
feat(custom): ability to add modules/widgets to buttons
...
Resolves #207
2024-04-01 15:42:26 +01:00
3ba8b4bd96
fix: regressions introduced by #505
...
- Crash on startup if modules missing common options
- Crash on startup due to disable_popup incorrectly mandatory
2024-04-01 15:40:12 +01:00
46cbaca5e0
feat: option to disable module popup
2024-04-01 15:09:11 +01:00
994f4a4a12
feat: ability to add custom modules instead native modules
...
Resolves #131
2024-04-01 15:01:37 +01:00
eaaa937be8
chore: correct comment
2024-03-30 23:17:23 +00:00
706e040e25
refactor: split bar/top-level config structs
...
This allows for some options which are not actually bar-level to be separated, which makes some work moving forward a little easier and keeps things cleaner.
2024-03-29 21:54:04 +00:00
30b11db435
fix(tray): cannot activate menu options with right click
...
Fixes #513
2024-03-29 13:13:29 +00:00
ba004455b2
feat(tray): option to prefer theme-provided icons
2024-03-29 00:31:20 +00:00
004ea76da5
refactor(tray): complete client rewrite
2024-03-29 00:31:20 +00:00
c7b6ee8bc0
refactor: add dead_code allow to fix build warning
2024-03-29 00:29:27 +00:00
8e9db141f8
docs(macros): add missing comment
2024-03-29 00:29:13 +00:00
8254627595
Merge pull request #481 from slowsage/fix/mpris
...
Fix(music): mpris - handle no active mpris player on launch & hide label when player list is empty.
2024-03-18 23:41:19 +00:00
slowsage
180f8748bb
fix(music): Handle NoActivePlayer (playerctld) , NoReply, NoMethod, ServiceUnknown DBus errors in mpris.
2024-03-18 19:28:30 -04:00
5a3ba08ddd
Merge pull request #470 from JakeStanger/fix/tray
...
More tray fixes
2024-03-17 14:12:56 +00:00
b912619d61
refactor(image): add debug logging
2024-03-14 22:36:30 +00:00
00a6a84ca6
refactor(upower): cheaper string building
2024-03-14 22:36:20 +00:00
86c5b69f18
refactor(tray): tidy imports
2024-03-14 22:35:55 +00:00
cf44c461db
fix(workspaces): favourites not persisting for initially open workspaces
...
Fixes #464 .
2024-03-10 13:41:52 +00:00
7742a46578
feat: swaync notifications module
...
Adds a new module which connects to SwayNC to display information from the notifications deamon.
Resolves #7
2024-03-04 20:33:53 +00:00
660dc81e7d
chore: refactors to volume pr #460 i forgot
...
whoops
2024-03-04 20:21:26 +00:00
a70956bb3b
feat: add new volume module
2024-03-04 19:53:02 +00:00
slowsage
f2638497fa
fix(launcher): not resolving icon for some apps
...
When using spotify in wayland with hyprland, the spotify icon is not
pulled up correctly by the launcher module.
The class/app_id is "" while the name/title is "Spotify Premium". This
uses item.name as a fallback which ensure spotify icon shows up
correctly under wayland.
Refs: #228 , #146
2024-02-27 20:11:14 +00:00