Revert to xclip

This commit is contained in:
GenjiFujimoto 2023-05-11 12:17:45 +02:00
parent a17299a82c
commit ae0e860105

View file

@ -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"