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/env/x/xinitrc

40 lines
585 B
Plaintext
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
source "$DOTFILES_PATH/env/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 250 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
2016-07-29 11:20:11 -05:00
"$BAR_PATH/start.bash" &
fi
2016-11-05 01:10:21 -05:00
if [ -d "/usr/lib/nvidia" ]; then
export LD_LIBRARY_PATH=/usr/lib/nvidia
fi
export BSPWM_MONITORS=$(bspc query -M)
2016-11-19 14:36:54 -06:00
if [ -f "$HOME/.xinitrc.env" ]; then
source "$HOME/.xinitrc.env"
fi
# fire up wm
unclutter &
sxhkd &
urxvtd &
2016-01-06 11:55:04 -06:00
exec bspwm