From 0f9a86dece22557b2df15177933e5ff95f4143ba Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Sat, 5 Dec 2020 04:46:39 +0000 Subject: [PATCH] sxmo_appmenu: fixed only one userscript appearing in Scripts menu Signed-off-by: Anjandev Momi --- 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 bcf86f5..ae06881 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -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 )