Compare commits

...

2 commits

Author SHA1 Message Date
542ec4a387 Merge remote-tracking branch 'refs/remotes/origin/master' 2022-08-22 10:15:28 +01:00
3288ce8fc7 use shell script to update 2022-08-22 10:14:34 +01:00
2 changed files with 7 additions and 3 deletions

View file

@ -111,7 +111,7 @@
"interval": 3600, "interval": 3600,
"exec": "checkupdates | wc -l", "exec": "checkupdates | wc -l",
"exec-if": "exit 0", "exec-if": "exit 0",
"on-click": "tilix -e 'sudo pacman -Syu'; pkill -SIGRTMIN+8 waybar", "on-click": "tilix -e '/home/guoyi/.config/waybar/update.sh'",
"signal": 8 "signal": 8
}, },
"custom/power":{ "custom/power":{

View file

@ -0,0 +1,4 @@
#!/bin/sh
sudo pacman -Syu
echo Done - Press Enter to exit
read _\