From 624b7022102aa38bef5639cc5596f6639fb3156f Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Mon, 8 Jun 2020 20:12:13 -0700 Subject: [PATCH] sxmo_appmenu: do not excecute userscript unless permission set Signed-off-by: Miles Alan --- 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 28494eb..8f4e7ee 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -28,7 +28,7 @@ programchoicesinit() { echo $WMCLASS | grep -i "userscripts" && CHOICES="$( ls -1 $XDG_CONFIG_HOME/sxmo/userscripts | sed 's/ /\\ /' | - awk '{printf "%s\t^ 0 ^ sh $XDG_CONFIG_HOME/sxmo/userscripts/%s \n", $0, $0}' + awk '{printf "%s\t^ 0 ^ $XDG_CONFIG_HOME/sxmo/userscripts/%s \n", $0, $0}' )" && WINNAME=Userscripts && return # Scripts menu