/run may not exist outside of systemd distributions. Instead of guessing rely on XDG_RUNTIME_DIR and fall back to /tmp. XDG_RUNTIME_DIR is always defined under Wayland, so the fallback would only be triggered if swayr is used from X11 or VT/serial console.timeout_old
parent
955b904df5
commit
71a9c390e7
3 changed files with 9 additions and 23 deletions
Loading…
Reference in new issue