dotfiles/.local/bin/keyboard_toggle

13 lines
171 B
Text
Raw Normal View History

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