From f88b83fd15b7dec97875ac7b6b4331f16938ec79 Mon Sep 17 00:00:00 2001 From: Julian P Samaroo Date: Fri, 19 Jun 2020 11:27:09 -0500 Subject: [PATCH] sxmo_appmenu: Show symlinked scripts in userscripts menu Signed-off-by: Miles Alan --- scripts/core/sxmo_appmenu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh index d27171e..3c1f75c 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -14,7 +14,7 @@ programchoicesinit() { if echo "$WMCLASS" | grep -i "userscripts"; then # Userscripts menu CHOICES="$( - find "$XDG_CONFIG_HOME/sxmo/userscripts" -type f -print0 | + find "$XDG_CONFIG_HOME/sxmo/userscripts" \( -type f -o -type l \) -print0 | xargs -IF basename F | awk '{printf "%s\t^ 0 ^ $XDG_CONFIG_HOME/sxmo/userscripts/%s \n", $0, $0}' )"