From 52797cc7afa6aff2e96d36e808c8f2a339724b40 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Wed, 10 Jul 2024 21:36:55 +0700 Subject: [PATCH] added lisascreens and lisascreenslayout.sh scripts --- bin/lisascreens | 12 ++++++++++++ bin/lisascreenslayout.sh | 2 ++ 2 files changed, 14 insertions(+) create mode 100755 bin/lisascreens create mode 100755 bin/lisascreenslayout.sh diff --git a/bin/lisascreens b/bin/lisascreens new file mode 100755 index 0000000..90fefe7 --- /dev/null +++ b/bin/lisascreens @@ -0,0 +1,12 @@ +#!/bin/sh + +xrandr --output HDMI-0 --mode 1680x1050 + +cvt 1920 1200 60 +xrandr --newmode "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync + +xrandr --addmode DVI-0 1920x1200_60.00 +xrandr --output DVI-0 --mode 1920x1200_60.00 + +~/dotfiles/bin/lisascreenslayout.sh + diff --git a/bin/lisascreenslayout.sh b/bin/lisascreenslayout.sh new file mode 100755 index 0000000..ecf724f --- /dev/null +++ b/bin/lisascreenslayout.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DisplayPort-0 --off --output HDMI-0 --mode 1680x1050 --pos 0x0 --rotate normal --output DVI-0 --mode 1920x1200_60.00 --pos 1680x0 --rotate normal --output DVI-1 --off