chore(repo): stop tracking build artifacts; add README, license metadata, ruff config

Untrack iso/out/ (3.4 GB ISO), packaging/*/pkg/ trees, *.pkg.tar.zst and
tanin-icons/src/ (529 files) and ignore them going forward. Files stay on
disk. NOTE: history still carries ~13 GiB of old ISO blobs — needs a
git filter-repo pass (see README/report).

Also: first README.md, license + license-files in pyproject, minimal ruff
config, demo scripts moved to scripts/demo/.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 21:21:28 +02:00
parent e8d93e6b1d
commit 774809a579
535 changed files with 104 additions and 36530 deletions
+47
View File
@@ -0,0 +1,47 @@
#!/usr/bin/env python3
"""Rendert die NATIVE Shell (ui/shell.py) mit echten Settings-Sektionen.
TANINUX_UI=native PYTHONPATH=src python shell_demo.py [--shot=PATH]
"""
from __future__ import annotations
import os
import subprocess
import sys
os.environ.setdefault("TANINUX_UI", "native")
import gi # noqa: E402
gi.require_version("Gtk", "4.0")
from gi.repository import GLib, Gio # noqa: E402
from taninux.gui import style, ui # noqa: E402
from taninux.gui.pages import SETTINGS_SECTIONS # noqa: E402
SHOT = next((a for a in sys.argv if a.startswith("--shot=")), None)
SHOT = SHOT.split("=", 1)[1] if SHOT else None
class App(ui.Application):
def __init__(self) -> None:
super().__init__(application_id="ch.gabrielevarano.Taninux.ShellDemo",
flags=Gio.ApplicationFlags.DEFAULT_FLAGS)
def do_activate(self) -> None:
style.apply_persisted()
win = ui.MainWindow(self, SETTINGS_SECTIONS, "System Settings")
win.present()
if SHOT:
win.fullscreen()
def _capture() -> bool:
subprocess.run(["grim", SHOT], check=False)
self.quit()
return False
GLib.timeout_add(1000, _capture)
if __name__ == "__main__":
raise SystemExit(App().run([]))