mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 19:45:40 +00:00
refactor: rename programs folder to modules
This commit is contained in:
parent
e4f3540862
commit
0ccc095d6e
40 changed files with 17 additions and 17 deletions
17
home/toast/modules/hypridle.nix
Normal file
17
home/toast/modules/hypridle.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
};
|
||||
|
||||
listener = [{
|
||||
timeout = 5 * 60;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue