From e0f2eb724245e02cb247b644f0947261d8665318 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 17 Jun 2025 21:57:53 -0400 Subject: remove nix dir and move out all sub modules --- nix/programs/hypr/hypridle.nix | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 nix/programs/hypr/hypridle.nix (limited to 'nix/programs/hypr/hypridle.nix') diff --git a/nix/programs/hypr/hypridle.nix b/nix/programs/hypr/hypridle.nix deleted file mode 100644 index d100291..0000000 --- a/nix/programs/hypr/hypridle.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ config, lib, ... }: - -{ - home-manager.users.${config.user} = { - services.hypridle = { - - enable = true; - - settings = { - general = { - lock_cmd = "pidof hyprlock || hyprlock"; - before_sleep_cmd = "loginctl lock-session"; - after_sleep_cmd = "hyprctl dispatch dpms on"; - ignore_dbus_inhibit = false; - }; - - listener = [ - # dim screen - { - timeout = 150; - on-timeout = "brightnessctl -s set 10"; - on-resume = "brightnessctl -r"; - } - # lock - { - timeout = 300; - on-timeout = "loginctl lock-session"; - } - # turn off screen - { - timeout = 350; - on-timeout = "hyprctl dispatch dpms off"; - on-resume = "hyprctl dispatch dpms on"; - } - ]; - }; - - }; - }; -} - -- cgit v1.2.3-freya