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/xprofile

38 lines
680 B
Text
Raw Normal View History

2017-02-03 14:36:58 -06:00
#!/bin/sh
2017-02-03 22:03:44 -06:00
source "$HOME/.dotfiles/variables.bash"
echo '' > "$HOME/.xstartup_log"
echo "xstartup: $DOTFILES_PATH" >> "$HOME/.xstartup_log"
if [ -f "$HOME/.fehbg" ]; then
"$HOME/.fehbg" &
fi
if [ -f "$DOTFILES_PATH/env/x/xloadresources" ]; then
source "$DOTFILES_PATH/env/x/xloadresources"
2017-02-03 14:36:58 -06:00
fi
2017-02-03 22:03:44 -06:00
if [ -f "$DOTFILES_PATH/variables.bash" ]; then
source "$DOTFILES_PATH/variables.bash"
fi
2017-02-03 14:36:58 -06:00
# keyrepeat settings
xset r rate 250 80 &
# no screen blanking
2017-02-03 22:03:44 -06:00
# xset -dpms &
# xset s noblank &
# xset s off &
2017-02-03 14:36:58 -06:00
if [ -d "/usr/lib/nvidia" ]; then
export LD_LIBRARY_PATH=/usr/lib/nvidia
fi
if [ -f "$HOME/.xprofile.env" ]; then
source "$HOME/.xprofile.env"
fi
2017-02-03 22:03:44 -06:00
unclutter &
compton &