#!/usr/bin/env bash
# Open the TANINUX GTK settings app. Single-instance (GTK app-id), so a second
# call just focuses the existing window. Runs with system python (needs `gi`,
# which the project venv lacks).
cd "$HOME/projects/taninux" 2>/dev/null || exit 1
# Args are passed through for deep-linking, e.g. `--page panel-dock` (the app may
# ignore unknown args and just open normally — best effort).
setsid -f env PYTHONPATH=src /usr/bin/python -m taninux.gui "$@" >/dev/null 2>&1
