# Same as cn-arch: lock at 10 min, screen off at 15 min.

listener {
  timeout = 300
  on-timeout = brightnessctl --save && brightnessctl set 25%
  on-resume = brightnessctl --restore
}

general {
  lock_cmd = hyprlock
  before_sleep_cmd = hyprlock
  after_sleep_cmd = hyprctl dispatch dpms on
}

# Lock after 10 minutes
listener {
  timeout = 600
  on-timeout = hyprlock
}

# DPMS off after 15 minutes (wakes on input)
listener {
  timeout = 900
  on-timeout = hyprctl dispatch dpms off
  on-resume = hyprctl dispatch dpms on
}

