d87888d173
fix: on_scroll
events broken on touchpad
...
Fixes #652
2024-11-04 13:05:18 +00:00
b2db7b0bb5
fix: markup escape issues
...
Fixes #629
2024-10-15 22:11:15 +01:00
Leshuguita
e08027fe69
fix(workspaces): prevent crash when clicking current workspace ( #733 )
...
* fix(workspaces): prevent crash on hyprland error
* fix(workspaces): typo in warning message
* refactor: fix format
---------
Co-authored-by: Leshu <leshuguita.saiyan@gmail.com>
2024-09-24 21:42:13 +01:00
04f45ccae1
refactor: fix some pedantic clippy warnings
2024-08-14 21:26:40 +01:00
82a6660c85
fix(workspaces): incorrectly checking focus using name_map value
...
Fixes #639
2024-08-11 16:43:41 +01:00
474e1fe364
fix(upower): avoid panic on client init error
2024-08-09 23:16:00 +01:00
Rodrigo Batista de Moraes
e307e15dc4
feat: new sway-mode module ( #671 )
...
* feat: add sway-mode module
* refactor: Avoid making multiple connections to SwayIPC
Now `sway::Client` is store in `ironbar.clients`, and allow dynamically
registering event listeners, instead of hardcoding events for Workspace
updates.
Remove the use of `swayipc::Connection` from `sway-mode` module, and
replace it with the new event listener system.
#671
2024-08-05 13:22:01 +01:00
2bc741d197
fix(tray): crash when provided empty pixmap
...
Fixes #675
2024-08-04 13:40:05 +01:00
6d0fe4c8ac
feat: add networkmanager module
2024-08-04 12:55:12 +01:00
176af997f4
fix(music): tokens with &
not rendering
...
Fixes partially #629
2024-06-03 21:52:08 +01:00
a9a32817e0
Revert "Fix Pango markup not escaped"
2024-06-02 17:42:18 +01:00
277e6b6296
fix(notifications): unable to click through overlay
...
Fixes #620
2024-06-02 15:40:45 +01:00
b8fdd8531e
refactor: explicitly use set_text
on non-pango labels
2024-06-02 15:23:46 +01:00
9d8a3eb370
fix: correctly escape pango markup
2024-06-02 15:23:30 +01:00
dedb89bb02
refactor(popup): rename is_visible
to visible
2024-06-01 17:00:55 +01:00
36d724f148
feat(config): json schema support
...
This PR includes the necessary code changes, CI changes and documentation to generate and deploy a full JSON schema for each release and the master branch, which can be used within config files for autocomplete and type checking.
2024-05-31 22:01:50 +01:00
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
04a694e2ad
refactor: fix latest clippy warnings
2024-05-11 20:56:18 +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
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
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
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
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
46224d8a54
feat(custom): ability to add modules/widgets to buttons
...
Resolves #207
2024-04-01 15:42:26 +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
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
5a3ba08ddd
Merge pull request #470 from JakeStanger/fix/tray
...
More tray fixes
2024-03-17 14:12:56 +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
c62d47555e
fix(tray): submenus not working
...
Fixes a regression from previous tray fixes that caused submenus within
the main tray menu to never show.
Fixes #455
2024-02-25 20:57:36 +00:00
0675b917f2
fix(tray): icons ignoring scaling
2024-02-25 20:57:36 +00:00