dotfiles/.config/xmonad/change-kb.sh

9 lines
106 B
Bash
Raw Permalink Normal View History

2022-10-14 22:58:28 +01:00
#!/bin/bash
2022-10-14 14:01:46 +01:00
if setxkbmap -query | grep layout | grep -q "us";
then
setxkbmap pt
else
setxkbmap us
fi