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

366 commits

Author SHA1 Message Date
f819aec259
fix(notifications): client broken by recent refactor
Fixes #674
2024-08-04 13:46:12 +01:00
6d0fe4c8ac
feat: add networkmanager module 2024-08-04 12:55:12 +01:00
fb6ae42f3b
fix: crash due to clipboard fd incorrectly closed 2024-08-04 11:50:22 +01:00
461bee8847
fix(bar): do not add start/center/end containers if empty 2024-08-03 15:51:07 +01:00
51df2b766b
build: fix clippy warning 2024-06-20 20:59:08 +01:00
7e04e30171
fix(wayland): exit on event dispatch error
This should hopefully resolve log spamming issues.
2024-06-20 20:58:56 +01:00
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
aa45396062
feat: ability to set bar layer and exclusive zone 2024-06-13 21:42:40 +01:00
176af997f4
fix(music): tokens with & not rendering
Fixes partially #629
2024-06-03 21:52:08 +01:00
dbd385d225
fix(launcher): apps with multiple windows stay focused when window closed
Resolves #618
2024-06-03 21:26:11 +01:00
a9a32817e0
Revert "Fix Pango markup not escaped" 2024-06-02 17:42:18 +01:00
277e6b6296
fix(notifications): unable to click through overlay
Fixes #620
2024-06-02 15:40:45 +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
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
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
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
9a39420ae2
fix(launcher): favourites staying focused when closed in hyprland
Fixes #603
2024-05-21 19:27:23 +01: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
c876904bda
refactor: update nix crate to latest version
Fixes #573
2024-05-18 21:58:32 +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
4a37429634
fix(launcher): ghost windows in reload
Fixes #585
2024-05-15 19:54:55 +01:00
04a694e2ad refactor: fix latest clippy warnings 2024-05-11 20:56:18 +01:00
951576ce3c feat: pango markup support in image icons 2024-05-11 20:44:20 +01:00
f11da3eca1 feat(music): pango markup support 2024-05-11 20:44:03 +01:00
c45ea02a7d fix(workspaces): regression due to #572
Fixes #574
2024-05-09 17:25:08 +01:00
5e7f576841 fix(workspaces): add support for hyprland rename event
Renaming workspaces on Hyprland will now work as expected.

This also refactors the workspace code to depend on IDs rather than
names which should make it more robust against the same sort of issue
in future.

Fixes #469
2024-05-07 09:42:55 +01:00
3a947d1e14 chore: remove println 2024-05-04 17:14:39 +01:00
Nadia
f7a39ddecc
build: update hyprland-rs to 0.4.0-alpha.1
(#565) 

this does have some breaking changes in it so it could have other
side effects.
2024-05-03 21:39:09 +01:00
SerraPi
d03c752f9a
feat(launcher): option to reverse order
* Add reverse order for launcher items/favorites

* Add lanucher reverse order to docs

* Add example configs for json,toml,yaml,corn

---------

Co-authored-by: SerraPi <serrapm2@gmail.com>
2024-04-28 22:33:20 +01:00
ea2b20816d
fix(focused): incorrectly clearing when unfocused window title changes (#556)
Fixes #544
2024-04-24 21:29:44 +01:00
Robert Nelson
188abc33e9
fix(tray): icon colour channels are being incorrectly rendered
Converts from ARGB32 to RGBA32 formats when rendering tray Pixmaps

Fixes #546
2024-04-24 20:52:17 +01:00
e6f7108862
Merge pull request #497 from JakeStanger/feat/cairo
feat: new cairo module
2024-04-17 20:49:59 +01:00
b0a05b7cda
feat: new cairo module
Resolves #105

Co-authored-by: A-Cloud-Ninja <5809177+A-Cloud-Ninja@users.noreply.github.com>
2024-04-17 20:35:35 +01:00
cfaba87f2f
feat(ipc): ironvar list command 2024-04-13 23:08:45 +01:00
Claire Neveu
f50a65eab5 fix: upower module should display correctly for vertical bars 2024-04-06 12:05:28 -04:00
Claire Neveu
44be58594b feat: Add orientation and direction support for sys info 2024-04-06 12:05:04 -04:00
Claire Neveu
70b2c592b2 feat: Add orientation support for custom label and button 2024-04-06 12:03:43 -04:00
Claire Neveu
702b0a63bf feat: Add orientation support for clock 2024-04-06 12:03:15 -04:00
26ffed7b40
build: remove some unused features/deps 2024-04-02 20:12:09 +01:00
9245188af7
refactor: better error handling for client initialization 2024-04-01 16:34:25 +01:00
1b35354272
refactor: fix clippy warnings 2024-04-01 16:33:38 +01:00
10b3b01e5b
Merge pull request #527 from JakeStanger/feat/custom-button-box
feat(custom): ability to add modules/widgets to buttons
2024-04-01 15:47:39 +01:00
46224d8a54
feat(custom): ability to add modules/widgets to buttons
Resolves #207
2024-04-01 15:42:26 +01:00