From a723917f14e17e93ad36df718467679299b581ac Mon Sep 17 00:00:00 2001 From: Phil Bajsicki Date: Sat, 15 Apr 2023 17:26:23 +0200 Subject: [PATCH] Add multi-monitor set-up scripts --- .screenlayout/2screenHDMI.sh | 2 ++ .screenlayout/3-laptop-center.sh | 2 ++ .screenlayout/Laptop+144Hz.sh | 2 ++ .screenlayout/dpright.sh | 3 +++ .screenlayout/extru.sh | 2 ++ .screenlayout/hdmi0left.sh | 2 ++ .screenlayout/laptop+dp.sh | 2 ++ .screenlayout/vertical.sh | 2 ++ 8 files changed, 17 insertions(+) create mode 100755 .screenlayout/2screenHDMI.sh create mode 100755 .screenlayout/3-laptop-center.sh create mode 100755 .screenlayout/Laptop+144Hz.sh create mode 100755 .screenlayout/dpright.sh create mode 100755 .screenlayout/extru.sh create mode 100755 .screenlayout/hdmi0left.sh create mode 100755 .screenlayout/laptop+dp.sh create mode 100755 .screenlayout/vertical.sh diff --git a/.screenlayout/2screenHDMI.sh b/.screenlayout/2screenHDMI.sh new file mode 100755 index 0000000..dbc516c --- /dev/null +++ b/.screenlayout/2screenHDMI.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-4 --off --output eDP-1-1 --mode 1920x1080 --pos 1920x565 --rotate normal diff --git a/.screenlayout/3-laptop-center.sh b/.screenlayout/3-laptop-center.sh new file mode 100755 index 0000000..34517bc --- /dev/null +++ b/.screenlayout/3-laptop-center.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --mode 1920x1080 --rate 60 --pos 3840x0 --rotate normal --output DP-3 --off --output HDMI-0 --mode 1920x1080 --rate 60.00 --pos 0x0 --rotate normal --output DP-4 --mode 1920x1080 --rate 165 --pos 1920x0 --rotate normal diff --git a/.screenlayout/Laptop+144Hz.sh b/.screenlayout/Laptop+144Hz.sh new file mode 100755 index 0000000..51e7bda --- /dev/null +++ b/.screenlayout/Laptop+144Hz.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-4 --mode 1920x1080 --pos 1920x600 --rotate normal diff --git a/.screenlayout/dpright.sh b/.screenlayout/dpright.sh new file mode 100755 index 0000000..e7b2c00 --- /dev/null +++ b/.screenlayout/dpright.sh @@ -0,0 +1,3 @@ +#!/bin/sh +xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --mode 1920x1080 --rate 144.00 --pos 1920x0 --rotate normal +xrandr --output DP-3 --off --output HDMI-0 --off --output DP-4 --primary --mode 1920x1080 --pos 0x0 --rotate normal diff --git a/.screenlayout/extru.sh b/.screenlayout/extru.sh new file mode 100755 index 0000000..ca1e7de --- /dev/null +++ b/.screenlayout/extru.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --mode 1920x1080 --rate 144.00 --pos 1920x0 --rotate normal --output DP-3 --off --output HDMI-0 --off --output DP-4 --primary --mode 1920x1080 --pos 0x768 --rotate normal diff --git a/.screenlayout/hdmi0left.sh b/.screenlayout/hdmi0left.sh new file mode 100755 index 0000000..35c9e20 --- /dev/null +++ b/.screenlayout/hdmi0left.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-4 --mode 1920x1080 --pos 1920x0 --rotate normal diff --git a/.screenlayout/laptop+dp.sh b/.screenlayout/laptop+dp.sh new file mode 100755 index 0000000..189134c --- /dev/null +++ b/.screenlayout/laptop+dp.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --mode 1920x1080 --rate 144.00 --pos 0x0 --rotate normal --output DP-3 --off --output HDMI-0 --off --output DP-4 --primary --mode 1920x1080 --pos 1920x650 --rotate normal diff --git a/.screenlayout/vertical.sh b/.screenlayout/vertical.sh new file mode 100755 index 0000000..8a5470f --- /dev/null +++ b/.screenlayout/vertical.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --mode 1920x1080 --rate 144.00 --pos 0x0 --rotate normal --output DP-3 --off --output HDMI-0 --off --output DP-4 --primary --mode 1920x1080 --pos 0x1080 --rotate normal