Disable laptop screen output when closing lid

This commit is contained in:
Marko Korhonen 2021-02-27 11:49:59 +02:00
parent 828b889625
commit 9b68f61d88

View file

@ -3,3 +3,7 @@
output * bg $wallpaper fill output * bg $wallpaper fill
output eDP-1 position 0 0 output eDP-1 position 0 0
output HDMI-A-1 position 1920 0 output HDMI-A-1 position 1920 0
# Disable laptop screen when lid is closed
bindswitch --locked lid:on output $laptop disable
bindswitch --locked lid:off output $laptop enable