From d245a004b654c4f4f8872de329f9d4d23677b911 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Fri, 28 Aug 2020 20:30:53 -0500 Subject: [PATCH] Remove userscripts entry from main menu; Let Edit Scripts remain on menu bottom --- scripts/core/sxmo_appmenu.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh index 4dd043b..d37b7f6 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -33,9 +33,8 @@ programchoicesinit() { sort -f ) $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 WINNAME=Scripts elif echo "$WMCLASS" | grep -i "applications"; then @@ -360,10 +359,6 @@ programchoicesinit() { else # Default system menu (no matches) CHOICES=" - $( - [ -n "$(ls -A "$XDG_CONFIG_HOME"/sxmo/userscripts)" ] && - echo 'Userscripts ^ 0 ^ sxmo_appmenu.sh userscripts' - ) Scripts ^ 0 ^ sxmo_appmenu.sh scripts Apps ^ 0 ^ sxmo_appmenu.sh applications Files ^ 0 ^ sxmo_files.sh