Added update option
This commit is contained in:
parent
c3ba8d477e
commit
062e4865f0
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue