[hyprland] Re-configure swayidle as a service

This commit is contained in:
2025-05-09 10:31:00 -07:00
parent aa2cec9f70
commit e2e32fb6cd

View File

@@ -1,7 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
swayidle # lock on idle
swayosd # volume pop-up
swaynotificationcenter # notifications
hyprpolkitagent # Privilege managent
@@ -12,6 +11,16 @@
xclip
];
services.swayidle = {
enable = true;
events = [
{
event = "before-sleep";
command = "hyprlock";
}
];
};
wayland.windowManager.hyprland = {
enable = true;
plugins = [