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

409 commits

Author SHA1 Message Date
quietvoid
9f7c3918c4
feat(sway): support workspace rename events (#799)
And reorder based on label with fallback to widget name
2024-12-05 12:04:22 +00:00
a181d4e257 fix(networkmanager, upower): widget not vertical on left/right bars 2024-11-25 11:12:23 +00:00
pachliopta
64b953ce5e
feat(launcher): add option to minimize window if focused 2024-11-24 21:46:45 +00:00
9c13e534b7
Merge pull request #735 from Rodrigodd/feat/urgent
feat: add `.urgent` workspace css class
2024-11-24 21:40:52 +00:00
da13b9d500
feat(launcher): truncate and truncate_popup config options 2024-11-24 21:35:38 +00:00
8b05ed526d
refactor: move label truncate function to ext trait
 Conflicts:
	src/gtk_helpers.rs
	src/modules/music/mod.rs
2024-11-24 21:35:31 +00:00
cc6f21ed68
refactor: take reference into image provider 2024-11-24 21:30:54 +00:00
df4bfc83d0
feat(truncate): explicit off mode 2024-11-24 21:30:54 +00:00
230dd8b13b
fix(workspaces): clicking currently focused workspace attempts to focus it
Resolves #731
2024-11-19 22:23:57 +00:00
Christian Meissl
ce48fc9d0d
fix(tray): prevent widget buttons from piling up (#788)
each call to set_menu_widget registered a new event handler,
resulting in multiple popups to be created. each popup tried
to issue a grab with the same serial.
prevent this by disconnecting any previously registered handler.
2024-11-19 22:07:52 +00:00
e1f3b1bb72
feat: route gtk logging through tracing
Yay consistent logging, especially now the tray uses a library that likes to vomit warnings
2024-11-18 21:25:57 +00:00
f364bb64fb
fix(tray): tray icons not disappearing on close 2024-11-17 14:47:50 +00:00
5aa9f37fe4
fix(tray): menus not attaching to secondary bars 2024-11-17 14:47:42 +00:00
48dc65f60b
chore(tray): remove unneeded png image code 2024-11-17 14:47:15 +00:00
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