alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
252 stars 13 forks source link

Feature: option to always disable laptop display when lid is closed #114

Open justinlovinger opened 1 year ago

justinlovinger commented 1 year ago

Meaning, even if no external displays are connected. I noticed this functionality was removed from way-displays, https://github.com/alex-courtis/way-displays/issues/4, I assume under the assumption laptops will sleep when the lid is closed. I have a laptop where I disabled "sleep on lid closed", so disabling the display is desirable.

P.S. the laptop in question is an UMPC able to fit in a pocket, so using it with the lid closed is desirable.

alex-courtis commented 1 year ago

I have a laptop where I disabled "sleep on lid closed", so disabling the display is desirable.

That is indeed a use case I have not considered, we can add it. Perhaps ALWAYS_DISABLE_ON_LID_CLOSE; a better suggestion would be gratefully appreciated.

4 was indeed done only for smoother sleep/wake.