summaryrefslogtreecommitdiffstats
path: root/.screenlayout
diff options
context:
space:
mode:
Diffstat (limited to '.screenlayout')
-rwxr-xr-x.screenlayout/doublemonitor.layout.sh2
-rw-r--r--.screenlayout/xorg.conf27
2 files changed, 29 insertions, 0 deletions
diff --git a/.screenlayout/doublemonitor.layout.sh b/.screenlayout/doublemonitor.layout.sh
new file mode 100755
index 0000000..371cba6
--- /dev/null
+++ b/.screenlayout/doublemonitor.layout.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output eDP1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal --output DP1 --off --output DP2 --off --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off --output HDMI-1-0 --mode 1360x768 --pos 0x0 --rotate normal
diff --git a/.screenlayout/xorg.conf b/.screenlayout/xorg.conf
new file mode 100644
index 0000000..1ab5a8c
--- /dev/null
+++ b/.screenlayout/xorg.conf
@@ -0,0 +1,27 @@
+Section "ServerLayout"
+ Identifier "layout"
+ Screen 0 "intel"
+ Inactive "nvidia"
+EndSection
+
+Section "Device"
+ Identifier "nvidia"
+ Driver "nvidia"
+ BusID "PCI:1:0:0" # Sample: "PCI:1:0:0"
+EndSection
+
+Section "Screen"
+ Identifier "nvidia"
+ Device "nvidia"
+EndSection
+
+Section "Device"
+ Identifier "intel"
+ Driver "intel"
+ BusID "PCI:0:2:0" # Sample: "PCI:0:2:0"
+EndSection
+
+Section "Screen"
+ Identifier "intel"
+ Device "intel"
+EndSection