🐛 fix(waybar): on-click delay for rofi and swaync

This commit is contained in:
Sergio Laín 2023-12-24 17:58:46 +01:00
parent 7a7f888e57
commit aa2eeccb22
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -49,7 +49,7 @@
"custom/arch": { "custom/arch": {
"format": "  ", "format": "  ",
"tooltip": false, "tooltip": false,
"on-click": "rofi -show drun", "on-click": "sleep 0.1 && rofi -show drun",
"on-click-right": "wleave" "on-click-right": "wleave"
}, },
"custom/weather": { "custom/weather": {
@ -76,7 +76,7 @@
"return-type": "json", "return-type": "json",
"exec-if": "which swaync-client", "exec-if": "which swaync-client",
"exec": "swaync-client -swb", "exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw", "on-click": "sleep 0.1 && swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw", "on-click-right": "swaync-client -d -sw",
"escape": true "escape": true
}, },
@ -232,7 +232,7 @@
"custom/arch": { "custom/arch": {
"format": "  ", "format": "  ",
"tooltip": false, "tooltip": false,
"on-click": "rofi -show drun", "on-click": "sleep 0.1 && rofi -show drun",
"on-click-right": "wleave" "on-click-right": "wleave"
}, },
"custom/notifications": { "custom/notifications": {
@ -251,7 +251,7 @@
"return-type": "json", "return-type": "json",
"exec-if": "which swaync-client", "exec-if": "which swaync-client",
"exec": "swaync-client -swb", "exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw", "on-click": "sleep 0.1 && swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw", "on-click-right": "swaync-client -d -sw",
"escape": true "escape": true
}, },
@ -332,7 +332,7 @@
"custom/arch": { "custom/arch": {
"format": "  ", "format": "  ",
"tooltip": false, "tooltip": false,
"on-click": "rofi -show drun", "on-click": "sleep 0.1 && rofi -show drun",
"on-click-right": "wleave" "on-click-right": "wleave"
}, },
"custom/notifications": { "custom/notifications": {
@ -351,7 +351,7 @@
"return-type": "json", "return-type": "json",
"exec-if": "which swaync-client", "exec-if": "which swaync-client",
"exec": "swaync-client -swb", "exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw", "on-click": "sleep 0.1 && swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw", "on-click-right": "swaync-client -d -sw",
"escape": true "escape": true
}, },