diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-15 22:34:56 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-15 22:34:56 -0300 |
| commit | 3b6b7f68c096ffcf485abb37f78a1e1f26149aa9 (patch) | |
| tree | c1371a8e4b890744dc70e8bac2f5ff9fa1c46878 | |
| parent | exrc.conf: Add ruler and showmode configurations (diff) | |
| download | dotfiles-3b6b7f68c096ffcf485abb37f78a1e1f26149aa9.tar.gz dotfiles-3b6b7f68c096ffcf485abb37f78a1e1f26149aa9.tar.xz | |
dmenu-emoji.sh: Fix script to work from any path
| -rwxr-xr-x | scripts/ad-hoc/dmenu-emoji.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/ad-hoc/dmenu-emoji.sh b/scripts/ad-hoc/dmenu-emoji.sh index e03af076..11f8ab48 100755 --- a/scripts/ad-hoc/dmenu-emoji.sh +++ b/scripts/ad-hoc/dmenu-emoji.sh @@ -3,9 +3,11 @@ # Derived from: # https://github.com/porras/dmenu-emoji +LIST="$HOME/dev/libre/dotfiles/scripts/ad-hoc/emoji-list.txt" + dmenu \ -l 20 \ -i \ -p 'Emoji: ' -fn Monospace-18 \ - < emoji-list.txt \ + < "$LIST" \ | awk '{print $(NF)}' | tr -d '\n' | xclip -sel clip |
