Switch from swayidle to hypridle
This commit is contained in:
parent
e304f05642
commit
7d446d026a
4 changed files with 47 additions and 35 deletions
|
|
@ -21,13 +21,13 @@ in {
|
|||
services.hypridle.enable = true;
|
||||
services.hypridle.settings = {
|
||||
general = {
|
||||
before_sleep_cmd = "swaylock -f";
|
||||
before_sleep_cmd = "hyprlock --immediate";
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 120;
|
||||
on-timeout = "swaylock -f --grace=180";
|
||||
on-timeout = "hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 600;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue