From bf5ffe04635753a796fd9f3d39392a15e5542ff2 Mon Sep 17 00:00:00 2001
From: Gregor Kleen <gkleen@yggdrasil.li>
Date: Wed, 15 Jan 2025 23:00:52 +0100
Subject: ...

---
 accounts/gkleen@sif/niri/default.nix | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'accounts/gkleen@sif/niri/default.nix')

diff --git a/accounts/gkleen@sif/niri/default.nix b/accounts/gkleen@sif/niri/default.nix
index aa109616..afedd6e3 100644
--- a/accounts/gkleen@sif/niri/default.nix
+++ b/accounts/gkleen@sif/niri/default.nix
@@ -422,9 +422,11 @@ in {
         "Mod+Shift+E".action = quit;
         "Mod+Shift+Minus" = {
           action = spawn systemctl "suspend";
+          allow-when-locked = true;
         };
         "Mod+Shift+Control+Minus" = {
           action = spawn systemctl "hibernate";
+          allow-when-locked = true;
         };
 
         "XF86MonBrightnessUp" = {
-- 
cgit v1.2.3