-
-
Notifications
You must be signed in to change notification settings - Fork 953
Open
Description
wlr/taskbar only allows "actions" in on-* config entries. i'd like to execute a shell command, or at least get to run a shell script before and after the action (synchronously). i need this so i can disable hyprland cursor warps before activating the new window and for enabling them again after. another way could be passing some sort of window-identifying property to a new on-click-cmd config property as an argument.
this is my very ugly and incorrect implementation which adds the before-action and after-action options for demonstration:
https://github.com/nuclearcodecat/Waybar/tree/wlr-taskbar-onclick-cmd