summaryrefslogtreecommitdiffstats
path: root/newword
diff options
context:
space:
mode:
Diffstat (limited to 'newword')
-rwxr-xr-xnewword6
1 files changed, 6 insertions, 0 deletions
diff --git a/newword b/newword
new file mode 100755
index 0000000..778605e
--- /dev/null
+++ b/newword
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+word=$(dmenu -p "Enter Word: " <&-)
+mean=$(dmenu -p "Enter Meaning: " <&-)
+
+echo "$word -> $mean" >> ~/.local/share/vocab/words.txt