From a7158c877e6f9e3a949a4d8ee3b0a50ea67d2198 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Wed, 29 May 2019 20:11:58 +0200 Subject: [PATCH] Update resolution script Signed-off-by: Severin Kaderli --- system/.local/bin/resolution | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/system/.local/bin/resolution b/system/.local/bin/resolution index 3b05b17..0ba54ff 100755 --- a/system/.local/bin/resolution +++ b/system/.local/bin/resolution @@ -15,13 +15,12 @@ xrandr --listproviders | grep -q "modesetting" && xrandr --setprovideroutputsource 1 0 -xrandr \ ---dpi 96 \ ---addmode HDMI1 1280x1024 \ ---addmode HDMI-1-1 1280x1024 \ ---output HDMI1 --mode 1280x1024 --pos 80x56 --rotate normal \ ---output HDMI-1-1 --mode 1280x1024 --pos 80x56 --rotate normal \ ---output eDP1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal \ ---output eDP-1-1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal \ ---output DVI-I-1-1 --mode 1920x1080 --pos 3280x0 --rotate normal \ ---output DVI-I-2-1 --mode 1920x1080 --pos 3280x0 --rotate normal +xrandr --dpi 96 +xrandr --addmode HDMI1 1280x1024 +xrandr --addmode HDMI-1-1 1280x1024 +xrandr --output HDMI1 --mode 1280x1024 --pos 80x56 --rotate normal +xrandr --output HDMI-1-1 --mode 1280x1024 --pos 80x56 --rotate normal +xrandr --output eDP1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal +xrandr --output eDP-1-1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal +xrandr --output DVI-I-1-1 --mode 1920x1080 --pos 3280x0 --rotate normal +xrandr --output DVI-I-2-1 --mode 1920x1080 --pos 3280x0 --rotate normal