We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afbddcb commit 47f7274Copy full SHA for 47f7274
1 file changed
src/utils/clipboard/linux.sh
@@ -26,4 +26,9 @@ elif [ "$XDG_SESSION_TYPE" = "wayland" ]; then
26
echo "no image"
27
exit 1
28
fi
29
+else
30
+ # fallback for unsupported session types
31
+ echo >&2 "Error: Unsupported session type '$XDG_SESSION_TYPE'."
32
+ echo >&2 "Solution: The variable of XDG_SESSION_TYPE must set as 'x11' or 'wayland'."
33
+ exit 1
34
0 commit comments