dotfiles/.local/bin/keyboard_toggle

13 lines
165 B
Text
Raw Normal View History

2018-12-26 00:40:38 +01:00
#!/bin/bash
if [[ $(setxkbmap -query|grep oss) ]]
then
setxkbmap fr bepo
notify-send 'Clavier Bépo'
else
setxkbmap fr oss
notify-send 'Clavier OSS'
fi
exit 0