aboutsummaryrefslogtreecommitdiff
path: root/src/etc/screenlayouts
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/screenlayouts')
-rwxr-xr-xsrc/etc/screenlayouts/extend-display.sh3
-rwxr-xr-xsrc/etc/screenlayouts/hdmi-only.sh3
-rwxr-xr-xsrc/etc/screenlayouts/laptop-only.sh3
-rwxr-xr-xsrc/etc/screenlayouts/mirror.sh3
4 files changed, 12 insertions, 0 deletions
diff --git a/src/etc/screenlayouts/extend-display.sh b/src/etc/screenlayouts/extend-display.sh
new file mode 100755
index 0000000..18878f3
--- /dev/null
+++ b/src/etc/screenlayouts/extend-display.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Sample for Thinkpad P50s
+xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --mode 1920x1080 --pos 1920x0 --rotate normal
diff --git a/src/etc/screenlayouts/hdmi-only.sh b/src/etc/screenlayouts/hdmi-only.sh
new file mode 100755
index 0000000..d863649
--- /dev/null
+++ b/src/etc/screenlayouts/hdmi-only.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Sample for Thinkpad P50s
+xrandr --output eDP-1 --off --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --primary --mode 1920x1080 --pos 0x0 --rotate normal
diff --git a/src/etc/screenlayouts/laptop-only.sh b/src/etc/screenlayouts/laptop-only.sh
new file mode 100755
index 0000000..9cb9006
--- /dev/null
+++ b/src/etc/screenlayouts/laptop-only.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Sample for Thinkpad P50s
+xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off
diff --git a/src/etc/screenlayouts/mirror.sh b/src/etc/screenlayouts/mirror.sh
new file mode 100755
index 0000000..197d4d1
--- /dev/null
+++ b/src/etc/screenlayouts/mirror.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Sample for Thinkpad P50s
+xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --mode 1920x1080 --pos 0x0 --rotate normal
bgstack15