10 lines
276 B
Bash
Executable File
10 lines
276 B
Bash
Executable File
#!/bin/env bash
|
|
|
|
# word=$(dmenu -p "Enter Word: " <&-)
|
|
word=$(cat ~/.local/bin/words.txt | dmenu -l 25 -p "Choose Word: ")
|
|
#$BROWSER https://www.merriam-webster.com/dictionary/$word
|
|
if [[ -n $word ]]; then
|
|
$BROWSER "https://www.google.com/search?hl=en&q=define+$word"
|
|
fi
|
|
|