1 2 3 4 5 6
#!/bin/sh word=$(dmenu -p "Enter Word: " <&-) mean=$(dmenu -p "Enter Meaning: " <&-) echo "$word -> $mean" >> ~/.local/share/vocab/words.txt