sxmo_appmenu: Show symlinked scripts in userscripts menu

Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
Julian P Samaroo 2020-06-19 11:27:09 -05:00 committed by Miles Alan
parent c86761334c
commit f88b83fd15

View file

@ -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}'
)"