Hyprland-dotfiles/hypr/hypridle.conf

31 lines
689 B
Plaintext
Raw Normal View History

2024-02-24 11:39:04 +01:00
# _ _ _ _
# | |__ _ _ _ __ _ __(_) __| | | ___
# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \
# | | | | |_| | |_) | | | | (_| | | __/
# |_| |_|\__, | .__/|_| |_|\__,_|_|\___|
# |___/|_|
#
2024-02-23 13:47:01 +01:00
general {
2024-02-28 13:58:33 +01:00
ignore_dbus_inhibit = false
2024-02-23 13:47:01 +01:00
}
2024-02-24 11:39:04 +01:00
# Screenlock
2024-02-23 13:47:01 +01:00
listener {
2024-02-28 13:58:33 +01:00
timeout = 600
2024-02-23 13:47:01 +01:00
on-timeout = hyprlock # command to run when timeout has passed
2024-02-28 13:58:33 +01:00
# on-resume = notify-send "Welcome back to your desktop!"
2024-02-24 11:39:04 +01:00
}
2024-02-28 13:58:33 +01:00
# Suspend/dpms
2024-02-24 11:39:04 +01:00
listener {
2024-02-28 13:58:33 +01:00
timeout = 660
# Laptop Settings
# on-timeout = systemctl suspend
# Desktop Settings
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
2024-02-24 11:39:04 +01:00
}