Use autorandr for monitor management
This commit is contained in:
parent
39458cce04
commit
5daa6f85af
3 changed files with 33 additions and 36 deletions
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ueo pipefail
|
||||
|
||||
MONITOR_ID="${MONITOR_ID:-HDMI-1}"
|
||||
MONITOR_MODE="${MONITOR_MODE:-1920x1080}"
|
||||
|
||||
xrandr \
|
||||
--output eDP-1 --mode "${MONITOR_MODE}" \
|
||||
--output "${MONITOR_ID}" --off
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ueo pipefail
|
||||
|
||||
MONITOR_ID="${MONITOR_ID:-HDMI-1}"
|
||||
|
||||
xrandr \
|
||||
--output "${MONITOR_ID}" --mode 2560x1440 \
|
||||
--output eDP-1 --off
|
Loading…
Add table
Add a link
Reference in a new issue