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:
parent
be50dee9af
commit
78ac7b64ba
@ -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
|
Loading…
x
Reference in New Issue
Block a user