From f8d1d9481575573baa3aec9dfd68023292d3ca27 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 11 Apr 2022 19:49:43 +0200 Subject: configs update --- .local/bin/setscreens.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to '.local') diff --git a/.local/bin/setscreens.sh b/.local/bin/setscreens.sh index f718261..69a23de 100755 --- a/.local/bin/setscreens.sh +++ b/.local/bin/setscreens.sh @@ -1,4 +1,4 @@ -#!/usr/local/bin/dash +#!/bin/sh if xrandr | grep 'HDMI-1 connected'; then if xrandr | grep 'VGA-1 connected'; then @@ -10,16 +10,6 @@ if xrandr | grep 'HDMI-1 connected'; then xrandr --output HDMI-3 --off xrandr --output DP-2 --off xrandr --output DP-3 --off - else - xrandr --output VGA-1 --off - xrandr --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal - xrandr --output DP-1 --off - xrandr --output LVDS-1 --mode 1366x768 --pos 1920x312 --rotate normal - xrandr --output HDMI-2 --off - xrandr --output HDMI-3 --off - xrandr --output DP-2 --off - xrandr --output DP-3 --off - fi else xrandr --output LVDS-1 --primary --mode 1366x768 --pos 0x0 --rotate normal xrandr --output VGA-1 --off -- cgit v1.2.3