fix(scripts): make monitor mode configurable
This commit is contained in:
parent
249f05860f
commit
ee43ad3333
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue