blob: a8dbbe3cbef21693b2596560df6b321248a11cd9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
echo " $(cat $HOME/.cache/layout) "
case $BLOCK_BUTTON in
1) layouttoggle ;;
2) remaps && Capslock remaps reinitialized;;
3) notify-send -a " Keyboard" "Click this widget to toggle the keyboard layout between french and english.
Middle click it to remap Capslock to super (and escape when tapped) if it somehow gets unmapped.";;
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
|