xmonad: added eDP-1 blanking

This commit is contained in:
Serĉanto de Scio 2021-06-14 10:42:13 +10:00
parent 987d373e94
commit 8c60553d9e
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -104,6 +104,10 @@ main = do
, ((mod4Mask .|. shiftMask, xK_e), spawn , ((mod4Mask .|. shiftMask, xK_e), spawn
"xrandr --output eDP-1 --primary --auto" "xrandr --output eDP-1 --primary --auto"
) )
-- Turn off the eDP-1 port
, ((mod4Mask .|. controlMask, xK_e), spawn
"xrandr --output eDP-1 --off"
)
-- Turn off the HDMI port -- Turn off the HDMI port
, ((mod4Mask .|. controlMask, xK_h), spawn , ((mod4Mask .|. controlMask, xK_h), spawn
"xrandr --output HDMI-1 --off" "xrandr --output HDMI-1 --off"