From c0399054bb564bc481aa0228294dc1daafba6f83 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 3 Feb 2020 19:36:05 +0200 Subject: [PATCH] etc/systemd/login.conf.d/lidclose.conf: ignore lid close --- etc/systemd/login.conf.d/lidclose.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 etc/systemd/login.conf.d/lidclose.conf 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