[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 490c4e3bb8
commit 178339e02c
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54

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