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