From 2ea969f1dc4344b5dd46fc38b6167ef91141855b Mon Sep 17 00:00:00 2001 From: Ludwig Lehnert Date: Mon, 21 Apr 2025 12:36:38 +0000 Subject: [PATCH] added some suspend/hibernate magic to hyprland and hypridle --- hypr-hypridle.conf | 2 +- hypr-hyprland.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hypr-hypridle.conf b/hypr-hypridle.conf index b7afa5c..cc4085d 100644 --- a/hypr-hypridle.conf +++ b/hypr-hypridle.conf @@ -23,5 +23,5 @@ listener { listener { timeout = 180 # 3 min - on-timeout = systemctl suspend # suspend pc + on-timeout = systemctl hybrid-sleep # suspend pc } diff --git a/hypr-hyprland.conf b/hypr-hyprland.conf index 8d01c3e..7bcccc5 100644 --- a/hypr-hyprland.conf +++ b/hypr-hyprland.conf @@ -214,4 +214,7 @@ bind = , XF86AudioMute, exec, pactl -- set-sink-mute @DEFAULT_SINK@ toggle bind = , XF86MonBrightnessUp, exec, light -A 5 bind = , XF86MonBrightnessDown, exec, light -U 5 +bind = CONTROL ALT SHIFT, H, exec, systemctl hibernate +bind = CONTROL ALT SHIFT, S, exec, systemctl suspend + bind = , Print, exec, hyprshot -m region --clipboard-only