summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-28 14:04:31 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-28 14:04:31 -0400
commit3a6235af3326589710a496c3d46e7b3241997fe5 (patch)
tree4af53f20ab3af7c831c888190a3f32de99dced39 /.local/bin/dwmbar
parente98ff851003409e60b2ca8d4b94fe1cba61c7083 (diff)
dwmblocks click events for dwmb-layout
Diffstat (limited to '.local/bin/dwmbar')
-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