28 lines
603 B
Plaintext
28 lines
603 B
Plaintext
general {
|
|
lock_cmd = pidof hyprlock || hyprlock
|
|
before_sleep_cmd = loginctl lock-session
|
|
after_sleep_cmd = hyprctl dispatch dpms on
|
|
}
|
|
|
|
listener {
|
|
timeout = 240
|
|
on-timeout = /home/carsten/.local/bin/xp-screensaver
|
|
on-resume = pkill -f "[x]p-screensaver" 2>/dev/null || true
|
|
}
|
|
|
|
listener {
|
|
timeout = 600
|
|
on-timeout = pkill -f "[x]p-screensaver" 2>/dev/null || true; loginctl lock-session
|
|
}
|
|
|
|
listener {
|
|
timeout = 720
|
|
on-timeout = hyprctl dispatch dpms off
|
|
on-resume = hyprctl dispatch dpms on
|
|
}
|
|
|
|
listener {
|
|
timeout = 1500
|
|
on-timeout = systemctl suspend
|
|
}
|