From 3a6235af3326589710a496c3d46e7b3241997fe5 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 28 Oct 2020 14:04:31 -0400 Subject: dwmblocks click events for dwmb-layout --- .local/bin/dwmbar/dwmb-layout | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.local/bin/dwmbar') 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 -- cgit v1.2.3