diff options
Diffstat (limited to 'dmenuDic.sh')
-rwxr-xr-x | dmenuDic.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenuDic.sh b/dmenuDic.sh index cbfce71..586d0c5 100755 --- a/dmenuDic.sh +++ b/dmenuDic.sh @@ -2,7 +2,7 @@ # Selects a word from the system's dictionary with the help of dmenu and copies it to clipboard. -word="$(cat /usr/share/dict/cracklib-small | dmenu -i -l 10 -p "Choose a word:")" +word="$(dmenu -i -l 10 -p "Choose a word:" < /usr/share/dict/cracklib-small)" [ "$word" ] || exit 0 echo "$word" | xsel -bi dunstify -t 2000 "Written [$word] into clipboard." |