From db8511f00f025ae312888cdb2980fc05c66ed04a Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Mon, 6 Feb 2023 02:35:02 -0500 Subject: [PATCH] alice cooper --- .config/x11/xinitrc | 7 +++++++ .scripts/doors/setup | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 &&