diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 902d6ad..691d62d 100755 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -4,5 +4,12 @@ if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then else . "$HOME/.xprofile" fi + +# optimus +if [ -x $(command -v optimus-manager) ]; then + sudo prime-switch + prime-offload +fi + wal -R ssh-agent awesome diff --git a/.scripts/doors/setup b/.scripts/doors/setup index 7517693..f08f527 100755 --- a/.scripts/doors/setup +++ b/.scripts/doors/setup @@ -38,7 +38,7 @@ fi # send it cd && - rsync -azP .doors/ . + rsync -aqzP .doors/ . # cleanup cd &&