refactor(core): transition to WPE

This commit is contained in:
2026-07-06 18:10:12 +02:00
parent 2415502d4b
commit e3b4692802
4 changed files with 92 additions and 144 deletions
+5 -2
View File
@@ -6,10 +6,13 @@ while [ ! -S /tmp/.X11-unix/X0 ]; do
sleep 1
done
echo "X11 display found. Starting API server..."
echo "X11 display found. Initializing D-Bus and starting API server..."
# Disable screen blanking for this display as well just in case
# Disable screen blanking
xset s off -dpms || true
# Initialize a local D-Bus session. This is required for cogctl to communicate with cog.
export DBUS_SESSION_BUS_ADDRESS=$(dbus-daemon --session --print-address --fork)
# Start the Node.js API server
exec node server.js