This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/x/xinitrc

27 lines
390 B
Text
Raw Normal View History

2016-01-06 11:55:04 -06:00
#!/bin/sh
2016-01-06 12:46:55 -06:00
if [ -f ~/.fehbg ]; then
~/.fehbg &
2016-01-06 11:55:04 -06:00
fi
2016-01-06 12:46:55 -06:00
source "$DOTFILES_PATH/x/xloadresources"
source "$DOTFILES_PATH/variables.bash"
2016-01-06 11:55:04 -06:00
2016-01-06 12:46:55 -06:00
# keyrepeat settings
xset r rate 300 80 &
2016-01-06 11:55:04 -06:00
2016-01-06 12:46:55 -06:00
# no screen blanking
xset -dpms &
xset s noblank &
xset s off &
2016-01-06 11:55:04 -06:00
# start the bar if we want it
if [ "$BAR_ON_XINIT" -eq 1 ]; then
"$DOTFILES_PATH/wm/extras/bar/start.bash" &
fi
2016-01-06 12:46:55 -06:00
# fire up wm
sxhkd &
2016-01-06 11:55:04 -06:00
exec bspwm