Files
scripts/screenlayout/crtOnly.sh
T
2026-06-17 21:19:21 -04:00

6 lines
218 B
Bash
Executable File

#!/bin/sh
xrandr --output DisplayPort-2 --off
xrandr --output DisplayPort-1 --off
sleep 2
xrandr --output DisplayPort-1 --mode 1920x1080 --scale-from $(xdpyinfo | grep -oP 'dimensions:\s+\K\d+x\d+') --same-as HDMI-A-0