wok-current diff karmen/stuff/karmen-conf @ rev 18127
marco: update deps
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jun 11 13:30:44 2015 -0300 (2015-06-11) |
parents | 08943259e85e |
children |
line diff
1.1 --- a/karmen/stuff/karmen-conf Tue May 05 02:12:07 2009 +0200 1.2 +++ b/karmen/stuff/karmen-conf Thu Jun 11 13:30:44 2015 -0300 1.3 @@ -11,35 +11,31 @@ 1.4 --title " Karmen settings " \ 1.5 --menu "" 15 70 5 \ 1.6 "autostart" "Autostarted applications" \ 1.7 -"wbar" "Wbat icons panel configuration" \ 1.8 -"quit" "Exit Karmen configuration" \ 1.9 +"exitwm" "Exit Karmen session" \ 1.10 +"reboot" "Reboot system" \ 1.11 +"quit" "Quit Karmen configuration" \ 1.12 2>&1 1>&3` 1.13 retval=$? 1.14 exec 3>&- 1.15 + 1.16 case $retval in 1.17 - 0) 1.18 - continue ;; 1.19 - 1) 1.20 - echo "Cancel pressed." 1.21 - exit 0 ;; 1.22 + 0) continue ;; 1.23 + 1) echo "Cancel pressed." && exit 0 ;; 1.24 255) 1.25 if test -n "$value"; then 1.26 echo "$value" 1.27 else 1.28 - echo "ESC pressed." 1.29 - exit 0 1.30 + echo "ESC pressed." && exit 0 1.31 fi ;; 1.32 esac 1.33 1.34 case $value in 1.35 autostart) 1.36 nano $CONFIG_DIR/autostart.sh 1.37 - exec $PWD/karmen-dialog ;; 1.38 - wbar) 1.39 - nano $CONFIG_DIR/wbar 1.40 - exec $PWD/karmen-dialog ;; 1.41 - quit) 1.42 - continue ;; 1.43 + exec $(basename $0) ;; 1.44 + exitwm) killall karmen ;; 1.45 + reboot) reboot || reboot -f ;; 1.46 + quit) continue ;; 1.47 esac 1.48 1.49 exit 0