First Commit

This is a first dotfiles config. I think I have a lot more to add tho...
This commit is contained in:
tonitch committed 2023-10-24 23:29:07 +02:00
commit a16d480140
51 files changed
+4974

No files matched your search

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