From 084b223fc022308c1f29caa698f15b99593ccdd7 Mon Sep 17 00:00:00 2001 From: joy Date: Sat, 10 Aug 2024 13:50:10 +0200 Subject: [PATCH] hypridle dbus --- home/hypridle/default.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/home/hypridle/default.nix b/home/hypridle/default.nix index 7d11563..7d676bc 100644 --- a/home/hypridle/default.nix +++ b/home/hypridle/default.nix @@ -3,13 +3,18 @@ services.hypridle = { enable = true; settings = { - listener = [ - { - timeout = 300; - on-timeout = "hyprctl dispatch dpms off"; - on-resume = "hyprctl dispatch dpms on"; - } - ]; - }; + general = [ + { + ignore_dbus_inhibit = false; + } + ]; + listener = [ + { + timeout = 300; + on-timeout = "hyprctl dispatch dpms off"; + on-resume = "hyprctl dispatch dpms on"; + } + ]; + }; }; }