insanity, trying hyprpaper again

This commit is contained in:
cnst
2024-07-16 11:23:13 +02:00
parent 0751537bcb
commit 9a54eef7e0
5 changed files with 49 additions and 343 deletions

View File

@@ -1,20 +1,17 @@
{
services.hypridle = {
enable = true;
importantPrefixes = [
"$lock_cmd = pidof hyprlock || hyprlock"
"$suspend_cmd = pidof steam || systemctl suspend || loginctl suspend"
];
settings = {
general = {
lock_cmd = "$lock_cmd";
lock_cmd = "hyprlock";
before_sleep_cmd = "$lock_cmd";
after_sleep_cmd = "hyprctl dispatch dpms on";
};
listener = [
{
timeout = 900; # 15mins
on-timeout = "$lock_cmd";
on-timeout = "hyprlock";
}
{
timeout = 1200; # 20mins