git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit494bda37eae85cf071f423835ff8f353c2a87274
parente5aa3584f1
authorLucas Galante <[email protected]>
date2026-06-15 14:24
Remove legacy startup scripts

 start-river.sh | 37 -------------------------------------
 start-rust.sh  | 30 ------------------------------
 2 files changed, 67 deletions(-)

diff --git a/start-river.sh b/start-river.sh
deleted file mode 100755
index 56989ca..0000000
--- a/start-river.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-# Launch river with cce-client on this TTY
-# Usage: Switch to a free TTY, log in, and run this script
- 
-LOGGING=false
-for arg in "$@"; do
-    case "$arg" in
-        --logging) LOGGING=true ;;
-    esac
-done
- 
-export XDG_RUNTIME_DIR=/run/user/$(id -u)
-export WAYLAND_DISPLAY=wayland-1
-export XCURSOR_THEME="crosshair-theme"
-export XCURSOR_SIZE=24
-export XCURSOR_PATH="/home/lsgalante/.local/share/icons:/home/lsgalante/.icons:/usr/share/icons"
- 
-# Create the River init executable (cce-client launch script)
-# This must exist before River starts, and /tmp is cleared on reboot.
-if [ "$LOGGING" = true ]; then
-    cat > /tmp/cce-client-launch-river.sh << 'LAUNCH_EOF'
-#!/bin/sh
-exec /home/lsgalante/.local/bin/cce client 2>/tmp/cce-client-${WAYLAND_DISPLAY}.log
-LAUNCH_EOF
-else
-    cat > /tmp/cce-client-launch-river.sh << 'LAUNCH_EOF'
-#!/bin/sh
-exec /home/lsgalante/.local/bin/cce client
-LAUNCH_EOF
-fi
-chmod +x /tmp/cce-client-launch-river.sh
- 
-if [ "$LOGGING" = true ]; then
-    exec river -c /tmp/cce-client-launch-river.sh 2>/tmp/river-cce-client.log
-else
-    exec river -c /tmp/cce-client-launch-river.sh 2>/dev/null
-fi
diff --git a/start-rust.sh b/start-rust.sh
deleted file mode 100755
index b16d6fc..0000000
--- a/start-rust.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-# Launch cce-server with in-process cce-client
-# Usage: ./start-rust.sh [--logging] [--debug]
- 
-LOGGING=false
-DEBUG=false
-for arg in "$@"; do
-    case "$arg" in
-        --logging) LOGGING=true ;;
-        --debug) DEBUG=true ;;
-    esac
-done
- 
-export XDG_RUNTIME_DIR=/run/user/$(id -u)
-export XCURSOR_THEME="crosshair-theme"
-export XCURSOR_SIZE=24
-export XCURSOR_PATH="/home/lsgalante/.local/share/icons:/home/lsgalante/.icons:/usr/share/icons"
-export WLR_NO_HARDWARE_CURSORS=1
- 
-# Resolve script directory to reference target/release/cce-server reliably
-SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
-if [ "$DEBUG" = true ]; then
-    export WAYLAND_DEBUG=1
-fi
-
-if [ "$LOGGING" = true ] || [ "$DEBUG" = true ]; then
-    exec "$SCRIPT_DIR/target/release/cce" 2>/tmp/river-cce-client.log
-else
-    exec "$SCRIPT_DIR/target/release/cce" --log-level error 2>/dev/null
-fi