Compare commits
2 Commits
300c6e4134
...
2ff847d5b4
Author | SHA1 | Date |
---|---|---|
Ubergeek | 2ff847d5b4 | |
Ubergeek | c1d1a75a72 |
21
menu
21
menu
|
@ -8,8 +8,17 @@
|
|||
# Licensed under the AGPL 3 or later.
|
||||
#
|
||||
##############################################################################
|
||||
if [ -f ~/menushell.conf ]
|
||||
then
|
||||
. ~/menushell.conf
|
||||
fi
|
||||
|
||||
if [ -f ./menushell.conf ]
|
||||
then
|
||||
. ./menushell.conf
|
||||
fi
|
||||
|
||||
|
||||
. ~/menushell.conf
|
||||
|
||||
tmpfile="/home/`whoami`/menu.tmp"
|
||||
|
||||
|
@ -34,29 +43,29 @@ quit () {
|
|||
}
|
||||
|
||||
email () {
|
||||
alpine
|
||||
$mailer
|
||||
return
|
||||
}
|
||||
|
||||
wiki () {
|
||||
elinks https://wiki.thunix.net
|
||||
$browser https://wiki.thunix.net
|
||||
return
|
||||
}
|
||||
|
||||
browser () {
|
||||
elinks https://thunix.net
|
||||
$browser https://thunix.net
|
||||
return
|
||||
}
|
||||
|
||||
chat () {
|
||||
weechat
|
||||
$chat
|
||||
return
|
||||
}
|
||||
|
||||
shellout () {
|
||||
clear
|
||||
echo "Just type 'exit' to return to the menu."
|
||||
bash -il
|
||||
$cli
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
export browser="/usr/bin/elinks"
|
||||
export mailer="/usr/bin/alpine"
|
||||
export cli="/bin/bash -il"
|
||||
export chat="/usr/bin/weechat"
|
Loading…
Reference in New Issue