adding bin files

This commit is contained in:
2023-04-18 09:55:20 +02:00
parent 363dc6c974
commit 1dc6b93bd5
24 changed files with 531 additions and 0 deletions

14
bin/switchkblayout Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
key=`setxkbmap -query | grep layout | awk '{print $2}'`
if [[ $key == "fr" ]]; then
setxkbmap us
elif [[ $key == "us" ]]; then
setxkbmap dvorak
else
setxkbmap fr
fi
key=`setxkbmap -query | grep layout | awk '{print $2}'`
notify-send "Keyboard Layout: $key"