Former-commit-id: 81ab14b256
This commit is contained in:
Hadi
2024-05-02 15:40:12 +02:00
parent 8e4d046365
commit fa0aa29974
86 changed files with 227 additions and 146 deletions

View File

@@ -0,0 +1,23 @@
{ config, pkgs, ... }: {
home.packages = with pkgs; [ hypridle ];
xdg.configFile."hypr/hypridle.conf".text = ''
general {
ignore_dbus_inhibit = false
}
# Screenlock
listener {
timeout = 600
on-timeout = ${pkgs.hyprlock}/bin/hyprlock
on-resume = ${pkgs.libnotify}/bin/notify-send "Welcome back ${config.home.username}!"
}
# Suspend
listener {
timeout = 660
on-timeout = systemctl suspend
# on-resume = ${pkgs.libnotify}/bin/notify-send "Welcome back to your desktop!"
}
'';
}