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

31 lines
603 B
Text
Raw Normal View History

2017-02-07 16:16:45 -06:00
#!/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
echo "xprofile ($DOTFILES_PATH)" >> "$HOME/.xstartup_log"
2017-02-07 16:16:45 -06:00
if [ -f "$DOTFILES_PATH/de/xloadresources" ]; then
source "$DOTFILES_PATH/de/xloadresources"
2017-02-07 16:16:45 -06:00
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