Something went wrong. Try again.
Rules-based browser launcher for TUI + GNOME. switchyard.aly.codes
tui gnome bowser go
Something went wrong. Try again.
634 B · 19 lines
Shell
at master
1234567891011121314151617181920#!/usr/bin/env bash# SPDX-License-Identifier: GPL-3.0-or-later# Switchyard desktop integration installer — https://github.com/alyraffauf/Switchyard## Usage: curl -fsSL <url> | bash -s -- [--install | --uninstall]## This is a thin entrypoint that downloads and runs the Python installer.# Arguments are forwarded directly to browser-setup/main.py.
set -euo pipefail
if ! command -v python3 &>/dev/null; then echo "error: python3 is required but not installed" >&2 exit 1fi
PY_URL="https://raw.githubusercontent.com/alyraffauf/Switchyard/refs/heads/master/browser-setup/main.py"
curl -fsSL "$PY_URL" | python3 - "$@"