9e310d2f58
- 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.
9 lines
581 B
Lua
9 lines
581 B
Lua
-- See https://wiki.hypr.land/Configuring/Advanced-and-Cool/Environment-variables/
|
|
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"))
|