pub fn runtime_dir() -> PathBufExpand description
Get the appropriate runtime directory based on execution context
Path selection follows FHS 3.0 and XDG Base Directory specifications:
- Root/system service:
/run/hyprstream/ - User service:
$XDG_RUNTIME_DIR/hyprstream/ - Fallback (no systemd):
/tmp/hyprstream-<uid>/