chore(home/linux/gui/hyprland): remove scripts & unused packages, use hyprlock & hypridle

This commit is contained in:
Ryan Yin
2025-06-01 01:03:56 +08:00
parent 0342d55c4f
commit 4080bad9df
16 changed files with 60 additions and 214 deletions

View File

@@ -0,0 +1,19 @@
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple instances
before_sleep_cmd = loginctl lock-session # lock before suspend
after_sleep_cmd = hyprctl dispatch dpms on # resume dpms after suspend
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests
}
listener {
timeout = 290 # 4 minutes and 50 seconds
on-timeout = pidof hyprlock || hyprlock # lock screen
on-resume = hyprctl dispatch dpms on # monitor wake up
}
listener {
timeout = 300 # 5 minutes
on-timeout = hyprctl dispatch dpms off # screen off
on-resume = hyprctl dispatch dpms on # monitor wake up
}