Waybar: Close scratchpad on middle click instead of right.

This commit is contained in:
Dmitry Voronin 2024-10-24 13:23:53 +03:00
parent a4b2bfd667
commit 150f1e096a
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -51,7 +51,7 @@ in
tooltip = true; tooltip = true;
tooltip-format = "{app}: {title}"; tooltip-format = "{app}: {title}";
on-click = "swaymsg 'scratchpad show'"; on-click = "swaymsg 'scratchpad show'";
on-click-right = "swayscript scratchpad_kill"; on-click-middle = "swayscript scratchpad_kill";
}; };
tray = { tray = {
# icon-size = 21; # icon-size = 21;