hyprland: prepend PATH, gate idle inhibitors, allow lock restore

- Prepend ~/.local/bin to PATH so user scripts (hyprlock wrapper,
  weather.sh) resolve before system binaries.
- Gate dpms-off and suspend on lock screen running (condition_cmd)
  so idle inhibitors from apps work while unlocked but screen still
  blanks and machine suspends after lock.
- Enable allow_session_lock_restore so a crashed lock client can be
  replaced.
- Temporarily enable debug logging to diagnose re-lock issues.
This commit is contained in:
2026-08-18 08:02:16 -06:00
parent 21dbb16e8b
commit 9e310d2f58
3 changed files with 22 additions and 0 deletions
+6
View File
@@ -94,6 +94,9 @@ hl.config({
mouse_move_focuses_monitor = false,
-- Skip drawing the Hyprland logo in the corner of empty workspaces.
disable_hyprland_logo = true,
-- Allow a new hyprlock to take over the lock after a crash; without this a
-- dead lock client leaves the session permanently locked (no lockscreen).
allow_session_lock_restore = true,
},
})
@@ -103,5 +106,8 @@ hl.config({
hl.config({
debug = {
vfr = true,
-- Temporarily on to diagnose the mystery re-lock (disable_logs=true
-- default hides dispatch exec lines from hyprland.log).
disable_logs = false,
},
})