You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, would like to not be restricted to pre-defined actions:
activate Bring the application into foreground.
minimize Toggle application's minimized state.
minimize-raise Bring the application into foreground or toggle its minimized state.
maximize Toggle application's maximized state.
fullscreen Toggle application's fullscreen state.
close Close the application.
Is there a way to execute a custom script for "on-click", and if not, is there a workaround for achieving that result?
For me, I would like:
"on-click": "bash script.sh {state}", where I'm passing Format replacements to the script, even if nothing is passed to the script, I'm also okay. Is there a way to have it execute custom functionality and not be restricted?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I would like to do my own custom functionality for event execution.
I'm refering to the "on-click" event for "wlr/taskbar". https://github.com/Alexays/Waybar/wiki/Module:-Taskbar
Basically, would like to not be restricted to pre-defined actions:
activate Bring the application into foreground.
minimize Toggle application's minimized state.
minimize-raise Bring the application into foreground or toggle its minimized state.
maximize Toggle application's maximized state.
fullscreen Toggle application's fullscreen state.
close Close the application.
Is there a way to execute a custom script for "on-click", and if not, is there a workaround for achieving that result?
For me, I would like:
"on-click": "bash script.sh {state}", where I'm passing Format replacements to the script, even if nothing is passed to the script, I'm also okay. Is there a way to have it execute custom functionality and not be restricted?
Beta Was this translation helpful? Give feedback.
All reactions