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 4a8f5c3 commit 3d22861Copy full SHA for 3d22861
1 file changed
root/etc/s6-overlay/s6-rc.d/init-selkies-config/run
@@ -1,5 +1,12 @@
1
#!/usr/bin/with-contenv bash
2
3
+# check if underlying system supports wayland binaries
4
+if ! grep -q avx2 /proc/cpuinfo; then
5
+ echo "[ls.io-init] CPU does not support AVX2. Falling back to X11"
6
+ printf "false" > /run/s6/container_environment/PIXELFLUX_WAYLAND
7
+ PIXELFLUX_WAYLAND="false"
8
+fi
9
+
10
# set paths for wayland or xorg
11
if [[ "${PIXELFLUX_WAYLAND}" == "true" ]];then
12
CONF_DIR="$HOME/.config/labwc"
0 commit comments