浏览代码

Add common apps

Bob Mottram 9 年前
父节点
当前提交
715b0fb975
共有 1 个文件被更改,包括 13 次插入5 次删除
  1. 13
    5
      src/freedombone-controlpanel-user

+ 13
- 5
src/freedombone-controlpanel-user 查看文件

402
         trap "rm -f $data" 0 1 2 5 15
402
         trap "rm -f $data" 0 1 2 5 15
403
         dialog --backtitle $"Freedombone User Control Panel" \
403
         dialog --backtitle $"Freedombone User Control Panel" \
404
                --title $"User Control Panel" \
404
                --title $"User Control Panel" \
405
-               --radiolist $"Choose an operation:" 10 50 3 \
406
-               1 $"Your Encryption Key" off \
405
+               --radiolist $"Choose an operation:" 14 50 7 \
406
+               1 $"Use Email" off \
407
                2 $"Change Email Filtering Rules" off \
407
                2 $"Change Email Filtering Rules" off \
408
-               3 $"Exit" on 2> $data
408
+               3 $"Use Chat" off \
409
+               4 $"Use IRC" off \
410
+               5 $"Your Encryption Key" off \
411
+               6 $"Exit to the command line" off \
412
+               7 $"Log out" on 2> $data
409
         sel=$?
413
         sel=$?
410
         case $sel in
414
         case $sel in
411
             1) exit 1;;
415
             1) exit 1;;
412
             255) exit 1;;
416
             255) exit 1;;
413
         esac
417
         esac
414
         case $(cat $data) in
418
         case $(cat $data) in
415
-            1) menu_encryption_key;;
419
+            1) mutt;;
416
             2) menu_email;;
420
             2) menu_email;;
417
-            3) break;;
421
+            3) toxic;;
422
+            4) irssi;;
423
+            5) menu_encryption_key;;
424
+            6) break;;
425
+            7) logout;;
418
         esac
426
         esac
419
     done
427
     done
420
 }
428
 }