From 1b089fc3e9b0971635fdbe9ed28e7691f37c90b9 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Fri, 26 Aug 2022 22:25:12 +0930 Subject: [PATCH] Added scripts used by i3wm --- .local/bin/screen-dual.sh | 2 ++ .local/bin/screen-external.sh | 2 ++ .local/bin/screen-laptop.sh | 2 ++ 3 files changed, 6 insertions(+) create mode 100755 .local/bin/screen-dual.sh create mode 100755 .local/bin/screen-external.sh create mode 100755 .local/bin/screen-laptop.sh diff --git a/.local/bin/screen-dual.sh b/.local/bin/screen-dual.sh new file mode 100755 index 0000000..074e9c6 --- /dev/null +++ b/.local/bin/screen-dual.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output eDP --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DisplayPort-0 --mode 1920x1080 --pos 1920x0 --rotate normal --output DisplayPort-1 --off diff --git a/.local/bin/screen-external.sh b/.local/bin/screen-external.sh new file mode 100755 index 0000000..b07176f --- /dev/null +++ b/.local/bin/screen-external.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output eDP --off --output DisplayPort-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DisplayPort-1 --off diff --git a/.local/bin/screen-laptop.sh b/.local/bin/screen-laptop.sh new file mode 100755 index 0000000..a56c258 --- /dev/null +++ b/.local/bin/screen-laptop.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output eDP --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DisplayPort-0 --off --output DisplayPort-1 --off