# Lid behaviour: suspend on close (on battery or AC), but ignore the lid when
# docked / an external display is connected so closing the laptop with a monitor
# attached keeps the session running. Mainstream-desktop default.
[Login]
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=ignore
