|
|
|
@ -14,11 +14,14 @@ programchoicesinit() { |
|
|
|
|
|
|
|
|
|
if echo "$WMCLASS" | grep -i "userscripts"; then |
|
|
|
|
# Userscripts menu |
|
|
|
|
CHOICES="$( |
|
|
|
|
find "$XDG_CONFIG_HOME/sxmo/userscripts" \( -type f -o -type l \) -print0 | |
|
|
|
|
xargs -IF basename F | |
|
|
|
|
awk '{printf "%s\t^ 0 ^ $XDG_CONFIG_HOME/sxmo/userscripts/%s \n", $0, $0}' |
|
|
|
|
)" |
|
|
|
|
CHOICES=" |
|
|
|
|
$( |
|
|
|
|
find "$XDG_CONFIG_HOME/sxmo/userscripts" \( -type f -o -type l \) -print0 | |
|
|
|
|
xargs -IF basename F | |
|
|
|
|
awk '{printf "%s\t^ 0 ^ $XDG_CONFIG_HOME/sxmo/userscripts/%s \n", $0, $0}' |
|
|
|
|
) |
|
|
|
|
Edit Scripts ^ 0 ^ sxmo_files.sh $XDG_CONFIG_HOME/sxmo/userscripts |
|
|
|
|
" |
|
|
|
|
WINNAME=Userscripts |
|
|
|
|
elif echo "$WMCLASS" | grep -i "scripts"; then |
|
|
|
|
# Scripts menu |
|
|
|
|