[packages] feat: removed hypridle

This commit is contained in:
Simon Cornet 2024-06-05 14:04:11 +02:00
parent 5cff0c7631
commit a9e2dd58d1
4 changed files with 2 additions and 51 deletions

View File

@ -9,7 +9,6 @@
}; };
imports = [ imports = [
./hypridle.nix
./hyprland-bindings.nix ./hyprland-bindings.nix
./hyprland-environment.nix ./hyprland-environment.nix
./hyprland-execution.nix ./hyprland-execution.nix

View File

@ -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
}
'';
}

View File

@ -43,9 +43,6 @@
"clipse -clear" "clipse -clear"
"clipse -listen" "clipse -listen"
# start hypridle
# "hypridle"
# set volume # set volume
"pw-volume change 80%" "pw-volume change 80%"

View File

@ -23,9 +23,8 @@
adwaita-qt adwaita-qt
brightnessctl brightnessctl
grim grim
unstable.grimblast grimblast
unstable.hypridle hyprlock
unstable.hyprlock
imagemagick imagemagick
jq jq
libnotify libnotify