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

1102 commits

Author SHA1 Message Date
2ae8d50cab
refactor: extract property and path list watcher macros 2024-06-18 00:01:30 +02:00
39eb3cf917
fix: state not being set properly in initialisation 2024-06-17 15:33:12 +02:00
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
de29b8dee1
fix: remove unconditional schemars import
(cherry picked from commit 1c33b3b35abbc46476e36e449845f37c6c75ac71)
2024-06-07 12:10:14 +02:00
8b91febed7
fix: add JSON schema derivation, move dep declaration back to bottom 2024-06-07 11:59:52 +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
b0132bdb2b
Merge pull request #631 from JakeStanger/fix/music-token-escape
fix(music): tokens with `&` not rendering
2024-06-03 22:00:00 +01:00
176af997f4
fix(music): tokens with & not rendering
Fixes partially #629
2024-06-03 21:52:08 +01:00
a93108b7e7
Merge pull request #630 from JakeStanger/fix/launcher-focus
fix(launcher): apps with multiple windows stay focused when window closed
2024-06-03 21:36:14 +01:00
dbd385d225
fix(launcher): apps with multiple windows stay focused when window closed
Resolves #618
2024-06-03 21:26:11 +01:00
6e921eb567
Merge pull request #628 from JakeStanger/dependabot/cargo/tokio-1.38.0
build(deps): bump tokio from 1.37.0 to 1.38.0
2024-06-03 20:33:21 +01:00
dependabot[bot]
db95fc9e9b
build(deps): bump tokio from 1.37.0 to 1.38.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 19:01:03 +00:00
49f98519bf
Merge pull request #626 from JakeStanger/dependabot/cargo/schemars-0.8.21
build(deps): bump schemars from 0.8.19 to 0.8.21
2024-06-03 20:00:16 +01:00
dependabot[bot]
b97e1cebd3
build(deps): bump schemars from 0.8.19 to 0.8.21
Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.19 to 0.8.21.
- [Release notes](https://github.com/GREsau/schemars/releases)
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.19...v0.8.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 14:56:45 +00:00
5d1054abd8
Merge pull request #623 from JakeStanger/revert-621-fix/markup-escape
Revert "Fix Pango markup not escaped"
2024-06-02 17:42:39 +01:00
a9a32817e0
Revert "Fix Pango markup not escaped" 2024-06-02 17:42:18 +01:00
0085e51ff6
Merge pull request #622 from JakeStanger/fix/notification-overlay
fix(notifications): unable to click through overlay
2024-06-02 15:44:45 +01:00
277e6b6296
fix(notifications): unable to click through overlay
Fixes #620
2024-06-02 15:40:45 +01:00
cfb2fc6fdf
Merge pull request #621 from JakeStanger/fix/markup-escape
Fix Pango markup not escaped
2024-06-02 15:27:51 +01:00
b8fdd8531e
refactor: explicitly use set_text on non-pango labels 2024-06-02 15:23:46 +01:00
9d8a3eb370
fix: correctly escape pango markup 2024-06-02 15:23:30 +01:00
c28de8d902
Merge pull request #595 from JakeStanger/refactor/cli-change
Refactor/cli change
2024-06-01 17:23:17 +01:00
9dd711235f
feat!: improve CLI structure, add new commands
This splits most CLI/IPC commands into two categories:

- `var` for ironvars
- `bar` for controlling individual bars.

It also introduces more commands for visibility, as well as breaking existing ones.

New commands:

- `show`
- `hide`
- `toggle_visible`
- `set_popup_visible`
- `get_popup_visible`

Lastly, the implementation of some existing commands has been improved.

BREAKING CHANGE: All IPC commands have changed. Namely, `type` has been changed to `command`, and bar/var related commands are now under a `subcommand`. The full spec can be found on the wiki.

BREAKING CHANGE: Several CLI commands are now located under the `var` and `bar` categories. Usage of any commands to get/set Ironvars or control bar visibility will need to be updated.

BREAKING CHANGE: The `open_popup` and `close_popup` IPC commands are now called `show_popup` and `hide_popup` respectively.

BREAKING CHANGE: The popup `name` argument has been renamed to `widget_name` on all IPC commands.

BREAKING CHANGE: The `set-visibility` CLI command now takes a `true`/`false` positional argument in place of the `-v` flag.

BREAKING CHANGE: `ok_value` responses will no longer print `ok` as the first line when using the CLI
2024-06-01 17:04:51 +01:00
8dda49477b
fix(cli): using zero exit code for error responses 2024-06-01 17:01:17 +01:00
a33e0a241a
feat(cli): format flag, json output format 2024-06-01 17:01:16 +01:00
7413f78e04
feat(cli): debug flag 2024-06-01 17:01:14 +01:00
a0cb01ae5f
refactor: make Ironbar#unique_id must_use 2024-06-01 17:00:55 +01:00
dedb89bb02
refactor(popup): rename is_visible to visible 2024-06-01 17:00:55 +01:00
6b8e8743dd
Merge pull request #616 from JakeStanger/update_flake_lock_action
Update flake.lock
2024-06-01 09:42:06 +01:00
github-actions[bot]
10e67d4f5b flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/a5eca68a2cf11adb32787fc141cddd29ac8eb79c?narHash=sha256-apdecPuh8SOQnkEET/kW/UcfjCRb8JbV5BKjoH%2BDcP4%3D' (2024-04-24)
  → 'github:ipetkov/crane/480dff0be03dac0e51a8dfc26e882b0d123a450e?narHash=sha256-dIubLa56W9sNNz0e8jGxrX3CAkPXsq7snuFA/Ie6dn8%3D' (2024-05-29)
• Updated input 'naersk':
    'github:nix-community/naersk/c5037590290c6c7dae2e42e7da1e247e54ed2d49?narHash=sha256-CO8MmVDmqZX2FovL75pu5BvwhW%2BVugc7Q6ze7Hj8heI%3D' (2024-04-19)
  → 'github:nix-community/naersk/fa19d8c135e776dc97f4dcca08656a0eeb28d5c0?narHash=sha256-oIs5EF%2B6VpHJRvvpVWuqCYJMMVW/6h59aYUv9lABLtY%3D' (2024-05-30)
• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae?narHash=sha256-yNAevSKF4krRWacmLUsLK7D7PlfuY3zF0lYnGYNi9vQ%3D' (2024-04-28)
  → 'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/58a1abdbae3217ca6b702f03d3b35125d88a2994?narHash=sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc%3D' (2024-04-27)
  → 'github:nixos/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b?narHash=sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs%3D' (2024-05-29)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ce35c36f58f82cee6ec959e0d44c587d64281b6f?narHash=sha256-lKTA3XqRo4aVgkyTSCtpcALpGXdmkilHTtN00eRg0QU%3D' (2024-04-30)
  → 'github:oxalica/rust-overlay/2a7b53172ed08f856b8382d7dcfd36a4e0cbd866?narHash=sha256-/3sxIe7MZqF/jw1RTQCSmgTjwVod43mmrk84m50MJQ4%3D' (2024-05-31)
2024-06-01 00:57:33 +00:00
6edfe94000
Merge pull request #584 from JakeStanger/docs/conf-schema
JSON Schema
2024-05-31 22:12:50 +01:00
36d724f148
feat(config): json schema support
This PR includes the necessary code changes, CI changes and documentation to generate and deploy a full JSON schema for each release and the master branch, which can be used within config files for autocomplete and type checking.
2024-05-31 22:01:50 +01:00
96d0d9e85b
Merge branch 'develop' into refactor/dbus-traits 2024-05-31 18:01:08 +02:00
12074027a5
Merge branch 'feat/volume-icon' into develop 2024-05-31 00:24:17 +02:00
5c9ca717d2
Merge branch 'feat/networkmanager' into develop 2024-05-31 00:24:05 +02:00
078563e17b
Merge branch 'master' into develop 2024-05-31 00:19:40 +02:00
b5755ef9d4
Merge pull request #612 from JakeStanger/dependabot/cargo/nix-0.29.0
build(deps): bump nix from 0.28.0 to 0.29.0
2024-05-29 21:08:10 +01:00
cc817ff8eb
Merge pull request #611 from JakeStanger/dependabot/cargo/serde-1.0.203
build(deps): bump serde from 1.0.202 to 1.0.203
2024-05-29 21:07:54 +01:00
dependabot[bot]
8d87e88370
build(deps): bump nix from 0.28.0 to 0.29.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.28.0 to 0.29.0.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.28.0...v0.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 14:48:40 +00:00
dependabot[bot]
134836bd6b
build(deps): bump serde from 1.0.202 to 1.0.203
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.202 to 1.0.203.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 14:48:24 +00:00
cd8c6b33bf
Merge branch 'develop' into feat/networkmanager 2024-05-27 13:04:40 +02:00
41bdecf210
Merge branch 'develop' into feat/volume-icon 2024-05-27 13:02:34 +02:00
b14fe5a1b8
Merge branch 'master' into develop 2024-05-27 12:54:35 +02:00
a47ef0c763
Merge pull request #608 from JakeStanger/docs/fixes
Documentation fixes
2024-05-23 22:03:08 +01:00
057fdffc5f
docs(examples): fix incorrect cpu sensor name
Resolves #607
2024-05-23 21:59:50 +01:00