33 lines
643 B
Bash
33 lines
643 B
Bash
#!/bin/sh
|
|
|
|
if [[ -z "$XDG_CONFIG_HOME" ]]; then
|
|
export XDG_CONFIG_HOME="$HOME/.config"
|
|
fi
|
|
if [[ -z "$DOTFILES_PATH" ]]; then
|
|
export DOTFILES_PATH="$XDG_CONFIG_HOME/dotfiles"
|
|
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/.env_xprofile" ]; then
|
|
source "$HOME/.env_xprofile"
|
|
fi
|