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

1377 commits

Author SHA1 Message Date
f39c4c430e
refactor: fix clippy warnings 2025-02-15 23:18:57 +00:00
1d29d61628
fix: exit 0 on ipc connection error
Will now return code 3

Fixes #868
2025-02-15 23:16:05 +00:00
7c7b6c7323
Merge pull request #831 from JakeStanger/feat/sysinfo-overhaul
feat(sysinfo): overhaul to add aggregate/unit/formatting support
2025-02-15 23:10:51 +00:00
01de0ac6f5
feat(sysinfo): overhaul to add aggregate/unit/formatting support
This completely reworks the sysinfo module to add support for aggregate functions, better support for working with individual devices, the ability to specify units, and some string formatting support.

Several new tokens have also been added, and performance should be marginally improved.

BREAKING CHANGE: Use of the `sys_info` module in your config will need to be updated to use the new token format. See the wiki page for more info.
2025-02-15 22:58:17 +00:00
49ab7e0c7b
Merge pull request #837 from BowDown097/master
feat: icon overrides
2025-02-15 22:43:46 +00:00
2e59bc9b27
Merge pull request #865 from JakeStanger/refactor/zbus-5
refactor: upgrade to zbus v5
2025-02-15 22:41:36 +00:00
39153e04b3
Merge pull request #867 from JakeStanger/dependabot/cargo/clap-4.5.28
build(deps): bump clap from 4.5.27 to 4.5.28
2025-02-12 11:41:39 +00:00
dependabot[bot]
b5b1f3cff7
build(deps): bump clap from 4.5.27 to 4.5.28
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.27 to 4.5.28.
- [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.27...clap_complete-v4.5.28)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 15:06:35 +00:00
BowDown097
c2beda852d refactor: ensure one copy of icon_overrides 2025-02-08 04:45:35 -08:00
63f5954837
refactor: upgrade to zbus v5
Also drops the deprecated `upower-dbus` crate
2025-02-08 01:56:01 +00:00
Merlijn
75375aa341
fix(clipboard): possible deadlock when copying (#863)
* Change clipboard calloop event loop with blocking read to tokio async readers.

Co-authored-by: Ridan Vandenbergh <ridanvandenbergh@gmail.com>

* cargo fmt

---------

Co-authored-by: Ridan Vandenbergh <ridanvandenbergh@gmail.com>
2025-02-06 16:29:33 +00:00
BowDown097
2fd49e0f3a refactor: address requested changes (3) 2025-02-05 09:11:28 -08:00
BowDown097
d5e4e08863 refactor: address requested changes (2) 2025-02-05 07:40:54 -08:00
68ccc7ac4d
Merge pull request #861 from JakeStanger/fix/volume-markup
feat(volume): add pango support to button
2025-02-04 19:18:56 +00:00
BowDown097
40d449e011 refactor: address requested changes 2025-02-04 09:48:10 -08:00
814fbc2d8f
docs(keyboard): add missing show_layout option 2025-02-04 15:00:18 +00:00
5e7e741842
feat(volume): add pango support to button
Resolves #852
2025-02-03 22:48:25 +00:00
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
ee19176a2c
Merge pull request #860 from JakeStanger/dependabot/cargo/cargo-2c68f0befb
build(deps): bump openssl from 0.10.66 to 0.10.70 in the cargo group
2025-02-03 19:21:11 +00:00
dependabot[bot]
2ba97bbb5c
build(deps): bump openssl from 0.10.66 to 0.10.70 in the cargo group
Bumps the cargo group with 1 update: [openssl](https://github.com/sfackler/rust-openssl).


Updates `openssl` from 0.10.66 to 0.10.70
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.66...openssl-v0.10.70)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 18:46:22 +00:00
7288f5fb80
Merge pull request #859 from JakeStanger/dependabot/cargo/clap_complete-4.5.44
build(deps): bump clap_complete from 4.5.42 to 4.5.44
2025-02-03 16:22:10 +00:00
dependabot[bot]
fa02fdff64
build(deps): bump clap_complete from 4.5.42 to 4.5.44
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.5.42 to 4.5.44.
- [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.42...clap_complete-v4.5.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 15:39:11 +00:00
e129e5f9b2
Merge pull request #858 from JakeStanger/dependabot/cargo/serde_json-1.0.138
build(deps): bump serde_json from 1.0.137 to 1.0.138
2025-02-03 15:37:57 +00:00
dependabot[bot]
48627a687b
build(deps): bump serde_json from 1.0.137 to 1.0.138
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.137...v1.0.138)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 14:34:58 +00:00
dd36891f5b
Merge pull request #856 from JakeStanger/update_flake_lock_action
Update flake.lock
2025-02-01 00:43:26 +00:00
github-actions[bot]
112bfad6e3 flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/72e2d02dbac80c8c86bf6bf3e785536acf8ee926?narHash=sha256-3aH/0Y6ajIlfy7j52FGZ%2Bs4icVX0oHhqBzRdlOeztqg%3D' (2024-12-21)
  → 'github:ipetkov/crane/6fe74265bbb6d016d663b1091f015e2976c4a527?narHash=sha256-ivVXYaYlShxYoKfSo5%2By5930qMKKJ8CLcAoIBPQfJ6s%3D' (2025-01-24)
• Updated input 'naersk':
    'github:nix-community/naersk/378614f37a6bee5a3f2ef4f825a73d948d3ae921?narHash=sha256-a4WZp1xQkrnA4BbnKrzJNr%2BdYoQr5Xneh2syJoddFyE%3D' (2024-12-04)
  → 'github:nix-community/naersk/0621e47bd95542b8e1ce2ee2d65d6a1f887a13ce?narHash=sha256-BwMekRuVlSB9C0QgwKMICiJ5EVbLGjfe4qyueyNQyGI%3D' (2025-01-09)
• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/0e82ab234249d8eee3e8c91437802b32c74bb3fd?narHash=sha256-zExSA1i/b%2B1NMRhGGLtNfFGXgLtgo%2BdcuzHzaWA6w3Q%3D' (2024-12-30)
  → 'github:NixOS/nixpkgs/9189ac18287c599860e878e905da550aa6dec1cd?narHash=sha256-AYvaFBzt8dU0fcSK2jKD0Vg23K2eIRxfsVXIPCW9a0E%3D' (2025-01-31)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/88195a94f390381c6afcdaa933c2f6ff93959cb4?narHash=sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs%3D' (2024-12-29)
  → 'github:nixos/nixpkgs/9d3ae807ebd2981d593cddd0080856873139aa40?narHash=sha256-NGqpVVxNAHwIicXpgaVqJEJWeyqzoQJ9oc8lnK9%2BWC4%3D' (2025-01-29)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/d199142e84bfaae476ffb4e09a70879d7918784d?narHash=sha256-rsjojgfPUf9tWuMXuuo2KAIoUZ49XGZQJSjFGOO8Cq4%3D' (2024-12-31)
  → 'github:oxalica/rust-overlay/b031b584125d33d23a0182f91ddbaf3ab4880236?narHash=sha256-YKOHUmc0Clm4tMV8grnxYL4IIwtjTayoq/3nqk0QM7k%3D' (2025-01-31)
2025-02-01 00:15:03 +00:00
141f03f6ca
Merge pull request #853 from JakeStanger/dependabot/cargo/clap-4.5.27
build(deps): bump clap from 4.5.26 to 4.5.27
2025-01-27 16:04:03 +00:00
dependabot[bot]
a695b875cc
build(deps): bump clap from 4.5.26 to 4.5.27
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.26 to 4.5.27.
- [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.26...clap_complete-v4.5.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 14:27:25 +00:00
dbdff91c3c
Merge pull request #850 from JakeStanger/dependabot/cargo/serde_json-1.0.137
build(deps): bump serde_json from 1.0.135 to 1.0.137
2025-01-20 22:27:55 +00:00
0ba4a9b1ba
Merge pull request #851 from JakeStanger/dependabot/cargo/indexmap-2.7.1
build(deps): bump indexmap from 2.7.0 to 2.7.1
2025-01-20 15:59:28 +00:00
dependabot[bot]
6b9861bad2
build(deps): bump indexmap from 2.7.0 to 2.7.1
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.7.0 to 2.7.1.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.7.0...2.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 15:29:49 +00:00
9c2d77c0f5
Merge pull request #849 from JakeStanger/dependabot/cargo/dirs-6.0.0
build(deps): bump dirs from 5.0.1 to 6.0.0
2025-01-20 15:28:38 +00:00
dependabot[bot]
de8e45b9a4
build(deps): bump serde_json from 1.0.135 to 1.0.137
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.135 to 1.0.137.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.135...v1.0.137)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 15:24:35 +00:00
eb5439e411
Merge pull request #847 from JakeStanger/dependabot/cargo/clap-4.5.26
build(deps): bump clap from 4.5.23 to 4.5.26
2025-01-20 15:23:25 +00:00
dependabot[bot]
d2dde7d766
build(deps): bump dirs from 5.0.1 to 6.0.0
Bumps [dirs](https://github.com/soc/dirs-rs) from 5.0.1 to 6.0.0.
- [Commits](https://github.com/soc/dirs-rs/commits)

---
updated-dependencies:
- dependency-name: dirs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 15:04:08 +00:00
dependabot[bot]
3c44ada6c6
build(deps): bump clap from 4.5.23 to 4.5.26
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.23 to 4.5.26.
- [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.23...clap_complete-v4.5.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 15:03:34 +00:00
BowDown097
d1b4af4710 refactor: make icon overrides bar-level and apply to focused module 2025-01-16 21:39:06 -08:00
11581380ad
Merge pull request #844 from JakeStanger/dependabot/cargo/cargo-0aefbba9fd
build(deps): bump the cargo group with 2 updates
2025-01-14 09:24:44 +00:00
250777f9b3
Merge pull request #842 from JakeStanger/dependabot/cargo/tokio-1.43.0
build(deps): bump tokio from 1.42.0 to 1.43.0
2025-01-14 09:24:21 +00:00
ad07a8a637
Merge pull request #843 from JakeStanger/dependabot/cargo/futures-lite-2.6.0
build(deps): bump futures-lite from 2.5.0 to 2.6.0
2025-01-14 09:23:38 +00:00
a9004382b5
Merge pull request #841 from JakeStanger/dependabot/cargo/clap_complete-4.5.42
build(deps): bump clap_complete from 4.5.40 to 4.5.42
2025-01-13 22:51:51 +00:00
e445b4020d
Merge pull request #840 from JakeStanger/dependabot/cargo/notify-8.0.0
build(deps): bump notify from 7.0.0 to 8.0.0
2025-01-13 22:47:03 +00:00
dependabot[bot]
2da0e9d17c
build(deps): bump the cargo group with 2 updates
Bumps the cargo group with 2 updates: [anstream](https://github.com/rust-cli/anstyle) and [hashbrown](https://github.com/rust-lang/hashbrown).


Updates `anstream` from 0.6.7 to 0.6.18
- [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.6.7...anstream-v0.6.18)

Updates `hashbrown` from 0.15.0 to 0.15.2
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/hashbrown/commits)

---
updated-dependencies:
- dependency-name: anstream
  dependency-type: indirect
  dependency-group: cargo
- dependency-name: hashbrown
  dependency-type: indirect
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 22:39:59 +00:00
dependabot[bot]
e4caf2dcc8
build(deps): bump clap_complete from 4.5.40 to 4.5.42
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.5.40 to 4.5.42.
- [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.40...clap_complete-v4.5.42)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 22:39:42 +00:00
f1279188ee
Merge pull request #839 from JakeStanger/dependabot/cargo/serde_json-1.0.135
build(deps): bump serde_json from 1.0.134 to 1.0.135
2025-01-13 22:38:31 +00:00
dependabot[bot]
42dbd988ce
build(deps): bump futures-lite from 2.5.0 to 2.6.0
Bumps [futures-lite](https://github.com/smol-rs/futures-lite) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases)
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: futures-lite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 14:57:42 +00:00
dependabot[bot]
1631135ac8
build(deps): bump tokio from 1.42.0 to 1.43.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 14:57:31 +00:00
dependabot[bot]
545b478db0
build(deps): bump notify from 7.0.0 to 8.0.0
Bumps [notify](https://github.com/notify-rs/notify) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/notify-rs/notify/releases)
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/notify-rs/notify/compare/notify-7.0.0...notify-8.0.0)

---
updated-dependencies:
- dependency-name: notify
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 14:57:02 +00:00
dependabot[bot]
84f70ba4d6
build(deps): bump serde_json from 1.0.134 to 1.0.135
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.134 to 1.0.135.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.134...v1.0.135)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 14:56:51 +00:00
BowDown097
87c680122b feat(launcher): icon overrides 2025-01-10 20:28:05 -08:00