sxmo_appmenu: Show symlinked scripts in userscripts menu

Signed-off-by: Miles Alan <m@milesalan.com>
master
Julian P Samaroo 4 years ago committed by Miles Alan
parent c86761334c
commit f88b83fd15
  1. 2
      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}'
)"

Loading…
Cancel
Save