From 6ac83326ddba3ebcb4866435a6df0ea75483ee03 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Sat, 16 Jan 2021 15:10:36 +0530 Subject: changes --- bin/.bin/disp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/.bin') diff --git a/bin/.bin/disp b/bin/.bin/disp index e6de4a8..89045b2 100755 --- a/bin/.bin/disp +++ b/bin/.bin/disp @@ -1,7 +1,7 @@ #!/bin/sh status=$(cat /sys/class/drm/card0/*HDMI*/status) if [ $status == "connected" ]; then - xrandr --output eDP --primary --mode 1920x1080 --pos 0x1080 --rotate normal --output HDMI-A-0 --mode 1366x768 --pos 0x0 --scale 1.4x1.4 --rotate normal --output DisplayPort-0 --off + xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x1080 --rotate normal --output HDMI-1 --mode 1366x768 --pos 0x0 --scale 1.4x1.4 --rotate normal --output DisplayPort-0 --off else - xrandr --output eDP --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --off + xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off fi -- cgit v1.2.3