Moved xinputrc to xinitrc

This commit is contained in:
Andrew Scott 2022-12-30 02:52:05 -05:00
parent 7e48e6b08b
commit 0cd92ab9d5
Signed by: a
GPG key ID: 7CD5A5977E4931C1
2 changed files with 8 additions and 19 deletions

View file

@ -2,21 +2,14 @@
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
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
@ -24,15 +17,7 @@ if [ -f $sysmodmap ]; then
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
@ -48,5 +33,10 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
{{ if eq .chezmoi.hostname "helix" -}}
xinput set-prop 13 312 .8
{{ else if eq .chezmoi.hostname "triangulum" -}}
xinput set-prop 10 306 1
{{- end }}
xsetroot -cursor_name left_ptr &
exec bspwm

View file

@ -1 +0,0 @@
xinput set-prop 13 312 .8