mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 00:00:07 +02:00
Several KDE Plasma screens floating in SteamVR, each a real monitor of any resolution and shape, shown by our own compositor (ft-screens), with a layout, wrist pinning, and visibility modes; a Bluetooth mouse that drives all of SteamVR as a room-anchored 3D pointer (input relay, ft-pointer helper, ft_pointer SteamVR driver); two settings apps; and Bluetooth LE fixes. Installs on the headset with ./install.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
783 B
Bash
Executable File
16 lines
783 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Install (or remove) the Frametop Input Settings menu entry on the Frame.
|
|
# Usage: input-settings/install.sh [install|uninstall]
|
|
set -euo pipefail
|
|
root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
|
|
. "$root/scripts/_env.sh"
|
|
"$root/scripts/sync.sh" >/dev/null
|
|
case ${1:-install} in
|
|
install)
|
|
fill_template "$root/input-settings/ft-input-settings.desktop" |
|
|
on_frame "chmod +x input-settings/ft-input-settings && mkdir -p ~/.local/share/applications && cat > ~/.local/share/applications/ft-input-settings.desktop"
|
|
echo "installed: Frametop Input Settings (Plasma menu, Settings)" ;;
|
|
uninstall) on_frame 'rm -f ~/.local/share/applications/ft-input-settings.desktop; echo removed' ;;
|
|
*) echo "usage: $0 [install|uninstall]" >&2; exit 2 ;;
|
|
esac
|