From bf793f8ee1e33f61c2209d3fad15aa2d418aab5f Mon Sep 17 00:00:00 2001 From: NullBite Date: Fri, 1 Mar 2024 23:03:39 -0500 Subject: [PATCH] hyprland: disble idle cmd --- home/sessions/hyprland/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/sessions/hyprland/default.nix b/home/sessions/hyprland/default.nix index 4ec3673..12d9eb2 100644 --- a/home/sessions/hyprland/default.nix +++ b/home/sessions/hyprland/default.nix @@ -18,7 +18,8 @@ let pkill = "${pkgs.procps}/bin/pkill"; lock-cmd = "${swaylock}"; - idle-cmd = "${swayidle} -w timeout 315 '${lock-cmd}' timeout 300 '${hyprctl} dispatch dpms off' resume '${hyprctl} dispatch dpms on' before-sleep '${lock-cmd}' lock '${lock-cmd}' unlock '${pkill} -USR1 -x swaylock'"; + # idle-cmd = "${swayidle} -w timeout 315 '${lock-cmd}' timeout 300 '${hyprctl} dispatch dpms off' resume '${hyprctl} dispatch dpms on' before-sleep '${lock-cmd}' lock '${lock-cmd}' unlock '${pkill} -USR1 -x swaylock'"; + idle-cmd = "${pkgs.coreutils}/bin/true"; hypr-dispatcher-package = pkgs.callPackage ./dispatcher { hyprland = hyprland-pkg; }; hypr-dispatcher = "${hypr-dispatcher-package}/bin/hypr-dispatcher";