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 d96b477 commit c4cf668Copy full SHA for c4cf668
1 file changed
root/usr/bin/webcord
@@ -3,8 +3,10 @@
3
BIN=/usr/bin/webcord-real
4
5
# Wayland check
6
-if pgrep labwc > /dev/null 2>&1; then
7
- WAYLAND="--ozone-platform=wayland"
+if ls -l /dev/dri/* > /dev/null 2>&1; then
+ if pgrep labwc > /dev/null 2>&1; then
8
+ WAYLAND="--ozone-platform=wayland"
9
+ fi
10
fi
11
12
${BIN} --password-store=basic ${WAYLAND} --no-sandbox "$@"
0 commit comments