Files
2026-07-04 14:16:05 +02:00

13 lines
288 B
Bash

#!/bin/bash
# Wait for Wayland socket to be available
echo "Waiting for Wayland display $WAYLAND_DISPLAY..."
while [ ! -e "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do
sleep 1
done
echo "Wayland display found. Starting API server..."
# Start the Node.js API server
exec node server.js