32 lines
608 B
Bash
32 lines
608 B
Bash
#!/bin/sh
|
|
|
|
# as far as I can tell, this file is only executed when you run startx from the
|
|
# TTY
|
|
|
|
echo '' > "$HOME/.xstartup_log"
|
|
echo "xinitrc" >> "$HOME/.xstartup_log"
|
|
|
|
# load our xprofile
|
|
if [ -f "$HOME/.xprofile" ]; then
|
|
source "$HOME/.xprofile"
|
|
fi
|
|
|
|
# allow a per-device config to override options
|
|
if [ -f "$HOME/.env_xinitrc" ]; then
|
|
source "$HOME/.env_xinitrc"
|
|
fi
|
|
|
|
if [ -f "$HOME/.xmodmap" ]; then
|
|
xmodmap "$HOME/.xmodmap"
|
|
fi
|
|
|
|
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap
|
|
|
|
if command -v redshift >/dev/null 2>&1; then
|
|
redshift &
|
|
fi
|
|
|
|
pulseaudio --start &
|
|
|
|
# fire up wm
|
|
exec "$DOTFILES_PATH/de/wmstart"
|