1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

polybar: delay before closing yay window

To give the user enough time to actually read the output
This commit is contained in:
Joe Groocock 2020-03-22 12:35:49 +00:00
parent 96902aee6b
commit 028c549ea9
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -68,7 +68,7 @@ exec = $XDG_CONFIG_HOME/polybar/update.sh
tail = true
format-prefix = " "
format-prefix-foreground = ${colours.icon}
click-left = systemd-run --user --no-block -- i3-sensible-terminal --class floating-term -e sh -c "yay; kill -USR1 %pid%"
click-left = systemd-run --user --no-block -- i3-sensible-terminal --class floating-term -e sh -c "yay; kill -USR1 %pid%; sleep 1"
[module/weather]
type = custom/script