Files
dotfiles/.config/hypr/hypridle.conf
T
2024-05-31 14:49:14 +05:30

42 lines
793 B
Plaintext

# _ _ _ _
# | |__ _ _ _ __ _ __(_) __| | | ___
# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \
# | | | | |_| | |_) | | | | (_| | | __/
# |_| |_|\__, | .__/|_| |_|\__,_|_|\___|
# |___/|_|
#
general {
ignore_dbus_inhibit = false
}
# Screenlock
listener {
# HYPRLOCK TIMEOUT
timeout = 180
# HYPRLOCK ONTIMEOUT
on-timeout = hyprlock
}
# screen brightness
listener {
timeout = 240
on-timeout = brightnessctl -s set 10
on-resume = brightnessctl -r
}
# dpms
listener {
# DPMS TIMEOUT
timeout = 300
# DPMS ONTIMEOUT
on-timeout = hyprctl dispatch dpms off
# DPMS ONRESUME
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 600
on-timeout = systemctl suspend # suspend pc
}