From 663fd512dac2ebba1a2d9c45e37b64a1905deab9 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Thu, 11 Feb 2021 23:48:49 +0100 Subject: [PATCH] fix: device names change after xorg update --- .local/bin/displayselect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/displayselect b/.local/bin/displayselect index 9e0af17..9964766 100755 --- a/.local/bin/displayselect +++ b/.local/bin/displayselect @@ -45,8 +45,8 @@ twoscreen() { # If multi-monitor is selected and there are two screens. --output "$secondary" --"$direction"-of "$primary" --auto --scale 1.2x1.2 --rotate $rotation else xrandr --fb 4224x2376 \ - --output "eDP-1" --mode 1920x1080 --pos 2304x0\ - --output "HDMI-2" --scale 1.2x1.2 --pos 0x0 + --output "eDP1" --mode 1920x1080 --pos 2304x0\ + --output "HDMI2" --scale 1.2x1.2 --pos 0x0 fi fi }