chore(xinitrc): added resolution changes and improved keyboard language toggle

This commit is contained in:
Afonso Franco 2024-09-28 16:43:04 +01:00
parent d628015a91
commit 353b2c15f8
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4

View file

@ -31,9 +31,16 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
setxkbmap -layout us,pt
setxkbmap -option grp:alt_space_toggle
setxkbmap -option caps:escape
. $HOME/.local/bin/desktopres
# Don't forget to run this command
#localectl set-x11-keymap us,pt pc104 , grp:alt_space_toggle,caps:escape
# These are backup
#setxkbmap -layout us,pt
#setxkbmap -option grp:alt_space_toggle
#setxkbmap -option caps:escape
xset r rate 300 40
. $ZDOTDIR/.zshenv