configs_collection/scripts/xrandr_main_hdmi.sh

17 lines
785 B
Bash
Executable file

#!/bin/sh
xrandr --output eDP --primary --mode 1920x1200 --pos -1920x270 --rotate normal \
--output HDMI-A-0 --mode 2560x1440 --pos 0x0 --rotate normal \
--output DisplayPort-1 --off \
--output DisplayPort-0 --off \
--output DisplayPort-2 --off \
--output DisplayPort-3 --off \
--output DisplayPort-4 --off \
--output DisplayPort-5 --off
# HDMI-1 connected 2560x1440+1920+0 (normal left inverted right x axis y axis) 600mm x 340mm
# eDP-1 connected primary 1920x1200+0+349 (normal left inverted right x axis y axis) 340mm x 220mm
# HDMI-1 connected 2560x1440+1920+0
# ─────────────────
# WxH + X + Y
# ↓ ↓
# --mode 2560x1440 --pos 1920x0