swww
swww copied to clipboard
better defaults for when we can't read env vars
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.