From 03f22500657ed69a40d63f5dac1de07720468246 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Wed, 21 Feb 2024 11:05:45 +0100 Subject: [PATCH] Swayidle: increased timeout --- flake.nix | 1 - modules/hm/hyprland.nix | 1 + modules/hm/swayidle.nix | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index cb5adb4..9dceb30 100644 --- a/flake.nix +++ b/flake.nix @@ -174,7 +174,6 @@ { home-manager.users.bertof.imports = [ ./modules/hm/hyprland.nix - ./modules/hm/swayidle.nix ]; } ] ++ homeManagerModules ++ [ diff --git a/modules/hm/hyprland.nix b/modules/hm/hyprland.nix index b201dd7..d74726e 100644 --- a/modules/hm/hyprland.nix +++ b/modules/hm/hyprland.nix @@ -6,6 +6,7 @@ ./nemo.nix ./waybar.nix # ./dunst.nix + ./swayidle.nix ./swaynotificationcenter.nix ./wl_update_background.nix ]; diff --git a/modules/hm/swayidle.nix b/modules/hm/swayidle.nix index b3961c5..f8d8722 100644 --- a/modules/hm/swayidle.nix +++ b/modules/hm/swayidle.nix @@ -9,7 +9,7 @@ ]; timeouts = [ { - timeout = 30; + timeout = 60; command = "${pkgs.brillo}/bin/brillo -e -O; ${pkgs.brillo}/bin/brillo -e -S 30"; resumeCommand = "${pkgs.brillo}/bin/brillo -e -I"; }