summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenuunicode
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-08 19:06:11 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-08 19:06:11 -0400
commit7f334ff4b902e7cfbc8cb824e59510b752e7a754 (patch)
tree2a03dbd10f2beb3143b58e1f3f5ad457f2c9bd7b /.local/bin/dmenuunicode
parent0948cd95f3dec7694186fb4fbe31a3c46289f7a0 (diff)
downloadeibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.tar.gz
eibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.tar.zst
eibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.zip
oops, sed error
Diffstat (limited to '.local/bin/dmenuunicode')
-rwxr-xr-x.local/bin/dmenuunicode2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmenuunicode b/.local/bin/dmenuunicode
index 6740be4..15799a3 100755
--- a/.local/bin/dmenuunicode
+++ b/.local/bin/dmenuunicode
@@ -5,7 +5,7 @@
# Must have xclip installed to even show menu.
xclip -h 2>/dev/null || exit 1
-chosen=$(cut -d ';' -f1 ${XDG_DATA_HOME:$HOME/.local/share}/larbs/emoji | dmenu -i -l 20 | sed "s/ .*//")
+chosen=$(cut -d ';' -f1 ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/emoji | dmenu -i -l 20 | sed "s/ .*//")
[ "$chosen" != "" ] || exit