Commit Graph

23 Commits

Author SHA1 Message Date
karim e8d93e6b1d gui: native libadwaita-free UI backend + dark shell; packaging/iso updates
- gui/ui: native GTK4 widget vocabulary (.tn-*) behind the ui.* seam,
  default backend now native; style_apple.css design language
- shell: sidebar/topbar/content all #0f0f0f in dark (matches eww panels)
- new pages: wine, online_accounts
- packaging: tanin-icons (accent folder theme), tanin-calendar, gtklock,
  taninux-gtk3-theme, flatpak install handler
- iso/distro: profile + manifest tweaks (ISO binary not included)
2026-06-25 00:40:21 +02:00
karim 04cadb4e35 packaging: daily automated AUR rebuild for the [tanin] repo
A systemd user timer (daily) drives aur-autoupdate.sh, which rebuilds the
AUR-only deps (eww-git, tiramisu-git, waypaper, calamares, …) in a clean
devtools chroot and refreshes tanin.db. Non -git packages are skipped when
their AUR version is unchanged (RPC check) so heavy ones like calamares
aren't rebuilt for nothing; -git packages rebuild every run.

Unattended: a sudoers drop-in grants passwordless access to the chroot
helpers. Publishing is a TANIN_PUBLISH_CMD hook (no-op until hosting is
wired) — the job refreshes the local repo dir for now.

One-time: aur-autoupdate.sh setup (installs devtools, makes the chroot).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 21:34:18 +02:00
karim 932aa9035a tanin-eww: niri focus-ring tracks the TANINUX accent
The focus-ring active-color was a static Fuji violet (#a39ec4); it now
follows gui.json's accent_hex, lightened 8% to match eww's $accent. The
scripts/accent.sh apply step patches the marked active-color line in
~/.config/niri/config.kdl (niri live-reloads on save); the line carries a
managed-by marker, anchored at line start so it never matches inactive-color.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 20:38:18 +02:00
karim c5b0848a50 tanin-icons: accent-reactive folder icon theme (replaces Papirus)
New package packaging/tanin-icons/ generating 5 thin themes Tanin-<accent>
that inherit Adwaita and recolour only the folder/place ramp to the muted
Fuji accent (HSL shift keeping per-stop lightness; 16px rasterised so the
size-exact inherited blue PNG can't win).

- style.py: _set_gsettings now also sets icon-theme=Tanin-<accent_key> so
  folders recolour live with the accent.
- desktop.py: hide Tanin-* from the manual icon picker (accent-driven, a
  manual pick would be overridden on the next accent change).
- panel.py: pin-add icon hint Papirus -> Adwaita.
- build/finish-tanin-repo.sh: tanin-icons in OWN_SIMPLE; AUR rebuilds add
  librewolf-bin, arch-update, timeshift-autosnap, xdg-terminal-exec, paru.
- camel.toml: icon_theme=Tanin-<accent>, icons=[adwaita], tanin-icons own
  package + the new rebuilt_aur entries.

Deliberately excludes unrelated in-flight work (calendar/gtklock/
online-accounts/overview-backdrop) still uncommitted in the tree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 20:41:44 +02:00
karim ca94a1828a iso: launch installer via greetd initial_session (proper seat for cage)
seatd alone didn't fix it (getty-autologin gives cage no logind seat; 5x respawn
then systemd start-limit -> black). Switch to greetd's initial_session, which
creates a real logind session WITH A SEAT and auto-runs cage+calamares (no login
prompt). Calamares' striplive restores the tanin-greet greetd config on the target.
Drop the getty-autologin + /root/.zprofile hack.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 02:43:09 +02:00
karim a1bd74ccd2 iso: cage needs a seat -> add+enable seatd (+ qt6-wayland for calamares)
VM test showed: boot menu (TANINUX branding ✓), root autologin ✓, motd ✓,
then cage failed: libseat 'Could not connect to /run/seatd.sock'. The getty
autologin has no logind seat, so run seatd in the live (disabled on the target,
where greetd uses logind). qt6-wayland so calamares (Qt) runs under cage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 02:30:41 +02:00
karim 1b81ad4914 iso: fresh work dir each build (avoid stale-stage reuse) + modern bootmodes
mkarchiso reuses completed stages in the work dir -> a 'too short' build that
ships a stale airootfs. bootstrap now 'rm -rf' the work dir first. Also switch
profiledef bootmodes to the non-deprecated names (bios.syslinux, uefi.systemd-boot).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 02:09:54 +02:00
karim d7691994db iso: fix installer autostart (root uses zsh) + TANINUX branding
- /root/.zprofile launches tanin-installer on tty1 (root shell is zsh, so
  .bash_profile was ignored); striplive removes .zprofile on the target
- profiledef: MERGE releng's file_permissions (lost .automated_script.sh +x ->
  the 'permission denied' message) + keep our entries
- branding: TANINUX os-release/hostname/motd; bootstrap rebrands the boot menus

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 02:04:59 +02:00
karim 4389590294 iso: resolve jack/iptables provider prompts; calamares + waypaper deps in [tanin]
- packages.x86_64: add pipewire-jack + iptables (non-interactive provider choice)
- [tanin] now also hosts calamares, python-screeninfo, python-imageio-ffmpeg
  (waypaper's AUR deps) — all built without sudo

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 01:48:16 +02:00
karim ce5d8de7ad iso: calamares from [tanin] (AUR rebuild); document the build step
- packages.x86_64: calamares enabled (served from [tanin])
- finish/build-tanin-repo.sh: add calamares to the AUR rebuild list
- BUILD.md + manifest: calamares rebuild step + status

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 01:29:54 +02:00
karim c7039f13b9 iso: fix packages.x86_64 (no inline comments; gstreamer-vaapi -> gst-plugin-va)
Inline comments after a package name broke kitty/flatpak (became invalid
names with trailing whitespace). gstreamer-vaapi was removed from Arch.
calamares is AUR-only -> commented pending a [tanin] rebuild decision.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 22:34:35 +02:00
karim 4722294c24 manifest: rebuilt_aur reflects live names (eww-git, tiramisu-git, waypaper) + paru TODO
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:56:28 +02:00
karim ac9b94b0b2 Complete archiso/Calamares profile scaffold (iso/)
- Calamares modules: unpackfs (clone), partition/mount/fstab (btrfs subvols),
  bootloader (systemd-boot + quiet splash), packages (strip live), services
  (greetd), shellprocess (snapper, flathub, strip-live), branding (Fuji)
- bootstrap-profile.sh: releng base + linux-zen swap + overlay our deltas
- BUILD.md: build steps, decisions, and honest open items (needs build-test)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:55:46 +02:00
karim d32383ee6c Fonts + kitty config in the desktop
- tanin-eww: ship Fuji kitty.conf into skel (~/.config/kitty)
- add missing font deps to tanin-eww + tanin-desktop:
  ttc-iosevka-aile (bar's 'Iosevka Aile' UI font) + ttf-nerd-fonts-symbols
  ('Symbols Nerd Font' icon fallback). ttf-iosevka-nerd covers kitty.
- start archiso profile under iso/ (releng-base + overrides; systemd-boot,
  btrfs+snapshots, plymouth, linux-zen, Calamares clone-install)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:51:25 +02:00
karim 3757b13800 tanin-greet: install greetd config via .install scriptlet (avoid file conflict)
greetd owns /etc/greetd/config.toml, so ship our config to
/usr/share/tanin/greetd/ and activate it from a post_install/post_upgrade
scriptlet (with a one-time backup). Fixes the pacman file conflict.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:29:26 +02:00
karim 8689dd37ca Fix tanin dep names: adw-gtk-theme (not adw-gtk3), tiramisu-git (pkgrel 2)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:25:58 +02:00
karim ba33832f08 Document Gitea Arch DB-signing key import for [tanin]
The Gitea Arch registry signs the repo DB with its own key
(63F0415879323F6BFE0FBFB2B6FDF356206AF4F6); import it via
.../arch/repository.key + pacman-key --lsign-key before -Sy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:22:24 +02:00
karim ce7e63b016 Host [tanin] on Gitea Arch registry (9 pkgs, public)
- publish-tanin-repo.sh: upload built packages to the Gitea Arch registry
- distro/tanin.pacman.conf: the [tanin] pacman.conf snippet
- manifest: [tanin] is LIVE at git.openbureau.ch/api/packages/karim/arch/tanin

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:19:08 +02:00
karim 9451e04f1c Fix [tanin] AUR rebuild names: eww-git, tiramisu-git (not eww/tiramisu)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 18:41:02 +02:00
karim 7a060fb7af Add finish-tanin-repo.sh (sudo/AUR steps to complete [tanin])
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 22:18:05 +02:00
karim 857bd955c5 Add [tanin] repo build script; build 5 own packages + DB
- packaging/build-tanin-repo.sh: builds own pkgs + repo-add DB (-> ~/projects/tanin-repo)
- built: tanin-greet, tanin-libadwaita, tanin-setup, tanin-eww, tanin-desktop
- manifest: cliphist + cage are in extra (not AUR rebuilds); only eww/tiramisu/
  waypaper need rebuilding into [tanin]; record repo-build status

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 22:16:43 +02:00
karim a4569795e8 Wire niri desktop: tanin-eww, tanin-desktop (niri), tanin-setup theme follower
- tanin-eww: package eww shell config + niri config -> /usr/share/tanin/skel/.config
  (dev paths rewritten to ~/.config/eww; niri spawn-at-startup uses sh -c)
- tanin-desktop: switch metapackage from Hyprland to the niri stack
  (niri, greetd+tanin-greet, cage, eww stack, xdg-desktop-portal-gnome, fonts)
- tanin-setup: apply Fuji theme + enable tanin-libadwaita.service on first run
- tanin-libadwaita: ship systemd user service (color-scheme watcher)
- distro manifest synced; drop stale regreet references

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 22:13:59 +02:00
karim 10b88a67bc Initial commit — TANINUX (camel): management app + distro packaging
- app: GTK System Settings (tsettings) + Software Hub (thub) + TUI
- distro/: camel.toml manifest + MANIFEST.md (Arch + [tanin] repo model)
- packaging/: taninux, tanin-desktop (niri metapackage), tanin-greet,
  tanin-libadwaita, tanin-setup
- docs/, data/, LICENSE (GPL-3.0-or-later)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 20:18:30 +02:00