From a9e2dd58d109f623a40e5a41d1689e56732e5e5e Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Wed, 5 Jun 2024 14:04:11 +0200 Subject: [PATCH] [packages] feat: removed hypridle --- nix/home/hyprland/default.nix | 1 - nix/home/hyprland/hypridle.nix | 44 ------------------------ nix/home/hyprland/hyprland-execution.nix | 3 -- nix/systems/packages.nix | 5 ++- 4 files changed, 2 insertions(+), 51 deletions(-) delete mode 100644 nix/home/hyprland/hypridle.nix diff --git a/nix/home/hyprland/default.nix b/nix/home/hyprland/default.nix index dc99c42..c6e6c6f 100644 --- a/nix/home/hyprland/default.nix +++ b/nix/home/hyprland/default.nix @@ -9,7 +9,6 @@ }; imports = [ - ./hypridle.nix ./hyprland-bindings.nix ./hyprland-environment.nix ./hyprland-execution.nix diff --git a/nix/home/hyprland/hypridle.nix b/nix/home/hyprland/hypridle.nix deleted file mode 100644 index 01cad41..0000000 --- a/nix/home/hyprland/hypridle.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ config, ... }: -{ - - # include hyprland configs - home.file.".config/hypr/hypridle.conf".text = '' - - # general - general { - ignore_dbus_inhibit = false - } - - - # listeners - # notify inactivity - listener { - timeout = 45 - on-timeout = notify-send -t 4000 "Are you there ?" - } - - listener { - timeout = 50 - on-timeout = notify-send -t 4000 "Are you there ??" - } - - listener { - timeout = 55 - on-timeout = notify-send -t 4000 "Apperantly not, lock engaged ! " - } - - - # lock screen - listener { - timeout = 60 - on-timeout = killall hyprlock && hyprlock - } - - - # suspend after 5 minutes - listener { - timeout = 500 - on-timeout = systemctl suspend - } - ''; -} diff --git a/nix/home/hyprland/hyprland-execution.nix b/nix/home/hyprland/hyprland-execution.nix index 3770428..c3b73ad 100644 --- a/nix/home/hyprland/hyprland-execution.nix +++ b/nix/home/hyprland/hyprland-execution.nix @@ -43,9 +43,6 @@ "clipse -clear" "clipse -listen" - # start hypridle - # "hypridle" - # set volume "pw-volume change 80%" diff --git a/nix/systems/packages.nix b/nix/systems/packages.nix index 8fd3797..e20f400 100644 --- a/nix/systems/packages.nix +++ b/nix/systems/packages.nix @@ -23,9 +23,8 @@ adwaita-qt brightnessctl grim - unstable.grimblast - unstable.hypridle - unstable.hyprlock + grimblast + hyprlock imagemagick jq libnotify