From 062e4865f08599a4b88ae60315d587dcdcc1bd0d Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Mon, 7 Sep 2015 07:03:31 +0200 Subject: [PATCH] Added update option --- scripts/cmenu.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/cmenu.sh b/scripts/cmenu.sh index 6d69fed..743ace7 100755 --- a/scripts/cmenu.sh +++ b/scripts/cmenu.sh @@ -23,7 +23,10 @@ require-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) exec urxvt -geometry 50x3 -e ~/.config/scripts/teatimer.sh ;;