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

20 commits

Author SHA1 Message Date
kuzy000
03e6f10141
feat(keyboard): ability to display and switch kb layout (#836)
This extends the existing `keys` module to be able to show the current keyboard layout, and cycle between layouts (using the `next` command) by clicking. The `keys` module has been renamed to `keyboard` to more accurately reflect its extended featureset.
2025-02-03 21:19:30 +00:00
8cdbe7e083
refactor(hyprland): improve logging 2024-12-28 12:58:29 +00:00
Rodrigo Batista de Moraes
afe534ccd9 feat: add .urgent workspace css class 2024-09-25 22:44:12 -03: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
aaef3bf96c
refactor: fix new strict clippy warnings 2024-02-01 22:39:43 +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
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
08e354e019
refactor: fix new clippy warnings 2023-10-19 21:12:19 +01:00
Alice Janik
25c490b8b4
feat(workspaces): visible CSS selector 2023-08-25 20:50:51 -05:00
9fe6d49195
build: update to latest hyprland-rs
Resolves #269
2023-08-11 21:15:45 +01:00
7016f7f79e
refactor: use new smart pointer macros throughout codebase 2023-06-29 23:16:31 +01:00
058c8f4228
fix(hyprland): issues with tracking workspaces 2023-01-30 22:24:00 +00:00
db72bc09b4
chore(hyprland): add debug logging 2023-01-30 18:49:30 +00:00
012762e102
refactor: swap out some code for existing macros 2023-01-28 22:07:05 +00:00
ad97550583
build: update deps 2023-01-28 22:06:47 +00:00
0d7ab54160
refactor: remove redundant clone 2023-01-27 23:18:59 +00:00
6e5d0c1e8c
feat(workspaces): hyprland support
Resolves #18.

The bar will now automatically detect whether running under Sway or Hyprland and use the correct IPC client depending.
2023-01-27 23:18:59 +00:00