feat: created integration of all hypr ecosystem components
This commit is contained in:
parent
a3dc31db18
commit
7af26d3e3f
7 changed files with 92 additions and 19 deletions
22
home-manager/stvnliu/hypr/hypridle.nix
Normal file
22
home-manager/stvnliu/hypr/hypridle.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{pkgs, ...}:
|
||||
let
|
||||
timeoutSeconds = 60;
|
||||
in
|
||||
{
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
lock_cmd = "hyprlock";
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = timeoutSeconds;
|
||||
on-timeout = "hyprlock";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue