From 8b3d6fa5501f0cdd5b1f759615aa1c17a12cd446 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 17 Apr 2024 23:22:58 -0400 Subject: [PATCH] hypridle: fixed auto suspend script --- homeManagerModules/desktop/hypr/hypridle/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeManagerModules/desktop/hypr/hypridle/default.nix b/homeManagerModules/desktop/hypr/hypridle/default.nix index b8a73da5..96939ee9 100644 --- a/homeManagerModules/desktop/hypr/hypridle/default.nix +++ b/homeManagerModules/desktop/hypr/hypridle/default.nix @@ -46,7 +46,7 @@ listener { timeout = 900 # 15min - on-timeout = grep [[ $(${pkgs.nettools}/bin/hostname) != "mauville" ]] && ${pkgs.systemd}/bin/systemctl suspend # suspend pc unless on mauville + on-timeout = [ $(${pkgs.nettools}/bin/hostname) != "mauville" ] && ${pkgs.systemd}/bin/systemctl suspend # suspend pc unless on mauville } ''; };