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>
This commit is contained in:
2026-06-22 20:39:27 +02:00
parent ca94a1828a
commit c5b0848a50
11 changed files with 364 additions and 10 deletions
+35
View File
@@ -0,0 +1,35 @@
# Maintainer: Karim <karim@gabrielevarano.ch>
#
# tanin-icons — Fuji-accent icon themes. Thin overlays that inherit Adwaita and
# recolour only the folder/place icons to each Fuji hue (Ume/Shinkai/Take/
# Chikyū/Beni). App-icon coverage stays exactly Adwaita's; only "containers"
# (folders, user dirs, network) follow the accent.
#
# The accent picker (taninux.gui.style) switches the GNOME icon-theme gsetting
# to Tanin-<accent>, so folders recolour live when you change the accent.
#
# Regenerate after an adwaita-icon-theme bump: rebuild this package (it reads
# /usr/share/icons/Adwaita at build time).
pkgname=tanin-icons
pkgver=0.1.0
pkgrel=1
pkgdesc="TANINUX Fuji-accent icon themes — Adwaita with folders recoloured per accent"
arch=('any')
url="https://taninux.kgva.ch"
license=('GPL-3.0-or-later')
depends=('adwaita-icon-theme')
makedepends=('librsvg' 'python') # rsvg-convert for the 16px raster
install=tanin-icons.install
build() {
cd "$startdir"
OUT_DIR="$srcdir/out" python recolor.py
}
package() {
install -d "$pkgdir/usr/share/icons"
cp -r "$srcdir/out/"Tanin-* "$pkgdir/usr/share/icons/"
# normalise perms (cp can carry build-user bits)
find "$pkgdir/usr/share/icons" -type d -exec chmod 755 {} +
find "$pkgdir/usr/share/icons" -type f -exec chmod 644 {} +
}