diff --git a/bin/switch-to-laptop-screen b/bin/switch-to-laptop-screen index b19a131..bb91cf7 100755 --- a/bin/switch-to-laptop-screen +++ b/bin/switch-to-laptop-screen @@ -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