This commit is contained in:
Stephan Raabe
2024-04-01 12:49:13 +02:00
parent d6c2fde672
commit f19d8db9da
3 changed files with 10 additions and 2 deletions

View File

@@ -8,9 +8,16 @@
# Version 2.8.3
# DO NOT REMOVE THE REPLACEMENT COMMENTS
# REQUIRED BY THE ML4W SETTINGS APP
# https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/
# general {
# ignore_dbus_inhibit = false
# }
general {
ignore_dbus_inhibit = false
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
# Screenlock
@@ -18,7 +25,7 @@ listener {
# HYPRLOCK TIMEOUT
timeout = 600
# HYPRLOCK ONTIMEOUT
on-timeout = hyprlock
on-timeout = loginctl lock-session
}
# dpms