sxmo_appmenu: Show symlinked scripts in userscripts menu
Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
parent
c86761334c
commit
f88b83fd15
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ 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 -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}'
|
||||||
)"
|
)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue