summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-layout
blob: aeca62e43be94a3cbaac1c931b0abcb53dc6ba5e (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

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