Jake Stanger
9d18ce52f5
refactor: recv_glib dependency arrays
...
Adds a dependency array system to `recv_glib` which internally clones the passed deps and then passes by reference to the callback.
This cleans up a lot of the big `{}` blocks full of `widget.clone()` and removes a lot of boilerplate. Yay!
2025-05-26 22:46:25 +01:00
Jake Stanger
beab26a37e
docs: add missing menu sidebar link
2025-05-26 16:38:15 +01:00
Jake Stanger
333796a9ae
Merge pull request #609 from ClaireNeveu/menu-widget
...
feat: Add Menu module
2025-05-26 16:37:15 +01:00
Claire Neveu
96e10fe139
feat: add menu module
...
Adds a new Menu module which allows users to create XDG or custom menus that open after clicking on a button.
Resolves #534
Co-authored-by: Jake Stanger <mail@jstanger.dev>
2025-05-26 16:23:49 +01:00
Jake Stanger
2ae2e78407
Merge pull request #1005 from JakeStanger/fix/icon-label-markup
...
fix: unable to use markup in icon labels
2025-05-25 23:31:12 +01:00
Jake Stanger
9ed0d1270a
fix: unable to use markup in icon labels
2025-05-25 23:27:03 +01:00
Jake Stanger
e99a04923d
Merge pull request #1003 from JakeStanger/refactor/image
...
Overhaul `.desktop` and image resolver code
2025-05-25 19:29:07 +01:00
Jake Stanger
9270225db8
chore(intellij): add test run config
2025-05-25 16:24:17 +01:00
Jake Stanger
3a0e102afc
feat: change icon_overrides to apply to all resolved images
2025-05-25 16:24:17 +01:00
Jake Stanger
3e55d87c3a
refactor: overhaul .desktop and image resolver systems
...
Rewrites the desktop file parser code and image resolver code to introduce caching system and make fully async. They should be much faster now.
BREAKING CHANGE: The `icon_theme` setting has been moved from per-bar to top-level
2025-05-25 16:24:17 +01:00
Jake Stanger
ca524f19f6
refactor: fix some strict clippy warnings
2025-05-25 12:14:24 +01:00
Jake Stanger
bd9b3af5bc
Merge pull request #999 from postsolar/fix-calendar-date
...
fix(clock): reset selected calendar date on each popup open
2025-05-20 16:55:09 +01:00
Jake Stanger
b8d87eb9a9
Merge pull request #998 from JakeStanger/fix/launcher-favourites
...
fix(launcher): regression - favourites in wrong order
2025-05-20 16:03:48 +01:00
postsolar
c4b29e199c
Calendar: reset selected date on each popup open
2025-05-20 17:50:09 +03:00
Jake Stanger
ff359f61c2
fix(launcher): regression - favourites in wrong order
...
Fixes #997
2025-05-20 15:42:07 +01:00
Jake Stanger
0914ea3972
Merge pull request #994 from JakeStanger/dependabot/cargo/ctrlc-3.4.7
...
build(deps): bump ctrlc from 3.4.6 to 3.4.7
2025-05-20 10:59:19 +01:00
dependabot[bot]
cf65691d6b
build(deps): bump ctrlc from 3.4.6 to 3.4.7
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.4.6 to 3.4.7.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](https://github.com/Detegr/rust-ctrlc/compare/3.4.6...3.4.7 )
---
updated-dependencies:
- dependency-name: ctrlc
dependency-version: 3.4.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 15:06:56 +00:00
Jake Stanger
60b42c4d94
Merge pull request #993 from JakeStanger/dependabot/cargo/zbus-5.7.0
...
build(deps): bump zbus from 5.6.0 to 5.7.0
2025-05-19 16:05:13 +01:00
Jake Stanger
423ba56d3f
Merge pull request #995 from JakeStanger/dependabot/cargo/sysinfo-0.35.1
...
build(deps): bump sysinfo from 0.35.0 to 0.35.1
2025-05-19 16:04:50 +01:00
Jake Stanger
a8decbd152
Merge pull request #996 from JakeStanger/refactor/into-popup
...
refactor(module): remove redundant `into_popup` parameters
2025-05-19 16:03:57 +01:00
Jake Stanger
8575300044
refactor(module): remove redundant into_popup parameters
2025-05-19 15:57:44 +01:00
dependabot[bot]
5be6892458
build(deps): bump sysinfo from 0.35.0 to 0.35.1
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.35.0 to 0.35.1.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/compare/v0.35.0...v0.35.1 )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-version: 0.35.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 14:45:08 +00:00
dependabot[bot]
aafa60ba58
build(deps): bump zbus from 5.6.0 to 5.7.0
...
Bumps [zbus](https://github.com/dbus2/zbus ) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/dbus2/zbus/releases )
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.6.0...zbus-5.7.0 )
---
updated-dependencies:
- dependency-name: zbus
dependency-version: 5.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 14:43:19 +00:00
Jake Stanger
09ba3816d6
refactor: couple of tiny changes
2025-05-19 15:33:08 +01:00
Jake Stanger
7b220cb2ae
fix: issues with bar appearing on wrong monitor
...
Due to a GTK bug, the bar relied on GDK and the compositor reporting monitors in the same order. This broke down when monitors were connected, or occasionally on reload.
This reverts the workaround put in place for the bug, since it has since been patched upstream
2025-05-19 15:29:26 +01:00
Brandon
b13c725f67
feat(custom): add halign and valign options to box widget ( #988 )
2025-05-19 09:20:59 +01:00
Jake Stanger
e4c0a1ba92
Merge pull request #983 from postsolar/hide-empty-bindmode
...
fix(bindmode): hide bindmode label if it's empty
2025-05-18 22:26:55 +01:00
postsolar
aa2d82469f
Send a dummy event on init so that the widget starts hidden
2025-05-18 23:09:26 +03:00
postsolar
f6598f46d5
Hide bindmode label if it's empty
2025-05-18 22:53:27 +03:00
Jake Stanger
75b60ec23e
Merge pull request #991 from JakeStanger/fix/niri-reload
...
fix(workspaces): reload broken on niri
2025-05-18 20:00:24 +01:00
Jake Stanger
375ceb81ce
fix(workspaces): reload broken on niri
...
Fixes #930
Fixes #981
2025-05-18 19:54:42 +01:00
Jake Stanger
760db3067b
Merge pull request #823 from JakeStanger/refactor/remove-macros
...
refactor: replace channel macros with ext trait methods
2025-05-18 17:22:03 +01:00
Jake Stanger
f929aef2d9
refactor: replace channel macros with ext trait methods
2025-05-18 15:22:58 +01:00
Jake Stanger
d5744f597c
Merge pull request #990 from JakeStanger/build/feature-fix
...
build: fix issues with compositor feature flags
2025-05-18 14:33:26 +01:00
Jake Stanger
999d173eff
build: fix issues with compositor feature flags
2025-05-18 14:29:40 +01:00
Jake Stanger
da5164c8a4
docs(gtk4): fix launcher icon
2025-05-16 22:34:04 +01:00
Jake Stanger
c6f3af4142
refactor: improvements to feature flags
2025-05-16 22:33:54 +01:00
Jake Stanger
88190f0d4a
Merge pull request #984 from JakeStanger/fix/hyprland-grimblast-crash
...
refactor: update hyprland-rs, remove `expect`s from hyprland client code
2025-05-16 22:32:49 +01:00
Jake Stanger
1b6aa10423
refactor: update hyprland-rs, remove expects from hyprland client code
...
Fixes #960
2025-05-16 22:29:25 +01:00
Jake Stanger
f3ae57bfe5
Merge pull request #980 from JakeStanger/fix/cairo-leak
...
fix(cairo): huge memory leak
2025-05-14 22:35:55 +01:00
Jake Stanger
e240ab7acb
fix(cairo): huge memory leak
...
Fixes increasing the reference count of the `Context` without ever decreasing it.
Fixes #972
2025-05-14 22:29:43 +01:00
Jake Stanger
fe1d28cda8
Merge pull request #977 from JakeStanger/dependabot/cargo/clap_complete-4.5.50
...
build(deps): bump clap_complete from 4.5.47 to 4.5.50
2025-05-12 17:02:06 +01:00
Jake Stanger
f72e83a3ea
Merge pull request #974 from JakeStanger/dependabot/cargo/chrono-0.4.41
...
build(deps): bump chrono from 0.4.40 to 0.4.41
2025-05-12 17:01:56 +01:00
postsolar
040e7e64ee
fix(mpris): use set_position instead of seek ( #978 )
2025-05-12 16:06:29 +01:00
dependabot[bot]
3638670aeb
build(deps): bump clap_complete from 4.5.47 to 4.5.50
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.5.47 to 4.5.50.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.47...clap_complete-v4.5.50 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-version: 4.5.50
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 14:36:09 +00:00
Jake Stanger
ffbc851f0e
Merge pull request #975 from JakeStanger/dependabot/cargo/tokio-1.45.0
...
build(deps): bump tokio from 1.44.2 to 1.45.0
2025-05-12 15:34:27 +01:00
Jake Stanger
23bb068d81
Merge pull request #973 from JakeStanger/dependabot/cargo/clap-4.5.38
...
build(deps): bump clap from 4.5.37 to 4.5.38
2025-05-12 15:34:01 +01:00
dependabot[bot]
533385f3b1
build(deps): bump tokio from 1.44.2 to 1.45.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.2 to 1.45.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.2...tokio-1.45.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.45.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 14:19:05 +00:00
dependabot[bot]
532a7b6bf6
build(deps): bump chrono from 0.4.40 to 0.4.41
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.40 to 0.4.41.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.40...v0.4.41 )
---
updated-dependencies:
- dependency-name: chrono
dependency-version: 0.4.41
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 14:18:54 +00:00
dependabot[bot]
b2ff2de5f1
build(deps): bump clap from 4.5.37 to 4.5.38
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.37 to 4.5.38.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.37...clap_complete-v4.5.38 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.38
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 14:18:44 +00:00