summaryrefslogtreecommitdiffstats
path: root/newword
diff options
context:
space:
mode:
authorGravatar biswakalyan890@gamil.com 2022-09-24 12:21:56 +0530
committerGravatar biswakalyan890@gamil.com 2022-09-24 12:21:56 +0530
commitb0cc2df4fcbc856861448069a0802c5a22becf31 (patch)
tree8f121a2aaa187d8266e20df23ad36262ab051866 /newword
script's
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