Remove userscripts entry from main menu; Let Edit Scripts remain on menu bottom

master
Miles Alan 4 years ago
parent 7978535069
commit d245a004b6
  1. 7
      scripts/core/sxmo_appmenu.sh

@ -33,9 +33,8 @@ programchoicesinit() {
sort -f sort -f
) )
$CHOICES $CHOICES
Edit Scripts ^ 0 ^ sxmo_files.sh $XDG_CONFIG_HOME/sxmo/userscripts Edit Userscripts ^ 0 ^ sxmo_files.sh $XDG_CONFIG_HOME/sxmo/userscripts
" "
CHOICES=$(echo -e "$CHOICES" | sort -f)
fi fi
WINNAME=Scripts WINNAME=Scripts
elif echo "$WMCLASS" | grep -i "applications"; then elif echo "$WMCLASS" | grep -i "applications"; then
@ -360,10 +359,6 @@ programchoicesinit() {
else else
# Default system menu (no matches) # Default system menu (no matches)
CHOICES=" CHOICES="
$(
[ -n "$(ls -A "$XDG_CONFIG_HOME"/sxmo/userscripts)" ] &&
echo 'Userscripts ^ 0 ^ sxmo_appmenu.sh userscripts'
)
Scripts ^ 0 ^ sxmo_appmenu.sh scripts Scripts ^ 0 ^ sxmo_appmenu.sh scripts
Apps ^ 0 ^ sxmo_appmenu.sh applications Apps ^ 0 ^ sxmo_appmenu.sh applications
Files ^ 0 ^ sxmo_files.sh Files ^ 0 ^ sxmo_files.sh

Loading…
Cancel
Save