fix(scripts): make monitor mode configurable

This commit is contained in:
Oliver Davies 2023-11-21 23:15:06 +00:00
parent 249f05860f
commit ee43ad3333

View file

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