aboutsummaryrefslogtreecommitdiff
path: root/.local/share/scripts/dym.sh
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/scripts/dym.sh')
-rwxr-xr-x.local/share/scripts/dym.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/.local/share/scripts/dym.sh b/.local/share/scripts/dym.sh
deleted file mode 100755
index aef084c..0000000
--- a/.local/share/scripts/dym.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-WORD=$(echo "\n" | ~/.local/bin/dmenu-adwaita -b -i -p "Check Spelling: ")
-
-[ -z "$WORD" ] && exit
-
-if [ -n "$1" ]; then
- xdotool type "$WORD"
-else
- CORRECTED=$(dym -c $WORD -n 10 | ~/.local/bin/dmenu-adwaita -i -b -l 10 -p "Did you mean?:")
- [ -z "$CORRECTED" ] && exit
-
- if [ -n "$1" ]; then
- xdotool type "$CORRECTED"
- else
- echo -n "$CORRECTED" | xclip -selection clipboard
- notify-send "'$CORRECTED' copied to clipboard." &
- fi
-
-fi
-
-