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" = {
format = "{icon} {count}";
format-icons = ["" ""];
on-click = "${lib.getExe' config.wayland.windowManager.sway.package "swaymsg"} scratchpad show";
show-empty = false;
tooltip = true;
tooltip-format = "{app}: {title}";