diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-04-15 10:46:09 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-04-15 10:46:09 +0200 |
commit | e88acdea18983b4e405098accef9ad0b21e73a4a (patch) | |
tree | 44ab6d3201ba5b09f07f9921c5d50bb67de3bf62 /dmenuDic.sh | |
parent | fbcbd9d52113eeac7e9a05120396a3a18f73e2d4 (diff) | |
download | scripts-e88acdea18983b4e405098accef9ad0b21e73a4a.tar.gz scripts-e88acdea18983b4e405098accef9ad0b21e73a4a.zip |
Minor upgrades.
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." |