1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00
Commit graph

445 commits

Author SHA1 Message Date
Ridan Vandenbergh
42e25f5ef2
fix(ipc): support querying against duplicate bar names
It is possible/valid to define multiple bars by the same name by setting `name` on the top-level bar object, but not specifying monitors. This updates IPC to support this scenario.

Allow IPC to act on multiple bars by the same name (#777)
2024-11-16 20:48:12 +00:00
e4e9632caa
fix(tray): menu causing bar to lose focus on sway
BREAKING CHANGE: The `direction` option has been changed to only accept `horizontal` or `vertical`
2024-11-16 20:36:20 +00:00
30de23dc64
refactor(tray): switch over to libdbusmenu-gtk3
Also adds tooltips
2024-11-16 17:35:29 +00:00
05530cf776
fix: regression caused by #652 2024-11-10 17:35:47 +00:00
f1e87830ed
chore: tidy main 2024-11-08 01:40:25 +00:00
cf38c37fe3
refactor(tray): move some debug logging to trace logging 2024-11-08 01:40:25 +00:00
486beff8a5
refactor: put in basic placeholders for menu icon diffs 2024-11-08 01:40:25 +00:00
662ddb6946
feat(tray): image support in menu items 2024-11-08 01:40:24 +00:00
fb1799531b
fix(tray): image updates lag 1 behind 2024-11-08 01:35:35 +00:00
55c0940e1d
fix(tray): update system-tray dep to bring in a whole load of fixes 2024-11-08 01:35:04 +00:00
e53a9067b0
fix(tray): cannot activate with mixed left/right click
Fixes #513
2024-11-05 13:20:34 +00:00
81c48fecad
fix(clipboard): crash when unsupported image type 2024-11-05 13:15:42 +00:00
80403e3ca9
fix: not properly redrawing on style reload
Fixes #456
2024-11-05 13:06:23 +00:00
d87888d173
fix: on_scroll events broken on touchpad
Fixes #652
2024-11-04 13:05:18 +00:00
b2db7b0bb5
fix: markup escape issues
Fixes #629
2024-10-15 22:11:15 +01:00
Rodrigo Batista de Moraes
afe534ccd9 feat: add .urgent workspace css class 2024-09-25 22:44:12 -03:00
Leshuguita
e08027fe69
fix(workspaces): prevent crash when clicking current workspace (#733)
* fix(workspaces): prevent crash on hyprland error

* fix(workspaces): typo in warning message

* refactor: fix format

---------

Co-authored-by: Leshu <leshuguita.saiyan@gmail.com>
2024-09-24 21:42:13 +01:00
04f45ccae1
refactor: fix some pedantic clippy warnings 2024-08-14 21:26:40 +01:00
d8b68fd378
fix(launcher): showing xwayland menus and tooltips
Fixes #606
2024-08-14 21:05:26 +01:00
2aa55d8d66
fix(popup): incorrect pos when resolution changes
Popups will now instantly reposition themselves to be correctly placed on resolution change. This includes orientation and scale changes.

Fixes #610
2024-08-14 20:46:40 +01:00
82a6660c85
fix(workspaces): incorrectly checking focus using name_map value
Fixes #639
2024-08-11 16:43:41 +01:00
189975791f
refactor(mpris): better logging, avoid panic on dbus error 2024-08-10 13:45:17 +01:00
474e1fe364
fix(upower): avoid panic on client init error 2024-08-09 23:16:00 +01:00
9d125353c4
refactor: small tidy 2024-08-09 23:08:08 +01:00
1e0ab67aac
Merge pull request #695 from JakeStanger/fix/popup-scaling
fix: popups not accounting for monitor scaling
2024-08-09 23:02:42 +01:00
45d5bf5feb
fix: popups not accounting for monitor scaling
Fixes #657
2024-08-09 22:56:30 +01:00
Rodrigo Batista de Moraes
e307e15dc4
feat: new sway-mode module (#671)
* feat: add sway-mode module

* refactor: Avoid making multiple connections to SwayIPC

Now `sway::Client` is store in `ironbar.clients`, and allow dynamically
registering event listeners, instead of hardcoding events for Workspace
updates.

Remove the use of `swayipc::Connection` from `sway-mode` module, and
replace it with the new event listener system.

#671
2024-08-05 13:22:01 +01:00
4f2f890c93
Merge pull request #685 from JakeStanger/fix/tray-empty-icon
fix(tray): crash when provided empty pixmap
2024-08-04 16:36:21 +01:00
f819aec259
fix(notifications): client broken by recent refactor
Fixes #674
2024-08-04 13:46:12 +01:00
2bc741d197
fix(tray): crash when provided empty pixmap
Fixes #675
2024-08-04 13:40:05 +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