Skip to main content

socket_path

Function socket_path 

Source
pub fn socket_path() -> PathBuf
Expand description

Resolve the default socket path: $XDG_RUNTIME_DIR/gwm.sock, falling back to $TMPDIR, then /tmp. XDG_RUNTIME_DIR is unset on macOS, so the fallback chain matters on the dev box and the macOS CI runner.