initial commit

This commit is contained in:
Ray Elliott 2020-02-22 20:24:55 +00:00
commit 7ffe4bea49
1 changed files with 60 additions and 0 deletions

60
xinitrc Normal file
View File

@ -0,0 +1,60 @@
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.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
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
if [ -f "$HOME/.xinitrc.extend" ] ; then
. "$HOME/.xinitrc.extend"
fi
~/.screenlayout/layout.sh
setxkbmap gb
numlockx on
# keypress repeat rate
xset r rate 200 50
# mouse acceleration off
xset m 0 0
# reassign AltGR to Super_L
xmodmap -e "keycode 108 = Super_L"
# disable DPMS and screensaving
xset s off -dpms
unclutter --timeout 1 &
barrier_run &
xbindkeys
~/.fehbg &
exec ~/.bin/start_dwm