From 3ba56a1a13a749a4294ed27353dee2c3ad69d25f Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 25 Nov 2023 18:10:39 -0500 Subject: [PATCH] Add monitor configuration script --- fix_screens | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 fix_screens diff --git a/fix_screens b/fix_screens new file mode 100755 index 0000000..d4a1a9b --- /dev/null +++ b/fix_screens @@ -0,0 +1,21 @@ +#!/bin/bash + +echo "Setting monitors for triple monitor setup..." + +#turn on the screens +#xrandr --output DisplayPort-1 --auto +#xrandr --output HDMI-0 --auto +#xrandr --output DP-0.2 --auto +#xrandr --output DP-3 --primary + +#arrange them in the 3 monitor config +#xrandr --output DisplayPort-1 --mode 1920x1080 --rate 164.6 +#xrandr --output HDMI-A-0 --left-of DisplayPort-0 --rate 165 --mode 1920x1080 +#xrandr --output DisplayPort-0 --right-of DisplayPort-1 --rate 165 --mode 1920x1080 + +xrandr --output DisplayPort-0 --mode 1920x1080 --rate 164.6 +xrandr --output HDMI-A-0 --left-of DisplayPort-0 --rate 165 --mode 1920x1080 +xrandr --output DisplayPort-1 --right-of DisplayPort-0 --rate 165 --mode 1920x1080 +xrandr --output DisplayPort-2 --rate 165 --mode 1920x1080 + +notify-send "Screens" "Screens reconfigured for triple monitor setup"