graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
905 stars 88 forks source link

Create XDG_RUNTIME_DIR in /tmp if not set #347

Closed morgant closed 1 year ago

morgant commented 1 year ago

This addresses Issue #343 and, per the XDG specification and standard practice, creates and sets XDG_RUNTIME_DIR to /tmp/${USER}-runtime/ if XDG_RUNTIME_DIR is not set. This makes profile-sync-daemon function properly when using a window manager without a desktop environment that sets XDG_RUNTIME_DIR.