10 lines
298 B
Plaintext
Executable File
10 lines
298 B
Plaintext
Executable File
listener {
|
|
timeout = 300
|
|
on-timeout = hyprlock
|
|
}
|
|
|
|
listener {
|
|
timeout = 360
|
|
on-timeout = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --off "$o"; done'
|
|
on-resume = bash -c 'for o in $(hyprctl monitors -j | jq -r ".[].name"); do wlopm --on "$o"; done'
|
|
} |