Added conf file

This commit is contained in:
Ubergeek 2022-02-06 15:05:06 -05:00
parent 300c6e4134
commit c1d1a75a72
1 changed files with 15 additions and 6 deletions

21
menu
View File

@ -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
}