waybar: add on-click show action to sway/scratchpad

This commit is contained in:
Aly Raffauf 2024-08-12 21:26:58 -04:00
parent 6aafa8969a
commit 83b7b56eeb

View file

@ -74,6 +74,7 @@ in {
"sway/scratchpad" = { "sway/scratchpad" = {
format = "{icon} {count}"; format = "{icon} {count}";
format-icons = ["" ""]; format-icons = ["" ""];
on-click = "${lib.getExe' config.wayland.windowManager.sway.package "swaymsg"} scratchpad show";
show-empty = false; show-empty = false;
tooltip = true; tooltip = true;
tooltip-format = "{app}: {title}"; tooltip-format = "{app}: {title}";