SmartFox: launcher, Siri Remote driver, Debian image and installer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
8
image/mkosi.extra/usr/bin/sf-launcher-start
Normal file
8
image/mkosi.extra/usr/bin/sf-launcher-start
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Runs inside cage: apply the output mode, then start the launcher.
|
||||
if [ -n "${SMARTFOX_MODE:-}" ]; then
|
||||
OUT=$(wlr-randr | awk 'NR==1 {print $1}')
|
||||
wlr-randr --output "$OUT" --custom-mode "$SMARTFOX_MODE" ||
|
||||
echo "sf-launcher-start: could not set $SMARTFOX_MODE on $OUT"
|
||||
fi
|
||||
exec /usr/bin/sf-launcher --fullscreen --apps /usr/share/smartfox/apps
|
||||
Reference in New Issue
Block a user