swww icon indicating copy to clipboard operation
swww copied to clipboard

better defaults for when we can't read env vars

Open LGFae opened this issue 1 year ago • 0 comments

Until now, if we can't read WAYLAND_DISPLAY or XDG_RUNTIME_DIR we simply panic. This commit makes it so that we try wayland-0 and /run/user/UID as a default instead. We make sure to print a warning and will panic later if we can't connect.

Fixes (maybe?) #164.

LGFae avatar Jun 08 '24 18:06 LGFae