Skip to content

Commit 9ae863b

Browse files
committed
docs(readme): update description of PAGO_SOCK
1 parent 513858a commit 9ae863b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,10 @@ cap_mkdb /etc/login.conf
297297
The default character pattern (regular expression) for random passwords
298298
- `PAGO_SOCK`:
299299
The agent socket path.
300-
Defaults to:
301-
- Linux and BSD: `~/.cache/pago/socket`
302-
- macOS: `~/Library/Caches/pago/socket`
300+
Defaults to a path inside the user runtime directory.
301+
This is `${XDG_RUNTIME_DIR}/pago/socket` or `/run/user/<UID>/pago/socket` on Linux.
302+
If the primary runtime directory is not available, pago tries `/var/run/user/<UID>/` as a fallback.
303+
If that also fails, it uses a user-specific subdirectory in the temporary directory, for example, `/tmp/pago-${USER}/socket`.
303304
- `PAGO_TIMEOUT`:
304305
The default timeout to clear the clipboard
305306

0 commit comments

Comments
 (0)