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