sxmo_appmenu: do not excecute userscript unless permission set
Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
parent
660506b1e3
commit
624b702210
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue