aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-15 22:55:59 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-15 22:55:59 +0530
commitb5a09860d332062d05f70f6daf7cf316371896a4 (patch)
treeedef0822da19c690684cbc3b74c7079c1db95c27
parentcc67020f49365170487b70b0409e705cab799591 (diff)
switched to only discrete GPU mode
-rwxr-xr-x.xinitrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
index fed7817..804aa1e 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -18,6 +18,10 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
+# use only discrete GPU
+xrandr --setprovideroutputsource modesetting NVIDIA-0
+xrandr --auto
+
# start some nice programs
lxsession &
nitrogen --restore &