Waybar : Bring back the fix for clicks.

This commit is contained in:
Dmitry Voronin 2024-09-13 22:39:05 +03:00
parent 47a8838d79
commit dc5010e303
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -130,9 +130,9 @@ in {
}; };
"custom/display" = { "custom/display" = {
exec = "swayscript displaywidget"; exec = "swayscript displaywidget";
on-click = "swayscript dnd"; on-click = "sleep 0.1 && swayscript dnd"; # HACK: https://github.com/Alexays/Waybar/issues/2166 & https://github.com/Alexays/Waybar/issues/1968
on-click-right = "swayscript monitor"; on-click-right = "sleep 0.1 && swayscript monitor";
on-click-middle = "swayscript gaming"; on-click-middle = "sleep 0.1 && swayscript gaming";
return-type = "json"; return-type = "json";
signal = 4; signal = 4;
}; };