Added some extra tools to the menu

master
Maarten van Gompel 4 years ago
parent 2f62b7c446
commit cf97cd783d
  1. 14
      scripts/core/sxmo_appmenu.sh
  2. 2
      scripts/core/sxmo_common.sh

@ -52,11 +52,14 @@ programchoicesinit() {
CHOICES=$("$XDG_CONFIG_HOME/sxmo/hooks/apps")
else
CHOICES="
$(command -v aerc >/dev/null && echo "$icon_eml Aerc ^ 0 ^ st -e aerc")
$(command -v aerc >/dev/null && echo "$icon_eml Aerc ^ 0 ^ st -e aerc")
$(command -v alpine >/dev/null && echo "$icon_eml Alpine ^ 0 ^ st -e alpine")
$(command -v anbox >/dev/null && echo "$icon_and Anbox ^ 0 ^ anbox")
$(command -v audacity >/dev/null && echo "$icon_mic Audacity ^ 0 ^ audacity")
$(command -v calcurse >/dev/null && echo "$icon_clk Calcurse ^ 0 ^ st -e calcurse")
$(command -v cmus >/dev/null && echo "$icon_mus Cmus ^ 0 ^ st -e cmus")
$(command -v dino >/dev/null && echo "$icon_clk Dino ^ 0 ^ GDK_SCALE=2 dino")
$(command -v dolphin >/dev/null && echo "$icon_dir Dolphin ^ 0 ^ dolphin")
$(command -v emacs >/dev/null && echo "$icon_edt Emacs ^ 0 ^ st -e emacs")
$(command -v epiphany >/dev/null && echo "$icon_glb Epiphany ^ 0 ^ epiphany")
$(command -v firefox >/dev/null && echo "$icon_ffx Firefox ^ 0 ^ firefox")
@ -64,10 +67,17 @@ programchoicesinit() {
$(command -v geany >/dev/null && echo "$icon_eml Geany ^ 0 ^ geany")
$(command -v gedit >/dev/null && echo "$icon_edt Gedit ^ 0 ^ gedit")
$(command -v geeqie >/dev/null && echo "$icon_img Geeqie ^ 0 ^ geeqie")
$(command -v giara >/dev/null && echo "$icon_red Giara ^ 0 ^ giara")
$(command -v gucharmap >/dev/null && echo "$icon_inf Gucharmap ^ 0 ^ gucharmap")
$(command -v hexchat >/dev/null && echo "$icon_msg Hexchat ^ 0 ^ hexchat")
$(command -v htop >/dev/null && echo "$icon_cfg Htop ^ 0 ^ st -e htop")
$(command -v irssi >/dev/null && echo "$icon_msg Irssi ^ 0 ^ st -e irssi")
$(command -v ii >/dev/null && echo "$icon_msg Ii ^ 0 ^ st -e ii")
$(command -v ipython >/dev/null && echo "$icon_trm IPython ^ 0 ^ st -e ipython")
$(command -v kmail >/dev/null && echo "$icon_eml KMail ^ 0 ^ kmail")
$(command -v kontact >/dev/null && echo "$icon_msg Kontact ^ 0 ^ kontact")
$(command -v konversation >/dev/null && echo "$icon_msg Konversation ^ 0 ^ konversation")
$(command -v kwrite >/dev/null && echo "$icon_edt Kwrite ^ 0 ^ kwrite")
$(command -v lf >/dev/null && echo "$icon_dir Lf ^ 0 ^ st -e lf")
$(command -v midori >/dev/null && echo "$icon_glb Midori ^ 0 ^ midori")
$(command -v mutt >/dev/null && echo "$icon_eml Mutt ^ 0 ^ st -e mutt")
@ -88,7 +98,7 @@ programchoicesinit() {
$(command -v telegram-desktop >/dev/null && echo "$icon_tgm Telegram ^ 0 ^ telegram-desktop")
$(command -v thunar >/dev/null && echo "$icon_dir Thunar ^ 0 ^ st -e thunar")
$(command -v thunderbird >/dev/null && echo "$icon_eml Thunderbird ^ 0 ^ thunderbird")
$(command -v totem >/dev/null && echo "$icon_mvi Totem ^ 0 ^ st -e totem")
$(command -v totem >/dev/null && echo "$icon_mvi Totem ^ 0 ^ totem")
$(command -v tuir >/dev/null && echo "$icon_red Tuir ^ 0 ^ st -e tuir")
$(command -v weechat >/dev/null && echo "$icon_msg Weechat ^ 0 ^ st -e weechat")
$(command -v w3m >/dev/null && echo "$icon_glb W3m ^ 0 ^ st -e w3m duck.com")

@ -218,6 +218,8 @@ icon_phx="" #hangup
icon_wn2=""
# shellcheck disable=SC2034
icon_chk=""
# shellcheck disable=SC2034
icon_and=""
#allow the user to override icons
if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/icons" ]; then

Loading…
Cancel
Save