dotfiles/.local/bin/keyboard_toggle

12 lines
165 B
Bash
Executable file

#!/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