sxmo_appmenu: fixed only one userscript appearing in Scripts menu

Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
Anjandev Momi 2020-12-05 04:46:39 +00:00
parent abd931d9ce
commit 0f9a86dece

View file

@ -28,7 +28,7 @@ programchoicesinit() {
CHOICES="
$(
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}' |
sort -f
)