Sunshine's global_prep_cmd now runs hypr/scripts/SunshineIdle.sh, which holds a systemd idle inhibitor for the length of a stream (hypridle respects it) and unlocks hyprlock if the session was already locked. With that in place hypridle starts at login again. Sunshine's config (sunshine.conf, apps.json, prep scripts) moves into the dotfiles; credentials, logs and state stay local and are gitignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 lines
282 B
Plaintext
6 lines
282 B
Plaintext
audio_sink = sink-sunshine-stereo
|
|
csrf_allowed_origins = https://xol.twhomelab.local:47990
|
|
nvenc_preset = 4
|
|
output_name = HEADLESS-1
|
|
global_prep_cmd = [{"do":"/home/thomas/.config/hypr/scripts/SunshineIdle.sh start","undo":"/home/thomas/.config/hypr/scripts/SunshineIdle.sh stop"}]
|