pinwheel: Lock instead of suspend on lid close
Have logind ignore the lid switch and suspend/hibernate keys so the machine stays reachable over SSH with the lid closed. SUPER + SHIFT + x remains the way to suspend; closing the lid now only locks the screen.
This commit is contained in:
2 files changed
+15
No files matched your search
@@ -40,6 +40,14 @@ in
|
||||
enable = true;
|
||||
};
|
||||
|
||||
logind.settings.Login = {
|
||||
HandleLidSwitch = "ignore";
|
||||
HandleLidSwitchExternalPower = "ignore";
|
||||
HandleLidSwitchDocked = "ignore";
|
||||
HandleSuspendKey = "ignore";
|
||||
HandleHibernateKey = "ignore";
|
||||
};
|
||||
|
||||
tlp = {
|
||||
enable = true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user