add Profanity to app menu; add System Menu to Network menu

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Sam Bowlby 4 years ago committed by Maarten van Gompel
parent e220a30e15
commit bf212e1b7b
  1. 1
      scripts/core/sxmo_appmenu.sh
  2. 9
      scripts/core/sxmo_networks.sh

@ -94,6 +94,7 @@ programchoicesinit() {
$(command -v newsboat >/dev/null && echo "$icon_rss Newsboat ^ 0 ^ st -e newsboat")
$(command -v nnn >/dev/null && echo "$icon_dir Nnn ^ 0 ^ st -e nnn")
$(command -v pidgin >/dev/null && echo "$icon_msg Pidgin ^ 0 ^ pidgin")
$(command -v profanity >/dev/null && echo "$icon_msg Profanity ^ 0 ^ st -e profanity")
$(command -v qutebrowser>/dev/null && echo "$icon_glb Qutebrowser ^ 0 ^ qutebrowser")
$(command -v ranger >/dev/null && echo "$icon_dir Ranger ^ 0 ^ st -e ranger")
$(command -v sacc >/dev/null && echo "$icon_itm Sacc ^ 0 ^ st -e sacc i-logout.cz/1/bongusta")

@ -98,11 +98,14 @@ networksmenu() {
Launch Nmtui
Launch Ifconfig
Scan Wifi Networks
System Menu
Close Menu
" |
awk '{$1=$1};1' | grep '\w' | dmenu -c -p 'Networks' -l 14
)"
if [ "$CHOICE" = "Close Menu" ]; then
if [ "$CHOICE" = "System Menu" ]; then
sxmo_appmenu.sh sys && exit
elif [ "$CHOICE" = "Close Menu" ]; then
exit
elif [ "$CHOICE" = "Add a GSM Network" ]; then
addnetworkgsmmenu
@ -113,9 +116,9 @@ networksmenu() {
elif [ "$CHOICE" = "Launch Nmtui" ]; then
st -e nmtui &
elif [ "$CHOICE" = "Launch Ifconfig" ]; then
st -f Terminus-14 -e watch -n 2 ifconfig &
st -e watch -n 2 ifconfig &
elif [ "$CHOICE" = "Scan Wifi Networks" ]; then
st -f Terminus-14 -e watch -n 2 nmcli d wifi list &
st -e watch -n 2 nmcli d wifi list &
else
toggleconnection "$CHOICE"
fi

Loading…
Cancel
Save