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/de/xinitrc

33 lines
608 B
Plaintext
Raw Normal View History

2017-02-07 16:16:45 -06:00
#!/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"
2017-02-07 16:16:45 -06:00
# 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
2017-04-14 07:49:01 -05:00
if [ -f "$HOME/.xmodmap" ]; then
xmodmap "$HOME/.xmodmap"
fi
2017-05-03 12:53:16 -05:00
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap
2017-05-05 00:55:43 -05:00
if command -v redshift >/dev/null 2>&1; then
redshift &
fi
pulseaudio --start &
2017-02-07 16:16:45 -06:00
# fire up wm
exec "$DOTFILES_PATH/de/wmstart"