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