Revert to xclip
This commit is contained in:
parent
a17299a82c
commit
ae0e860105
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
selection=$(sselp)
|
selection=$(xclip -o)
|
||||||
dict_lookup=$(sdcv -n --utf8-output -e "$selection")
|
dict_lookup=$(sdcv -n --utf8-output -e "$selection")
|
||||||
if echo "$dict_lookup" | grep -F "Nothing similar to"; then
|
if echo "$dict_lookup" | grep -F "Nothing similar to"; then
|
||||||
notify-send "Nothing found for: $selection"
|
notify-send "Nothing found for: $selection"
|
||||||
|
|
Loading…
Reference in a new issue