suckless_dictpopup/dictpopup

5 lines
113 B
Plaintext
Raw Normal View History

2023-05-09 10:42:03 +00:00
#!/bin/sh
2023-05-30 21:00:41 +00:00
word=${1:-$(sselp)}
sdcv -n --utf8-output -e "$word" | tail -n +5 | perl -pe 's/<[^>]*>//g' | popup