9 lines
166 B
Plaintext
9 lines
166 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
case "$SRANDRD_ACTION" in
|
||
|
"HDMI1 connected") xrandr --output HDMI1 --auto --right-of eDP1;;
|
||
|
"HDMI1 disconnected") xrandr --output HDMI1 --off;;
|
||
|
esac
|
||
|
|