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

24 lines
364 B
Text
Raw Normal View History

2016-01-06 11:55:04 -06:00
#!/bin/sh
2017-02-03 22:03:44 -06:00
echo "xstartup: XINIT" >> "$HOME/.xstartup_log"
2017-02-03 14:36:58 -06:00
if [ -f "$HOME/.xprofile" ]; then
source "$HOME/.xprofile"
2016-01-06 11:55:04 -06:00
fi
2017-02-03 14:36:58 -06:00
if [ -f "$HOME/.xinitrc.env" ]; then
source "$HOME/.xinitrc.env"
fi
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
# fire up wm
unclutter &
compton &
2016-11-29 14:29:35 -06:00
exec "$DOTFILES_PATH/env/wm/wmstart"
2016-01-06 11:55:04 -06:00