aboutsummaryrefslogtreecommitdiff
path: root/Blista-Kanjo-DYM/dym.sh
diff options
context:
space:
mode:
authorBlista Kanjo2022-09-01 20:03:35 -0400
committerBlista Kanjo2022-09-01 20:03:35 -0400
commita208eadd1289461bab82dd9554a2316898e7d23d (patch)
treedc52940c6271490f2df6bd58f4edf9ec16f7b7df /Blista-Kanjo-DYM/dym.sh
parent77051c67db148b81aadaa562dbbbfff9e5f69bef (diff)
refactor: organized the entire repo | feat: added pomodoro aliases inspired by bashbunni
Diffstat (limited to 'Blista-Kanjo-DYM/dym.sh')
-rwxr-xr-xBlista-Kanjo-DYM/dym.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/Blista-Kanjo-DYM/dym.sh b/Blista-Kanjo-DYM/dym.sh
deleted file mode 100755
index 79374f8..0000000
--- a/Blista-Kanjo-DYM/dym.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-WORD=$(echo "\n" | ~/.local/share/dmenu-custom/dmenu -b -i -p "Check Spelling: ")
-
-[ -z "$WORD" ] && exit
-
-if [ -n "$1" ]; then
- xdotool type "$WORD"
-else
- CORRECTED=$(dym -c $WORD -n 10 | ~/.local/share/dmenu-custom/dmenu -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
-
-