aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-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 &