Commit Graph

1210 Commits

Author SHA1 Message Date
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
Jake Stanger
7d191065fc
docs: add notes about nerd fonts
Resolves #558
2024-05-23 21:58:07 +01:00
Jake Stanger
63ca68988f
Merge pull request #597 from JakeStanger/docs/modules
docs: add rustdoc comments to all module options
2024-05-23 21:52:10 +01:00
Jake Stanger
c7743b28c6
docs: add rustdoc comments to all module options
This part of an upcoming effort to generate documentation from code.

Pushing this out before that stage so that the JSON schema is fully documented.
2024-05-23 21:46:33 +01:00
Jake Stanger
b0d3bfd6d9
Merge pull request #605 from JakeStanger/fix/launcher-favourites
fix(launcher): favourites staying focused when closed in hyprland
2024-05-22 09:59:40 +01:00
Jake Stanger
9a39420ae2
fix(launcher): favourites staying focused when closed in hyprland
Fixes #603
2024-05-21 19:27:23 +01:00
Jake Stanger
fd58ce771d
Merge pull request #602 from JakeStanger/dependabot/cargo/serde-1.0.202
build(deps): bump serde from 1.0.201 to 1.0.202
2024-05-21 14:28:51 +01:00
Jake Stanger
d8d963e55e
Merge pull request #601 from JakeStanger/dependabot/cargo/mlua-0.9.8
build(deps): bump mlua from 0.9.7 to 0.9.8
2024-05-21 14:28:23 +01:00
dependabot[bot]
af44d297f0
build(deps): bump serde from 1.0.201 to 1.0.202
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.201 to 1.0.202.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202)

---
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-20 14:14:20 +00:00
dependabot[bot]
e1efcd20b5
build(deps): bump mlua from 0.9.7 to 0.9.8
Bumps [mlua](https://github.com/khvzak/mlua) from 0.9.7 to 0.9.8.
- [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.7...v0.9.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 14:13:55 +00:00