diff options
Diffstat (limited to 'dict.sh')
-rwxr-xr-x | dict.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ #!/bin/sh + ## dict.sh - nicely look up words in dictionaries with dictd ## Configuration -dmenu="rofi -dmenu" pager="rofi -location 2 -width -81 -e" @@ -17,13 +17,13 @@ get_dict() { tail -n +2 | \ grep -v "fd" | \ sed 's/^ [a-z0-9-]* *//' | \ - $dmenu -i -p "Dictionary" + dmenu -i -p "Dictionary" } ## Get search term get_search_term() { - term=$(printf "Clipboard\nPrimary selection\n" | $dmenu -i -p "Search term") + term=$(printf "Clipboard\nPrimary selection\n" | dmenu -i -p "Search term") if [ "$term" = "Clipboard" ]; then echo "$(xclip -o -selection clipboard)" elif [ "$term" = "Primary selection" ]; then |