Add common apps
This commit is contained in:
parent
c05ef97dcb
commit
715b0fb975
|
@ -402,19 +402,27 @@ function menu_top_level {
|
|||
trap "rm -f $data" 0 1 2 5 15
|
||||
dialog --backtitle $"Freedombone User Control Panel" \
|
||||
--title $"User Control Panel" \
|
||||
--radiolist $"Choose an operation:" 10 50 3 \
|
||||
1 $"Your Encryption Key" off \
|
||||
--radiolist $"Choose an operation:" 14 50 7 \
|
||||
1 $"Use Email" off \
|
||||
2 $"Change Email Filtering Rules" off \
|
||||
3 $"Exit" on 2> $data
|
||||
3 $"Use Chat" off \
|
||||
4 $"Use IRC" off \
|
||||
5 $"Your Encryption Key" off \
|
||||
6 $"Exit to the command line" off \
|
||||
7 $"Log out" on 2> $data
|
||||
sel=$?
|
||||
case $sel in
|
||||
1) exit 1;;
|
||||
255) exit 1;;
|
||||
esac
|
||||
case $(cat $data) in
|
||||
1) menu_encryption_key;;
|
||||
1) mutt;;
|
||||
2) menu_email;;
|
||||
3) break;;
|
||||
3) toxic;;
|
||||
4) irssi;;
|
||||
5) menu_encryption_key;;
|
||||
6) break;;
|
||||
7) logout;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue