From f481387d5c8029cef0d327ffb6d3a444b5a6c7b3 Mon Sep 17 00:00:00 2001 From: Bad Date: Mon, 5 Sep 2022 20:33:22 +0200 Subject: [PATCH] Suspend instead of hibernating --- users/profiles/sway/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/profiles/sway/default.nix b/users/profiles/sway/default.nix index 603c56c..c26ef63 100644 --- a/users/profiles/sway/default.nix +++ b/users/profiles/sway/default.nix @@ -38,7 +38,7 @@ in { command = "dbus-update-activation-environment WAYLAND_DISPLAY"; } ]; keybindings = lib.mkOptionDefault { - "XF86PowerOff" = "exec systemctl hibernate"; + "XF86PowerOff" = "exec systemctl suspend"; }; }; wrapperFeatures.gtk = true;