fatass commit for the rice
This commit is contained in:
parent
266d1b3deb
commit
89ac1c676d
28 changed files with 1101 additions and 587 deletions
24
modules/nixos/programs/desktop/niri/hypridle.nix
Normal file
24
modules/nixos/programs/desktop/niri/hypridle.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
home-manager.users.wo2w.services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
lock_cmd = "hyprlock";
|
||||
before_sleep_cmd = "hyprlock";
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 900;
|
||||
on-timeout = "systemctl sleep";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue