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
2017-02-03 22:03:44 -06:00

38 lines
680 B
Bash

#!/bin/sh
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"
fi
if [ -f "$DOTFILES_PATH/variables.bash" ]; then
source "$DOTFILES_PATH/variables.bash"
fi
# keyrepeat settings
xset r rate 250 80 &
# no screen blanking
# xset -dpms &
# xset s noblank &
# xset s off &
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
unclutter &
compton &