# Laptop: dim -> lock -> dpms off -> suspend
general {
  lock_cmd = hyprlock
  before_sleep_cmd = hyprlock
  after_sleep_cmd = hyprctl dispatch dpms on
}

# Dim after 4 min
listener {
  timeout = 240
  on-timeout = brightnessctl -s set 10%
  on-resume = brightnessctl -r
}

# Lock after 6 min
listener {
  timeout = 360
  on-timeout = hyprlock
}

# Screen off after 8 min
listener {
  timeout = 480
  on-timeout = hyprctl dispatch dpms off
  on-resume = hyprctl dispatch dpms on
}

# Suspend after 20 min
listener {
  timeout = 1200
  on-timeout = systemctl suspend
}

