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

1100 commits

Author SHA1 Message Date
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
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
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
9db0cbcbdc
docs(upower): fix incorrect css selectors
Resolves #593
2024-05-23 21:59:04 +01:00
7d191065fc
docs: add notes about nerd fonts
Resolves #558
2024-05-23 21:58:07 +01:00
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
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
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
9a39420ae2
fix(launcher): favourites staying focused when closed in hyprland
Fixes #603
2024-05-21 19:27:23 +01:00
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
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
SerraPi
4ad4b0e070
fix(ipc): regression - reload not working due to #592
let index = match index {
        Some(index) => index - 1,
        None => {
            lock!(map).push(monitor_name.clone());
            lock!(map).len() - 1
        }
    };

//This causes index to underflow
//Expected Output is something like 0, 1, etc
//But sometimes we go back around to 18446744073709551615

//Removing the -1 here seems to work ok with multi monitor, and reload is not broken anymore
Some(index) => index,
2024-05-19 22:35:52 +01:00
3b6480f3f2
Merge pull request #596 from JakeStanger/build/nix
refactor: update `nix` crate to latest version
2024-05-18 22:08:12 +01:00
f7f991b2e6
docs(compiling): fix wrong fedora package for pulse libs 2024-05-18 22:04:16 +01:00
c876904bda
refactor: update nix crate to latest version
Fixes #573
2024-05-18 21:58:32 +01:00
47e3e0f9b2
Merge pull request #592 from JakeStanger/fix/bar-positions
fix: all bars showing on same display due to GTK bug
2024-05-18 01:28:19 +01:00
520a94abfa
fix: all bars showing on same display due to GTK bug
This is a nasty hack, which will hopefully only be temporary.

See https://github.com/swaywm/sway/issues/8164 for details
2024-05-18 01:25:14 +01:00
c641b368a5
Merge pull request #591 from JakeStanger/fix/launcher-reload
fix(launcher): ghost windows in reload
2024-05-15 20:04:16 +01:00
4a37429634
fix(launcher): ghost windows in reload
Fixes #585
2024-05-15 19:54:55 +01:00
407d58606d
Merge pull request #590 from JakeStanger/dependabot/cargo/serde-1.0.201
build(deps): bump serde from 1.0.200 to 1.0.201
2024-05-14 09:48:39 +01:00
5eda63c182
Merge pull request #588 from JakeStanger/dependabot/cargo/serde_json-1.0.117
build(deps): bump serde_json from 1.0.116 to 1.0.117
2024-05-14 09:42:32 +01:00