aboutsummaryrefslogtreecommitdiff
path: root/yoga/etc/systemd
diff options
context:
space:
mode:
authorCamil Staps2023-02-22 15:23:52 +0100
committerCamil Staps2023-02-22 15:23:52 +0100
commit17b75fa6ef5e19e267135b69d11004a97728d431 (patch)
tree174f8c1848c3d73dfec3c31b45568bd12f46bb41 /yoga/etc/systemd
parenti3: use non-monospace font; add Mod+Shift+H shortcut for hibernation (diff)
Add note about suspend on yoga
Diffstat (limited to 'yoga/etc/systemd')
-rw-r--r--yoga/etc/systemd/logind.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/yoga/etc/systemd/logind.conf b/yoga/etc/systemd/logind.conf
new file mode 100644
index 0000000..7a2b659
--- /dev/null
+++ b/yoga/etc/systemd/logind.conf
@@ -0,0 +1,4 @@
+[Login]
+HandleLidSwitch=suspend-then-hibernate
+HandleLidSwitchExternalPower=suspend-then-hibernate
+HandleLidSwitchDocked=suspend-then-hibernate