Remove userscripts entry from main menu; Let Edit Scripts remain on menu bottom
This commit is contained in:
parent
7978535069
commit
d245a004b6
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue