fix(scripts): make monitor ID configurable

This commit is contained in:
Oliver Davies 2023-11-21 07:53:29 +00:00
parent eeae7c00ef
commit c5ab97079a
2 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,8 @@
set -ueo pipefail
MONITOR_ID="${MONITOR_ID:-HDMI-1}"
xrandr \
--output eDP-1 --mode 1920x1200 \
--output DP-3 --off
--output "${MONITOR_ID}" --off

View file

@ -2,6 +2,8 @@
set -ueo pipefail
MONITOR_ID="${MONITOR_ID:-HDMI-1}"
xrandr \
--output DP-3 --mode 2560x1440 \
--output "${MONITOR_ID}" --mode 2560x1440 \
--output eDP-1 --off