1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-25 20:47:45 +01:00

togglemonitor: automatically change re-set the background

This commit is contained in:
TiynGER 2021-03-20 14:07:46 +01:00
parent be50dee9af
commit 78ac7b64ba

View File

@ -8,3 +8,4 @@ extern=HDMI2
(xrandr | grep "$extern disconnected")
(xrandr --listactivemonitors | grep $extern) || ((xrandr --output $extern --right-of $intern --auto && setbg) & exit)
(xrandr --listactivemonitors | grep $extern) && xrandr --output $extern --off
setbg