diff --git a/etc/systemd/login.conf.d/lidclose.conf b/etc/systemd/login.conf.d/lidclose.conf new file mode 100644 index 00000000..7aecb14e --- /dev/null +++ b/etc/systemd/login.conf.d/lidclose.conf @@ -0,0 +1,6 @@ +[Login] +# Do nothing when lid is closed. I am not sure if "lock" would work with my +# i3 setup, I have my suspend shortcut and I would like the ability to close +# the lid while keeping the system functional. +HandleLidSwitch=ignore +HandleLidSwitchDocked=ignore