diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-28 14:04:31 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-28 14:04:31 -0400 |
commit | 3a6235af3326589710a496c3d46e7b3241997fe5 (patch) | |
tree | 4af53f20ab3af7c831c888190a3f32de99dced39 | |
parent | e98ff851003409e60b2ca8d4b94fe1cba61c7083 (diff) |
dwmblocks click events for dwmb-layout
-rwxr-xr-x | .local/bin/dwmbar/dwmb-layout | 4 |
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 |