From 3c29dab3c5668bab7d069a9908f8fa79a739f5e7 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 14 Mar 2024 01:05:09 +0100 Subject: [PATCH] Pause notifications before sleep & unpause on unlock --- home/.config/hypr/hypridle.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/home/.config/hypr/hypridle.conf b/home/.config/hypr/hypridle.conf index d20558d..a3b5f59 100644 --- a/home/.config/hypr/hypridle.conf +++ b/home/.config/hypr/hypridle.conf @@ -1,10 +1,8 @@ general { - #lock_cmd = hyprlock # handled by systemd-lock-handler - unlock-cmd = killall -s SIGUSR1 hyprlock # same as above, but unlock - - before_sleep_cmd = loginctl lock-session && sleep 2 + unlock-cmd = killall -s SIGUSR1 hyprlock && dunstctl set-paused false + before_sleep_cmd = loginctl lock-session && dunstctl set-paused true && sleep 2 ignore_dbus_inhibit = false }