summaryrefslogtreecommitdiffstats
path: root/connect-screen
blob: cc1545d5cc54caa61c0513bdbe503f7cba1108ff (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

xrandr --output VIRTUAL1 --off
xrandr --output HDMI2 --off
xset r rate 250 50

if xrandr | grep -q '^HDMI2 connected'; then
	xrandr --output HDMI2 --right-of eDP1 --auto
fi

xkbcomp .xkbmap "$DISPLAY"