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:
@@ -2,3 +2,7 @@
|
||||
hl.env("XCURSOR_SIZE", "24")
|
||||
hl.env("QT_QPA_PLATFORMTHEME", "qt5ct") -- change to qt6ct if you have that
|
||||
hl.env("SUDO_ASKPASS", os.getenv("HOME") .. "/.local/bin/sudo-askpass.sh")
|
||||
-- Prepend ~/.local/bin so `hyprlock` (and other user scripts) resolve to the
|
||||
-- crash-guard wrapper instead of /usr/bin/hyprlock. Hyprland's exec/keybind
|
||||
-- PATH is otherwise the system PATH and misses user-local binaries.
|
||||
hl.env("PATH", os.getenv("HOME") .. "/.local/bin:" .. (os.getenv("PATH") or "/usr/bin:/bin"))
|
||||
|
||||
Reference in New Issue
Block a user