all repos — dotfiles @ 3f54ae80c8b51ffbc3ce07fe274a5b36e3079405

linux dotfiles

cleanup xintrc and change XAutorepeat
Prithu Goswami prithugoswami524@gmail.com
Sat, 23 Nov 2019 21:07:18 +0530
commit

3f54ae80c8b51ffbc3ce07fe274a5b36e3079405

parent

66d5a6734176c3dccbc0e6b076bdf7277fc4f74b

2 files changed, 10 insertions(+), 19 deletions(-)

jump to
M .xinitrc.xinitrc

@@ -6,24 +6,10 @@ sysresources=/etc/X11/xinit/.Xresources

sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps - -if [ -f $sysresources ]; then - xrdb -merge $sysresources - -fi - -if [ -f $sysmodmap ]; then - xmodmap $sysmodmap -fi - -if [ -f "$userresources" ]; then - xrdb -merge "$userresources" - -fi - -if [ -f "$usermodmap" ]; then - xmodmap "$usermodmap" -fi +[ -f "$usermodmap" ] && xmodmap "$usermodmap" +[ -f $sysresources ] && xrdb -merge $sysresources +[ -f $sysmodmap ] && xmodmap $sysmodmap +[ -f "$userresources" ] && xrdb -merge "$userresources" if [ -d /etc/X11/xinit/xinitrc.d ] ; then

@@ -32,6 +18,11 @@ [ -x "$f" ] && . "$f"

done unset f fi + +xset r rate 200 60 +setxkbmap -layout 'us,in' -option "grp:alt_caps_toggle" + +touchpad-conf && toggle_touchpad [ -f ~/.xprofile ] && . ~/.xprofile
M i3/configi3/config

@@ -427,7 +427,7 @@

exec --no-startup-id newsboat-cron #exec --no-startup-id pacupdate-cron # Typematic delay and rate (Autorepeating key in X server) -exec --no-startup-id xset r rate 250 50 +exec --no-startup-id xset r rate 200 60 # chaning keyboard layout using Alt+Caps from US to IN exec --no-startup-id setxkbmap -layout us,in -option "grp:alt_caps_toggle" #exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1