some hyprland configs and other stuff

This commit is contained in:
2025-11-20 04:17:46 +03:00
parent 54b708815e
commit b1fd965700
17 changed files with 645 additions and 229 deletions
+23 -21
View File
@@ -6,27 +6,29 @@
suspend_cmd = "systemctl suspend || loginctl suspend";
in {
enable = true;
general = {
lock_cmd = lock_cmd;
before_sleep_cmd = "loginctl lock-session";
after_sleep_cmd = "hyprctl dispatch global quickshell:lockFocus";
inhibit_sleep = 3;
};
settings = {
general = {
lock_cmd = lock_cmd;
before_sleep_cmd = "loginctl lock-session";
after_sleep_cmd = "hyprctl dispatch global quickshell:lockFocus";
inhibit_sleep = 3;
};
listener = [
{
timeout = 300; # 5 mins
on-timeout = "loginctl lock-session";
}
{
timeout = 600; # 10 mins
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
{
timeout = 900; # 15 mins
on-timeout = suspend_cmd;
}
];
listener = [
{
timeout = 300; # 5 mins
on-timeout = "loginctl lock-session";
}
{
timeout = 600; # 10 mins
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
{
timeout = 900; # 15 mins
on-timeout = suspend_cmd;
}
];
};
};
}