diff --git a/hosts/fern/hardware.nix b/hosts/fern/hardware.nix index 205da70..c0aefc4 100644 --- a/hosts/fern/hardware.nix +++ b/hosts/fern/hardware.nix @@ -26,11 +26,15 @@ services = { fwupd.enable = true; fprintd.enable = true; - logind.lidSwitch = "ignore"; upower = { enable = true; criticalPowerAction = "Hibernate"; }; + + logind = { + powerKey = "suspend-then-hibernate"; + lidSwitch = "suspend-then-hibernate"; + }; }; systemd.sleep.extraConfig = '' diff --git a/modules/home/de/hyprland/keybinds.nix b/modules/home/de/hyprland/keybinds.nix index 80b02eb..8bb9923 100644 --- a/modules/home/de/hyprland/keybinds.nix +++ b/modules/home/de/hyprland/keybinds.nix @@ -63,7 +63,6 @@ bindrl = SUPER CONTROL, R, exec, reboot bindrl = SUPER CONTROL, H, exec, systemctl hibernate bindrl = SUPER CONTROL, S, exec, systemctl sleep - bindl = , switch:on:Lid Switch, exec, systemctl sleep bindrl = SUPER CONTROL, L, exec, loginctl lock-session bindrl = SUPER CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off