1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-16 22:31:03 +02:00
Commit graph

1542 commits

Author SHA1 Message Date
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
75b60ec23e
Merge pull request #991 from JakeStanger/fix/niri-reload
fix(workspaces): reload broken on niri
2025-05-18 20:00:24 +01:00
375ceb81ce
fix(workspaces): reload broken on niri
Fixes #930
Fixes #981
2025-05-18 19:54:42 +01:00
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
f929aef2d9
refactor: replace channel macros with ext trait methods 2025-05-18 15:22:58 +01:00
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
999d173eff
build: fix issues with compositor feature flags 2025-05-18 14:29:40 +01:00
da5164c8a4
docs(gtk4): fix launcher icon 2025-05-16 22:34:04 +01:00
c6f3af4142
refactor: improvements to feature flags 2025-05-16 22:33:54 +01:00
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
1b6aa10423
refactor: update hyprland-rs, remove expects from hyprland client code
Fixes #960
2025-05-16 22:29:25 +01:00
f3ae57bfe5
Merge pull request #980 from JakeStanger/fix/cairo-leak
fix(cairo): huge memory leak
2025-05-14 22:35:55 +01:00
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
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
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
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
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
28136f62bf
Merge pull request #971 from postsolar/bug-report-template
chore: update bug report template
2025-05-12 09:43:30 +01:00
postsolar
8b30901b0b chore: update bug report template 2025-05-12 11:37:41 +03:00
postsolar
4d92af7ced
fix(music): hours not being displayed in track duration (#968) 2025-05-12 09:16:06 +01:00
d31ac29db0
Merge pull request #953 from 74k1/update-flake
feat(nix)!: standardize home-manager options & restructure flake
2025-05-06 21:03:13 +01:00
reo101
89073dc0cf feat(nix): use lib.fileset for src
- Filters out more unnecessary files (like `nix` ones)
2025-05-06 21:47:27 +02:00
reo101
d97d07e98e chore(nix): reformat package.nix with alejandra 2025-05-06 21:47:27 +02:00
74k1
322fc0cdcc
feat(nix)!: standardize home-manager module options
- reload ironbar on config change
- update docs to reflect breaking change

BREAKING CHANGE: `programs.ironbar.systemd` is not enabled by default anymore

Co-authored-by: reo101 <pavel.atanasov2001@gmail.com>
2025-05-06 21:47:27 +02:00
74k1
5affad3400
refactor(nix): use flake-parts and flake-compat
- redefine `{default,shell}.nix` to derive from `flake.nix` (using
  `flake-compat`)
- use `flake-parts`' `_module.args.pkgs` machinery to apply overlays
  (instead of `pkgsFor`)
- extract `homeManagerModule` to `nix/module.nix`
- rename package at `nix/default.nix` to `nix/package.nix`

Co-authored-by: reo101 <pavel.atanasov2001@gmail.com>
2025-05-06 21:46:12 +02:00
95669fcf38
Merge pull request #958 from JakeStanger/dependabot/cargo/lua-src-547.1.0
build(deps): bump lua-src from 547.0.0 to 547.1.0
2025-05-05 18:47:35 +01:00
2e29f8a323
Merge pull request #957 from JakeStanger/dependabot/cargo/wayland-protocols-wlr-0.3.8
build(deps): bump wayland-protocols-wlr from 0.3.6 to 0.3.8
2025-05-05 18:47:15 +01:00
b17eb612f6
Merge pull request #956 from JakeStanger/dependabot/cargo/zbus-5.6.0
build(deps): bump zbus from 5.5.0 to 5.6.0
2025-05-05 18:47:00 +01:00
dependabot[bot]
0543820078
build(deps): bump zbus from 5.5.0 to 5.6.0
Bumps [zbus](https://github.com/dbus2/zbus) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/dbus2/zbus/releases)
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.5.0...zbus-5.6.0)

---
updated-dependencies:
- dependency-name: zbus
  dependency-version: 5.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 16:01:02 +00:00
68665e5107
Merge pull request #955 from JakeStanger/dependabot/cargo/sysinfo-0.35.0
build(deps): bump sysinfo from 0.34.2 to 0.35.0
2025-05-05 16:58:45 +01:00
1a9207f8b3
Merge pull request #954 from JakeStanger/dependabot/cargo/rustix-1.0.7
build(deps): bump rustix from 1.0.5 to 1.0.7
2025-05-05 16:57:58 +01:00
dependabot[bot]
f05553c6dc
build(deps): bump lua-src from 547.0.0 to 547.1.0
Bumps [lua-src](https://github.com/mlua-rs/lua-src-rs) from 547.0.0 to 547.1.0.
- [Commits](https://github.com/mlua-rs/lua-src-rs/compare/v547.0.0...v547.1.0)

---
updated-dependencies:
- dependency-name: lua-src
  dependency-version: 547.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 15:01:29 +00:00
dependabot[bot]
3e0f1395d6
build(deps): bump wayland-protocols-wlr from 0.3.6 to 0.3.8
Bumps [wayland-protocols-wlr](https://github.com/smithay/wayland-rs) from 0.3.6 to 0.3.8.
- [Release notes](https://github.com/smithay/wayland-rs/releases)
- [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md)
- [Commits](https://github.com/smithay/wayland-rs/commits)

---
updated-dependencies:
- dependency-name: wayland-protocols-wlr
  dependency-version: 0.3.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 14:54:43 +00:00
dependabot[bot]
cd434f68a0
build(deps): bump sysinfo from 0.34.2 to 0.35.0
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.34.2 to 0.35.0.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits/v0.35.0)

---
updated-dependencies:
- dependency-name: sysinfo
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 14:44:01 +00:00
dependabot[bot]
c773f2b001
build(deps): bump rustix from 1.0.5 to 1.0.7
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 1.0.5 to 1.0.7.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGES.md)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v1.0.5...v1.0.7)

---
updated-dependencies:
- dependency-name: rustix
  dependency-version: 1.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 14:43:05 +00:00
5c2f290fb1
Merge pull request #952 from JakeStanger/update_flake_lock_action
Update flake.lock
2025-05-01 10:15:04 +01:00
github-actions[bot]
c5b0fa1ab8 flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/70947c1908108c0c551ddfd73d4f750ff2ea67cd?narHash=sha256-vVOAp9ahvnU%2BfQoKd4SEXB2JG2wbENkpqcwlkIXgUC0%3D' (2025-03-19)
  → 'github:ipetkov/crane/efd36682371678e2b6da3f108fdb5c613b3ec598?narHash=sha256-oLvmxOnsEKGtwczxp/CwhrfmQUG2ym24OMWowcoRhH8%3D' (2025-04-24)
• Updated input 'naersk':
    'github:nix-community/naersk/a75c0584b0d69de943babc899530e9c70c642b42?narHash=sha256-o9dXcpfXpBm6%2B/SRqcQW0GzRkJymwyEAu5UD5LMDd3s%3D' (2025-03-25)
  → 'github:nix-community/naersk/38bc60bbc157ae266d4a0c96671c6c742ee17a5f?narHash=sha256-cyAAMal0aPrlb1NgzMxZqeN1mAJ2pJseDhm2m6Um8T0%3D' (2025-04-29)
• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/63158b9cbb6ec93d26255871c447b0f01da81619?narHash=sha256-FurMxmjEEqEMld11eX2vgfAx0Rz0JhoFm8UgxbfCZa8%3D' (2025-03-30)
  → 'github:NixOS/nixpkgs/423d2df5b04b4ee7688c3d71396e872afa236a89?narHash=sha256-vonyYAKJSlsX4n9GCsS0pHxR6yCrfqBIuGvANlkwG6U%3D' (2025-04-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/52faf482a3889b7619003c0daec593a1912fddc1?narHash=sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om%2BD4UnDhlDW9BE%3D' (2025-03-30)
  → 'github:nixos/nixpkgs/46e634be05ce9dc6d4db8e664515ba10b78151ae?narHash=sha256-y3h3NLnzRSiUkYpnfvnS669zWZLoqqI6NprtLQ%2B5dck%3D' (2025-04-29)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/011de3c895927300651d9c2cb8e062adf17aa665?narHash=sha256-OBcNE%2B2/TD1AMgq8HKMotSQF8ZPJEFGZdRoBJ7t/HIc%3D' (2025-03-31)
  → 'github:oxalica/rust-overlay/7fbdae44b0f40ea432e46fd152ad8be0f8f41ad6?narHash=sha256-CITAeiuXGjDvT5iZBXr6vKVWQwsUQLJUMFO91bfJFC4%3D' (2025-04-30)
2025-05-01 00:17:37 +00:00
e19af2bdd3
docs(gtk4): update launcher as partially ported, update popups/ipc 2025-04-25 23:49:14 +01:00
a9508e6541
Merge pull request #855 from Rodrigodd/feat/module-bindmode
feat: rename sway_mode to bindmode and add Hyprland support
2025-04-22 23:40:47 +01:00
304fa03d90
docs(gtk4): update music to ported, popup state 2025-04-22 22:32:59 +01:00
0c84c0c583
docs(gtk4): update workspaces to be ported 2025-04-21 23:26:19 +01:00
Rodrigodd
ca3a2e31ef ci: add bindmode to feature-checks matrix 2025-04-21 19:13:59 -03:00
Rodrigodd
638f2a20d2 refactor: avoid explicity cast with long type
Aparently Rust doesn't implicitly cast a `Result<Arc<T>>` to
`Result<Arc<dyn T>>`, so the `Result` was being mapped with a explicity
cast.

But unwrapping the `Result` with a `?` and then wrapping it back into
`Ok` make the implicit cast work. This avoid typing the entire type,
which was breaking the code in multiple lines.
2025-04-21 19:13:59 -03:00