substitute ~/.local/share with $XDG_DATA_HOME

This commit is contained in:
Dennis Lee
2020-04-04 12:55:06 -07:00
parent 2b572b2a89
commit 82cf021b78
10 changed files with 13 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
# Must have xclip installed to even show menu.
xclip -h 2>/dev/null || exit 1
chosen=$(cut -d ';' -f1 ~/.local/share/larbs/emoji | dmenu -i -l 20 | sed "s/ .*//")
chosen=$(cut -d ';' -f1 $XDG_DATA_HOME/larbs/emoji | dmenu -i -l 20 | sed "s/ .*//")
[ "$chosen" != "" ] || exit