Commit Graph

1069 Commits

Author SHA1 Message Date
dependabot[bot]
9d7f0ff6dc
build(deps): bump clap from 4.5.7 to 4.5.8
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.7 to 4.5.8.
- [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.7...v4.5.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 14:43:55 +00:00
Jake Stanger
6a06fa534a
Merge pull request #649 from JakeStanger/dependabot/cargo/mlua-0.9.9
build(deps): bump mlua from 0.9.8 to 0.9.9
2024-06-25 11:10:38 +01:00
Jake Stanger
fdc84b9f47
Merge pull request #648 from JakeStanger/dependabot/cargo/reqwest-0.12.5
build(deps): bump reqwest from 0.12.4 to 0.12.5
2024-06-25 11:10:22 +01:00
dependabot[bot]
ffa688b12a
build(deps): bump mlua from 0.9.8 to 0.9.9
Bumps [mlua](https://github.com/khvzak/mlua) from 0.9.8 to 0.9.9.
- [Release notes](https://github.com/khvzak/mlua/releases)
- [Changelog](https://github.com/mlua-rs/mlua/blob/master/CHANGELOG.md)
- [Commits](https://github.com/khvzak/mlua/compare/v0.9.8...v0.9.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 14:38:21 +00:00
dependabot[bot]
f2ee06f234
build(deps): bump reqwest from 0.12.4 to 0.12.5
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.4 to 0.12.5.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.4...v0.12.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 14:38:11 +00:00
Jake Stanger
a9d728f191
Merge pull request #644 from JakeStanger/fix/minor-changes
Fix/minor changes
2024-06-20 21:15:18 +01:00
Jake Stanger
51df2b766b
build: fix clippy warning 2024-06-20 20:59:08 +01:00
Jake Stanger
7e04e30171
fix(wayland): exit on event dispatch error
This should hopefully resolve log spamming issues.
2024-06-20 20:58:56 +01:00
Jake Stanger
167f23dcbd
chore: change default_features to default-features 2024-06-20 20:58:04 +01:00
Jake Stanger
4af2c32222
Merge pull request #643 from victorvintorez/docs/fedora-copr
docs: add fedora copr package to readme
2024-06-19 20:48:17 +01:00
Victor Vintorez
076c2df4a2 docs: add fedora copr package to readme 2024-06-19 20:26:20 +01:00
Jake Stanger
d0bdf31ee9
Merge pull request #583 from JakeStanger/feat/layer-config
Options & Commands for layer-shell layer/exclusive zone
2024-06-13 22:23:09 +01:00
Jake Stanger
aa45396062
feat: ability to set bar layer and exclusive zone 2024-06-13 21:42:40 +01:00
Jake Stanger
576853f8a0
Merge pull request #638 from JakeStanger/dependabot/cargo/regex-1.10.5
build(deps): bump regex from 1.10.4 to 1.10.5
2024-06-10 16:46:36 +01:00
Jake Stanger
e79702be63
Merge pull request #636 from JakeStanger/dependabot/cargo/clap-4.5.7
build(deps): bump clap from 4.5.4 to 4.5.7
2024-06-10 16:45:07 +01:00
dependabot[bot]
9ca3407198
build(deps): bump regex from 1.10.4 to 1.10.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.4...1.10.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 14:55:01 +00:00
dependabot[bot]
e33b9a5b16
build(deps): bump clap from 4.5.4 to 4.5.7
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.7.
- [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.4...v4.5.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 14:54:29 +00:00
Jake Stanger
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
Jake Stanger
176af997f4
fix(music): tokens with & not rendering
Fixes partially #629
2024-06-03 21:52:08 +01:00
Jake Stanger
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
Jake Stanger
dbd385d225
fix(launcher): apps with multiple windows stay focused when window closed
Resolves #618
2024-06-03 21:26:11 +01:00
Jake Stanger
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
Jake Stanger
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
Jake Stanger
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
Jake Stanger
a9a32817e0
Revert "Fix Pango markup not escaped" 2024-06-02 17:42:18 +01:00
Jake Stanger
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
Jake Stanger
277e6b6296
fix(notifications): unable to click through overlay
Fixes #620
2024-06-02 15:40:45 +01:00
Jake Stanger
cfb2fc6fdf
Merge pull request #621 from JakeStanger/fix/markup-escape
Fix Pango markup not escaped
2024-06-02 15:27:51 +01:00
Jake Stanger
b8fdd8531e
refactor: explicitly use set_text on non-pango labels 2024-06-02 15:23:46 +01:00
Jake Stanger
9d8a3eb370
fix: correctly escape pango markup 2024-06-02 15:23:30 +01:00
Jake Stanger
c28de8d902
Merge pull request #595 from JakeStanger/refactor/cli-change
Refactor/cli change
2024-06-01 17:23:17 +01:00
Jake Stanger
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
Jake Stanger
8dda49477b
fix(cli): using zero exit code for error responses 2024-06-01 17:01:17 +01:00
Jake Stanger
a33e0a241a
feat(cli): format flag, json output format 2024-06-01 17:01:16 +01:00
Jake Stanger
7413f78e04
feat(cli): debug flag 2024-06-01 17:01:14 +01:00
Jake Stanger
a0cb01ae5f
refactor: make Ironbar#unique_id must_use 2024-06-01 17:00:55 +01:00
Jake Stanger
dedb89bb02
refactor(popup): rename is_visible to visible 2024-06-01 17:00:55 +01:00
Jake Stanger
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
Jake Stanger
6edfe94000
Merge pull request #584 from JakeStanger/docs/conf-schema
JSON Schema
2024-05-31 22:12:50 +01:00
Jake Stanger
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
Jake Stanger
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
Jake Stanger
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
Jake Stanger
a47ef0c763
Merge pull request #608 from JakeStanger/docs/fixes
Documentation fixes
2024-05-23 22:03:08 +01:00
Jake Stanger
057fdffc5f
docs(examples): fix incorrect cpu sensor name
Resolves #607
2024-05-23 21:59:50 +01:00
Jake Stanger
9db0cbcbdc
docs(upower): fix incorrect css selectors
Resolves #593
2024-05-23 21:59:04 +01:00