summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-layout
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-layout')
-rwxr-xr-x.local/bin/dwmbar/dwmb-layout4
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/dwmbar/dwmb-layout b/.local/bin/dwmbar/dwmb-layout
index 47e2dec..aeca62e 100755
--- a/.local/bin/dwmbar/dwmb-layout
+++ b/.local/bin/dwmbar/dwmb-layout
@@ -2,5 +2,7 @@
echo "  $(cat $HOME/.cache/layout) "
case $BLOCK_BUTTON in
+ 1) layouttoggle ;;
+ 3) notify-send -a " Keyboard" "Click this widget to toggle the keyboard layout between french and english.";;
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
-esac \ No newline at end of file
+esac