Python and bash script to change current keyboard layout with notification!
- Python
python3 keyboardswitch.py
- Bash
./keyboardswitch.sh / bash keyboardswitch.sh
bind = $mainMod, K, exec, python3 ~/path/to/keyboardswitch.py
or
bind = $mainMod, K, exec, ~/path/to/keyboardswitch.sh