sxmo_appmenu: fixed only one userscript appearing in Scripts menu

Signed-off-by: Anjandev Momi <anjan@momi.ca>
master
Anjandev Momi 4 years ago
parent abd931d9ce
commit 0f9a86dece
  1. 2
      scripts/core/sxmo_appmenu.sh

@ -28,7 +28,7 @@ programchoicesinit() {
CHOICES=" CHOICES="
$( $(
find "$XDG_CONFIG_HOME/sxmo/userscripts" \( -type f -o -type l \) -print0 | find "$XDG_CONFIG_HOME/sxmo/userscripts" \( -type f -o -type l \) -print0 |
xargs -IF basename F | xargs --null -IF basename F |
awk '{printf "%s\t^ 0 ^ $XDG_CONFIG_HOME/sxmo/userscripts/%s \n", $0, $0}' | awk '{printf "%s\t^ 0 ^ $XDG_CONFIG_HOME/sxmo/userscripts/%s \n", $0, $0}' |
sort -f sort -f
) )

Loading…
Cancel
Save