Disable laptop screen output when closing lid

This commit is contained in:
Marko Korhonen 2021-02-27 11:49:59 +02:00
parent f2eb0247d6
commit d444812c17
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5

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