From e88acdea18983b4e405098accef9ad0b21e73a4a Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 15 Apr 2019 10:46:09 +0200 Subject: Minor upgrades. --- dmenuDic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dmenuDic.sh') 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." -- cgit v1.2.1