1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-20 11:54:23 +02:00
Commit graph

78 commits

Author SHA1 Message Date
f819aec259
fix(notifications): client broken by recent refactor
Fixes #674
2024-08-04 13:46:12 +01:00
6d0fe4c8ac
feat: add networkmanager module 2024-08-04 12:55:12 +01:00
fb6ae42f3b
fix: crash due to clipboard fd incorrectly closed 2024-08-04 11:50:22 +01:00
51df2b766b
build: fix clippy warning 2024-06-20 20:59:08 +01:00
7e04e30171
fix(wayland): exit on event dispatch error
This should hopefully resolve log spamming issues.
2024-06-20 20:58:56 +01:00
dbd385d225
fix(launcher): apps with multiple windows stay focused when window closed
Resolves #618
2024-06-03 21:26:11 +01:00
c876904bda
refactor: update nix crate to latest version
Fixes #573
2024-05-18 21:58:32 +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
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
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
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
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
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
slowsage
180f8748bb fix(music): Handle NoActivePlayer (playerctld) , NoReply, NoMethod, ServiceUnknown DBus errors in mpris. 2024-03-18 19:28:30 -04: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
6fe9c54134
fix(clipboard): unable to paste large images into xwayland
Thanks to a nightly clippy warning which found I wasn't using `file.write` correctly.

Fixes #86.
2024-02-18 00:41:16 +00:00
4934f2c409
Merge pull request #433 from JakeStanger/refactor/clippy
refactor: fix new strict clippy warnings
2024-02-01 22:50:58 +00:00
aaef3bf96c
refactor: fix new strict clippy warnings 2024-02-01 22:39:43 +00:00
8016ec256d
fix(tray): crash caused by excess updates
Some icons seem to absolutely spam updates in some circumstances. Increasing the channel size by 4x seems sufficient to prevent this.
2024-01-27 00:35:16 +00:00
18b47844f9
refactor(wayland): simplify task spawning code 2024-01-14 15:42:29 +00:00
e0dc5e104a
refactor(wayland): remove unused request type 2024-01-14 01:34:49 +00:00
thmasq
ddf91b18cc build: add focused and launcher feature flags 2024-01-13 22:08:31 -03:00
8371a92204
feat: load bars on monitor when it connects
Finally, Ironbar will respond to events of monitors being (dis)connected, and will create bars when a monitor connects.

This means at last - resolves #291

yaay
2024-01-13 17:20:09 +00:00
c702f6fffa
refactor: major client code changes
This does away with `lazy_static` singletons for all the clients, instead putting them all inside a `Clients` struct on the `Ironbar` struct.

Client code has been refactored in places to accommodate this, and module code has been updated to get the clients the new way.

The Wayland client has been re-written from the ground up to remove a lot of the needless complications, provide a nicer interface and reduce some duplicate data.

The MPD music client has been overhauled to use the `mpd_utils` crate, which simplifies the code within Ironbar and should offer more robustness and better recovery when connection is lost to the server.

The launcher module in particular has been affected by the refactor.
2024-01-09 23:33:07 +00:00
967801dc32
refactor(workspaces): avoid sending unknown update info 2023-12-31 00:50:41 +00:00
e847a84c21
refactor: fix casting based clippy warnings 2023-12-18 22:09:21 +00:00
bea442ed96
refactor: update gtk/glib, remove glib channels
This is a major refactor which updates GTK, GLib and GTK Layer Shell to their latest versions.

GLib channels, previously used for receiving events on the GLib Main Context thread have been deprecated and a new method for running Futures on the main thread has been added instead. This commit also replaces all the deprecated code with this.

As part of the above, a bug was uncovered related to creating the GLib main context inside the Tokio runtime. Spawning of Tokio tasks has been refactored to fix this.
2023-12-18 22:09:21 +00:00
ed5a16237d
refactor: update wayland crates to latest versions 2023-12-11 22:01:50 +00:00
b2fa19ab6c
refactor: begin restructuring core code to better encapsulate
This is a first pass towards trying to structure things a bit better, with data generally encapsulated under a single hierarchical tree, rather than lots of globals all over the place. Lots of work is still required.

The plan is that with this and some more work, #291 should become a lot easier to sort.
2023-12-08 22:39:27 +00:00
08e354e019
refactor: fix new clippy warnings 2023-10-19 21:12:19 +01:00
4e67b73a83
refactor(wlr data control): update to new nix epoll bindings 2023-09-05 22:43:29 +01:00
Alice Janik
25c490b8b4
feat(workspaces): visible CSS selector 2023-08-25 20:50:51 -05:00
1b476eb9f9
chore(wayland): downgrade some logs from debug to trace 2023-08-16 20:27:24 +01:00
b6e4ed6608
build: replace stray with system-tray fork
Fully resolves #166
2023-08-13 15:11:29 +01:00
9fe6d49195
build: update to latest hyprland-rs
Resolves #269
2023-08-11 21:15:45 +01:00
06251e293e
refactor: fix new pedantic clippy warnings 2023-07-16 20:17:32 +01:00
1759945912
fix(music): correctly show/hide popup elements based on player capabilities 2023-06-30 19:27:00 +01:00
12053f111a
feat(music): progress/seek bar in popup
Resolves #128.
2023-06-30 19:26:49 +01:00
7016f7f79e
refactor: use new smart pointer macros throughout codebase 2023-06-29 23:16:31 +01:00
cc181a8b6d
refactor: fix new clippy warnings 2023-06-29 16:57:47 +01:00
96323801d9
build: use patched version of stray 2023-06-17 23:52:52 +01:00
de98cf3dae
fix(tray): (maybe?) sometimes bus name is taken
No idea if this fix actually does anything but no harm in it I guess.
2023-06-17 21:29:33 +01:00
a5ecb363fd
fix: popups occasionally getting jumbled with multiple bars 2023-05-29 14:01:42 +01:00
48d6af0281 fix(music): showing when no mpris player found
THe music module expects an event to be sent on subscription to the
client to set up the initial state. This ensures an event is sent when
in MPRIS mode when no player is initially found.
2023-05-21 20:44:31 +01:00