Skip to content

Instantly share code, notes, and snippets.

@NeySlim
NeySlim / install-sunshine-wake-monitor-service.sh
Created April 29, 2025 20:33
Sunshine monitor and wake up on incoming connection for multiple DEs
#!/bin/bash
# Define paths
SCRIPT_DIR="$HOME/.local/bin"
SERVICE_DIR="$HOME/.config/systemd/user"
SCRIPT_PATH="$SCRIPT_DIR/monitor-wakeup.sh"
SERVICE_PATH="$SERVICE_DIR/monitor-wakeup.service"
# Create directories
mkdir -p "$SCRIPT_DIR"