summaryrefslogtreecommitdiff
path: root/ar/.local/bin/statusbar/sb-keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.local/bin/statusbar/sb-keyboard')
-rwxr-xr-xar/.local/bin/statusbar/sb-keyboard8
1 files changed, 4 insertions, 4 deletions
diff --git a/ar/.local/bin/statusbar/sb-keyboard b/ar/.local/bin/statusbar/sb-keyboard
index 34fa2bc..2257b1b 100755
--- a/ar/.local/bin/statusbar/sb-keyboard
+++ b/ar/.local/bin/statusbar/sb-keyboard
@@ -3,9 +3,9 @@
# works on any init system
# requirements: dmenu, xorg-setxkbmap
case $BLOCK_BUTTON in
-1) fcitx5-remote -t && kill -44 "$(pidof "${STATUSBAR:-dwmblocks}")" ;;
+1) fcitx5-remote -t && kill -43 "$(pidof "${STATUSBAR:-dwmblocks}")" ;;
2) remaps ;;
-3) notify-send "⌨️ Input Method module" "\- Shows current input method (defalt US)
+3) notify-send "⌨ Input Method module" "\- Shows current input method (defalt US)
- Left click to switch language (EN/KO)
- Middle click to change keyboard" ;;
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
@@ -14,7 +14,7 @@ case $BLOCK_BUTTON in
[ -z "$kb_choice" ] && exit 0
kb="$(echo "$kb_choice" | awk '{print $3}')"
setxkbmap "$kb"
- pkill -RTMIN+10 "${STATUSBAR:-dwmblocks}"
+ pkill -RTMIN+9 "${STATUSBAR:-dwmblocks}"
;;
esac
@@ -28,4 +28,4 @@ hangul) lang="KO" ;;
*) lang="??" ;;
esac
-echo "⌨️$lang"
+echo "⌨$lang"