1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-09-16 11:46:58 +02:00
Commit graph

87 commits

Author SHA1 Message Date
4182038643
feat: actually implement icon per connection type 2024-06-17 13:26:55 +02:00
cd0991e865
feat: icon per connection type 2024-06-15 20:38:26 +02:00
3bf4e9b877
Merge branch 'refs/heads/master' into develop
# Conflicts:
#	Cargo.toml
#	src/modules/volume.rs
2024-06-05 12:49:39 +02:00
c75de5cd3e
fix: client not setting initial state 2024-06-05 01:54:44 +02:00
43619528f8
fix: useless imports, check changed props interface name 2024-06-05 01:39:05 +02:00
14e1f49ee9
refactor: prop changes are handled using generic signal 2024-06-05 01:28:57 +02:00
ef7397293a
refactor: re-add proxy trait to client 2024-06-05 00:55:02 +02:00
dbd385d225
fix(launcher): apps with multiple windows stay focused when window closed
Resolves #618
2024-06-03 21:26:11 +01:00
cd8c6b33bf
Merge branch 'develop' into feat/networkmanager 2024-05-27 13:04:40 +02:00
b14fe5a1b8
Merge branch 'master' into develop 2024-05-27 12:54:35 +02: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
00df5aa79e
Add GTK Box import alias, change DBus strings to const 2024-05-14 19:11:24 +02: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
6a330136f4
refactor: make client state enum order consistent 2024-04-24 14:08:08 +02:00
6478dd62fb
refactor: networkmanager rewritten to utilise fallible_client 2024-04-22 15:50:31 +02:00
b860f5b603
Merge branch 'master' into feat/networkmanager 2024-04-18 01:38:16 +02:00
1044da251e
refactor: introduce networkmanager client 2024-04-18 01:22:55 +02: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