fix: a link opens lazysecrets with your cache and next to your running instances #71

Merged
keb merged 1 commits from fix/link-handler-xdg-env into main 2026-10-15 10:37:14 +02:00
Owner

The link handler's window starts with an app's minimal environment, and only PATH, the config locations and XDG_CONFIG_HOME/XDG_STATE_HOME were carried into it. With XDG_CACHE_HOME or XDG_RUNTIME_DIR set, lazysecrets opened from a link used another cache file and didn't see running instances' sockets; on Linux, without XDG_DATA_HOME it looked for its desktop entry in the wrong place. handler install now records those three too: run it again to pick them up.

🤖 Generated with Claude Code

The link handler's window starts with an app's minimal environment, and only PATH, the config locations and XDG_CONFIG_HOME/XDG_STATE_HOME were carried into it. With XDG_CACHE_HOME or XDG_RUNTIME_DIR set, lazysecrets opened from a link used another cache file and didn't see running instances' sockets; on Linux, without XDG_DATA_HOME it looked for its desktop entry in the wrong place. `handler install` now records those three too: run it again to pick them up. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
keb added 1 commit 2026-10-15 08:50:58 +02:00
fix: a link opens lazysecrets with your cache and next to your running instances
CI / Checks (pull_request) Successful in 40s
PR title / Conventional title (pull_request) Successful in 2s
d385cc9cd6
The link handler's window starts with an app's minimal environment, and only PATH, the config locations and XDG_CONFIG_HOME/XDG_STATE_HOME were carried into it. With XDG_CACHE_HOME or XDG_RUNTIME_DIR set, lazysecrets opened from a link used another cache file and didn't see running instances' sockets; on Linux, without XDG_DATA_HOME it looked for its desktop entry in the wrong place. `handler install` now records those three too: run it again to pick them up.
keb merged commit bb41767cba into main 2026-10-15 10:37:14 +02:00
keb deleted branch fix/link-handler-xdg-env 2026-10-15 10:37:15 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: keb/lazysecrets#71