dotfiles/xorg/.xinitrc

31 lines
596 B
Plaintext
Raw Normal View History

2019-12-23 03:45:41 +00:00
#!/usr/bin/env sh
# Loading the xprofile since display managers also needs the said file.
# This prevents duplicating needed code.
[ -f ~/.xprofile ] && . ~/.xprofile
2019-08-18 00:30:14 +00:00
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
2019-12-23 03:45:41 +00:00
exec bspwm