Added update option

This commit is contained in:
madmaurice 2015-09-07 07:03:31 +02:00
parent c3ba8d477e
commit 062e4865f0

View file

@ -23,7 +23,10 @@ require-service() {
systemctl is-active --quiet $service || sysctl start $service systemctl is-active --quiet $service || sysctl start $service
} }
case "$(menu timer cpu screenshot wallpaper wicd ncmpcpp ssh zomnet power)" in case "$(menu update timer cpu screenshot wallpaper wicd ncmpcpp ssh zomnet power)" in
update)
exec urxvt -e bash -c "yaourt -Syua"
;;
timer) timer)
exec urxvt -geometry 50x3 -e ~/.config/scripts/teatimer.sh exec urxvt -geometry 50x3 -e ~/.config/scripts/teatimer.sh
;; ;;