waybar: Reset pacman module on update.
This commit is contained in:
parent
3029ae7879
commit
156f49b40a
|
|
@ -105,7 +105,7 @@
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "$HOME/.config/waybar/scripts/checkupdates",
|
"exec": "$HOME/.config/waybar/scripts/checkupdates",
|
||||||
"signal": 8,
|
"signal": 8,
|
||||||
"on-click": "foot paru; pkill waybar; waybar &"
|
"on-click": "$HOME/.config/waybar/scripts/updatepkgs"
|
||||||
},
|
},
|
||||||
"custom/weather": {
|
"custom/weather": {
|
||||||
"exec": "curl -s 'https://wttr.in/?format=1' | sed 's/ \\+/ /g'",
|
"exec": "curl -s 'https://wttr.in/?format=1' | sed 's/ \\+/ /g'",
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
foot 'paru && echo 0 > /tmp/waybar/module/pacman/count'
|
||||||
|
pkill waybar
|
||||||
|
waybar &
|
||||||
Loading…
Reference in New Issue