Files
saphidandClaude Opus 5.5 a7ae41b94f Verify against a real Frame; switch clipboard to Klipper
The headset desktop is nested Plasma in gamescope with no wl-copy/xclip,
so paste-to-frame.sh now calls Klipper over plasmashell's D-Bus bus.
connect.sh, push.sh, paste-to-frame.sh and install-apps.sh were exercised
on SteamOS 0.3.0 (build 20260922); docs record what was confirmed.
Cross-provider review skipped at Alex's request (Astra quota exhausted).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 19:35:16 +10:00

19 lines
613 B
Bash
Executable File

#!/usr/bin/env zsh
# Mac-side: copy a file or folder to the Steam Frame.
#
# Verified on a Frame 2026-09-25.
#
# Usage: scripts/push.sh SOURCE [REMOTE_DEST] (default dest: ~/Downloads/)
set -euo pipefail
FRAME_ALIAS=${FRAME_ALIAS:-frame}
src=${1:?usage: push.sh SOURCE [REMOTE_DEST]}
dest=${2:-Downloads/}
if ssh "$FRAME_ALIAS" 'command -v rsync >/dev/null'; then
rsync -a --progress "$src" "$FRAME_ALIAS:${(q)dest}" # remote shell parses the path
else
print -u2 "rsync not found on the Frame; falling back to scp"
scp -r "$src" "$FRAME_ALIAS:$dest" # modern scp uses SFTP: no remote shell parsing
fi