Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

themes: add istanbul, istanbul_v2 and family

Hasan Durmuş7185e7fc140f
diff --git a/README.de.md b/README.de.md
index 37add9310..302d6bdb2 100644
--- a/README.de.md
+++ b/README.de.md
@@ -259,7 +259,7 @@ Gerät übrig bleibt, steht in der [Fehlerbehebung](docs/TROUBLESHOOTING.md).
|---|---|
| **Einrichten** | Dock-Reihenfolge, versteckte Apps, Live-TV-App, 4 bis 7 Kacheln je Zeile, reduzierte Bewegung. Alles in [`config.xml`](launcher/app/src/main/res/values/config.xml) |
| **Einstellungen am Fernseher** | OK auf Einstellungen halten für die Launcher-Einstellungen. Ein optionales `launcher_settings_button` lässt einen normalen Klick sie direkt öffnen; die TV-Einstellungen bleiben auf der Einstellungsseite und ihrer App-Kachel. |
-| **Themes** | Hintergrund, Wallpaper und Layout aus einer `config.json`, über WLAN aufgespielt, ohne neuen Build. Einundzwanzig liegen in [`themes/`](themes/), das eingebaute `default/` mitgerechnet |
+| **Themes** | Hintergrund, Wallpaper und Layout aus einer `config.json`, über WLAN aufgespielt, ohne neuen Build. Vierundzwanzig liegen in [`themes/`](themes/), das eingebaute `default/` mitgerechnet |
| **31 Sprachen** | Folgt der Sprache des Fernsehers, mit vollständig gespiegeltem Layout von rechts nach links für Hebräisch |
| **App-Bibliothek** | Optional: jede installierte App durchsehen und Home-Verknüpfungen hinzufügen oder entfernen. Siehe [die Anleitung zur App-Bibliothek](docs/app-library.md) |
| **Kachelmenü** | Standardmäßig an (`tile_menu`): OK auf einer Kachel halten für Verschieben und App-Info, mit eingeschalteter App-Bibliothek auch Von Home entfernen. Aus: OK halten öffnet App-Info |
diff --git a/README.md b/README.md
index 8ee23c4ea..d8d29bce0 100644
--- a/README.md
+++ b/README.md
@@ -281,7 +281,7 @@ set is in [Troubleshooting](docs/TROUBLESHOOTING.md).
|---|---|
| **Configure** | Dock order, hidden apps, Live TV app, 4 to 7 tiles per row, reduced motion. All in [`config.xml`](launcher/app/src/main/res/values/config.xml) |
| **Settings on the TV** | Hold OK on Settings for launcher settings. Optional `launcher_settings_button` makes a normal click open them directly; TV settings remain on the settings page and their app tile. |
-| **Themes** | Background, wallpaper and layout from a `config.json` pushed over Wi-Fi, no rebuild. Twenty-one ship in [`themes/`](themes/), the built-in `default/` included |
+| **Themes** | Background, wallpaper and layout from a `config.json` pushed over Wi-Fi, no rebuild. Twenty-four ship in [`themes/`](themes/), the built-in `default/` included |
| **31 languages** | Follows the TV's language, with a fully mirrored right-to-left layout for Hebrew |
| **App library** | Optional: browse every installed app and add or remove Home shortcuts. See [the app library guide](docs/app-library.md) |
| **Tile menu** | On by default (`tile_menu`): hold OK on a tile for Move and App info, plus Remove from Home when the app library is on. Off, holding OK opens App info |
diff --git a/README.nl.md b/README.nl.md
index 5031d7725..cdacfbe05 100644
--- a/README.nl.md
+++ b/README.nl.md
@@ -696,7 +696,7 @@ De **tv** moet Android 8.0 (API 26) of nieuwer gebruiken. `minSdk` stelt de mini
|---|---|
| **Configuratie** | Volgorde van het dock, verborgen apps, Live-tv-app, 4 tot 7 tegels per rij en minder beweging. Alles staat in [`config.xml`](launcher/app/src/main/res/values/config.xml). |
| **Instellingen op de tv** | Houd OK ingedrukt op Instellingen om de launcherinstellingen te openen. Met de optionele instelling `launcher_settings_button` opent een gewone klik ze direct; de tv-instellingen blijven beschikbaar via de instellingenpagina en de tegel van die app. |
-| **Thema's** | Achtergrond, wallpaper en indeling komen uit een via wifi verzonden `config.json`; opnieuw bouwen is niet nodig. In [`themes/`](themes/) staan eenentwintig thema's, inclusief het ingebouwde `default/`. |
+| **Thema's** | Achtergrond, wallpaper en indeling komen uit een via wifi verzonden `config.json`; opnieuw bouwen is niet nodig. In [`themes/`](themes/) staan vierentwintig thema's, inclusief het ingebouwde `default/`. |
| **31 talen** | Volgt de taal van de tv, met een volledig gespiegeld rechts-naar-links ontwerp voor Hebreeuws. |
| **Appbibliotheek** | Optioneel: bekijk alle geïnstalleerde apps en voeg snelkoppelingen op het startscherm toe of verwijder ze. Zie [de handleiding voor de appbibliotheek](docs/app-library.md). |
| **Tegelmenu** | Standaard aan (`tile_menu`): houd OK ingedrukt op een tegel voor Verplaatsen en App-info, en met de appbibliotheek aan ook Verwijderen van startscherm. Staat dit uit, dan opent lang indrukken de app-info. |
diff --git a/README.pt-BR.md b/README.pt-BR.md
index 18fd6c609..20fdfe3f8 100644
--- a/README.pt-BR.md
+++ b/README.pt-BR.md
@@ -283,7 +283,7 @@ explicado em [Solução de problemas](docs/TROUBLESHOOTING.md).
|---|---|
| **Configuração** | Ordem do dock, aplicativos ocultos, aplicativo de TV ao vivo, de 4 a 7 blocos por linha e animações reduzidas. Tudo em [`config.xml`](launcher/app/src/main/res/values/config.xml). |
| **Configurações na TV** | Mantenha OK pressionado em Configurações para abrir as configurações do launcher. Opcionalmente, `launcher_settings_button` faz com que um clique normal as abra diretamente; as configurações da TV continuam disponíveis na página de configurações e no bloco do aplicativo correspondente. |
-| **Temas** | Plano de fundo, papel de parede e layout definidos em um `config.json` enviado pelo Wi-Fi, sem recompilação. 21 temas estão incluídos em [`themes/`](themes/), incluindo o `default/` integrado. |
+| **Temas** | Plano de fundo, papel de parede e layout definidos em um `config.json` enviado pelo Wi-Fi, sem recompilação. 24 temas estão incluídos em [`themes/`](themes/), incluindo o `default/` integrado. |
| **31 idiomas** | Segue o idioma da TV, com layout totalmente espelhado da direita para a esquerda em hebraico. |
| **Biblioteca de aplicativos** | Opcional: permite navegar por todos os aplicativos instalados e adicionar ou remover atalhos da tela inicial. Consulte [o guia da biblioteca de aplicativos](docs/app-library.md). |
| **Menu dos blocos** | Ativado por padrão (`tile_menu`): mantenha OK pressionado em um bloco para acessar Mover, Remover da tela inicial e Informações do app. Se estiver desativado, manter OK pressionado abre Informações do app. |
diff --git a/README.tr.md b/README.tr.md
index 187de6da0..5081ed8ff 100644
--- a/README.tr.md
+++ b/README.tr.md
@@ -281,7 +281,7 @@ bir cihazda neyin kaldığı [Sorun giderme](docs/TROUBLESHOOTING.md) belgesinde
|---|---|
| **Yapılandırma** | Dock sırası, gizli uygulamalar, Canlı TV uygulaması, satır başına 4 ile 7 arası kutucuk, azaltılmış hareket. Hepsi [`config.xml`](launcher/app/src/main/res/values/config.xml) içinde |
| **TV'deki ayarlar** | Başlatıcı ayarları için Ayarlar üzerinde OK'u basılı tutun. İsteğe bağlı `launcher_settings_button`, normal bir tıklamanın onları doğrudan açmasını sağlar; TV ayarları ayarlar sayfasında ve kendi uygulama kutucuğunda kalır. |
-| **Temalar** | Wi-Fi üzerinden gönderilen bir `config.json` ile arka plan, duvar kâğıdı ve düzen, yeniden derleme yok. Yerleşik `default/` dahil 21 tema [`themes/`](themes/) içinde gelir |
+| **Temalar** | Wi-Fi üzerinden gönderilen bir `config.json` ile arka plan, duvar kâğıdı ve düzen, yeniden derleme yok. Yerleşik `default/` dahil 24 tema [`themes/`](themes/) içinde gelir |
| **31 dil** | TV'nin diline uyar; İbranice için tamamen aynalanmış, sağdan sola bir düzen sunar |
| **Uygulama kitaplığı** | İsteğe bağlı: yüklü tüm uygulamalara göz atın ve Ana ekran kısayolları ekleyin veya kaldırın. Bkz. [uygulama kitaplığı kılavuzu](docs/app-library.md) |
| **Kutucuk menüsü** | Varsayılan olarak açık (`tile_menu`): Taşı ve Uygulama bilgisi için bir kutucukta OK'u basılı tutun; uygulama kitaplığı açıksa Ana ekrandan kaldır da çıkar. Kapalıyken OK'u basılı tutmak Uygulama bilgisini açar |
diff --git a/README.uk.md b/README.uk.md
index 2383083e1..16424b352 100644
--- a/README.uk.md
+++ b/README.uk.md
@@ -282,7 +282,7 @@ Xiaomi (PatchWall). Передайте `STOCK_LAUNCHER=<package>` (`-StockLaunch
|---|---|
| **Налаштування** | Порядок дока, приховані застосунки, застосунок ефірного ТБ, від 4 до 7 плиток у рядку, зменшений рух. Усе в [`config.xml`](launcher/app/src/main/res/values/config.xml) |
| **Налаштування на телевізорі** | Утримайте OK на «Налаштуваннях», щоб відкрити налаштування лончера. Необов'язковий `launcher_settings_button` робить так, що звичайне натискання відкриває їх одразу; налаштування телевізора лишаються на сторінці налаштувань і на своїй плитці |
-| **Теми** | Тло, шпалери й розкладка з `config.json`, надісланого через Wi-Fi, без перезбирання. У [`themes/`](themes/) постачається двадцять одна, включно з вбудованою `default/` |
+| **Теми** | Тло, шпалери й розкладка з `config.json`, надісланого через Wi-Fi, без перезбирання. У [`themes/`](themes/) постачається двадцять чотири, включно з вбудованою `default/` |
| **31 мова** | Дотримується мови телевізора, з повністю дзеркальним розкладом справа наліво для івриту |
| **Бібліотека застосунків** | Необов'язково: перегляд усіх встановлених застосунків і додавання чи прибирання ярликів із головного екрана. Дивіться [посібник із бібліотеки застосунків](docs/app-library.md) |
| **Меню плитки** | Увімкнено за замовчуванням (`tile_menu`): утримайте OK на плитці для «Перемістити» та «Про застосунок», а з увімкненою бібліотекою застосунків — ще й «Прибрати з головного». Вимкнено — утримання OK відкриває «Про застосунок» |
diff --git a/themes/README.md b/themes/README.md
index fe2014389..37ac11490 100644
--- a/themes/README.md
+++ b/themes/README.md
@@ -44,9 +44,12 @@ updated. Add-ons with custom shell installers still need Bash; this native Windo
| `blocky/` | Eleven blocky pixel-art scenes that follow the time of day: a meadow by day, at dusk and at night, plains, desert, a snowy forest, jungle, ocean, a blossom grove, a cave and a lava cavern, each with its name under the buttons and behind the clock screensaver; the sun, moon and clouds sit behind the hills and trees. Drawn in code by `tools/blocky_wallpapers.py`, and the header rows stay plain sky | <img src="blocky/screenshot.jpg" width="320" alt="blocky theme"> |
| `cinematic/` | OLED and cinema look: true-colour wallpaper, a 6-column frosted-glass dock, no ambient glow and the idle clock after two minutes. The wallpaper is CC0, not MIT: see `cinematic/CREDITS.md` | <img src="cinematic/screenshot.jpg" width="320" alt="cinematic theme"> |
| `dussehra/` | Festive skin for Dussehra (ends 21 Oct 2026): a marigold toran, a faint gold rangoli, a diya for Wi-Fi, a bell for Inputs, a marigold for Settings and a petal shower | <img src="dussehra/screenshot.jpg" width="320" alt="dussehra theme"> |
+| `family/` | A family in single-line drawings on black, recoloured for the time of day with a sun or moon drawn in code: the whole family in the morning and evening, the parents alone under the moon at night (`wallpaper_moods`, icon-only buttons, and the clock screensaver over the picture). The drawings are CC0, not MIT: see `family/CREDITS.md` | <img src="family/screenshot.jpg" width="320" alt="family theme"> |
| `glass/` | Dark navy wallpaper with soft teal and violet light, the cinematic top shelf, a frosted-glass dock, icon-only buttons and the focus glow in the app's colour, gliding without overshoot | <img src="glass/screenshot.jpg" width="320" alt="glass theme"> |
| `christmas/` | A snowy Christmas night, an illustration of our own (CC0, drawn by `make_wallpaper.py`): Santa's sleigh and reindeer over a lit cabin and fir trees, with a frosted-glass dock, faded rows and the picture behind the idle clock. No start or end date: push it on the day you want it | <img src="christmas/screenshot.jpg" width="320" alt="christmas theme"> |
| `halloween/` | Halloween until 1 Nov 2026: an illustrated haunted house (our own, CC0) and seven night photos from Wikimedia Commons (jack-o'-lanterns by candlelight, a full moon behind a sequoia grove and over a Swedish fjord, a moonrise, two cemeteries in fog), a new one every 30 minutes (credited in `halloween/CREDITS.md`, not on screen), and a frosted-glass dock. With a launcher that knows `seasonal_skin`, the Halloween skin too: a jack-o'-lantern for Wi-Fi that glows while online, a bat for Inputs, a ghost for Settings, bats over the first Home of the day and "Happy Halloween"; it switches itself off after 1 November, the pictures stay until `--reset`. The illustration is CC0; the photos are CC0, public domain, CC BY and CC BY-SA, not MIT: see `halloween/CREDITS.md` | <img src="halloween/screenshot.jpg" width="320" alt="halloween theme"> |
+| `istanbul/` | Istanbul drawn in flat layers by code alone: Topkapı Palace, Hagia Sophia, the Blue Mosque, Galata Tower and the Bosphorus Bridge over the water with a ferry, under a faint eight-pointed-star lattice, in a morning, evening and night picture (`wallpaper_moods`, icon-only buttons). The pictures are CC0, not MIT: see `istanbul/CREDITS.md` | <img src="istanbul/screenshot.jpg" width="320" alt="istanbul theme"> |
+| `istanbul_v2/` | Three illustrated Istanbul skylines, from the historic peninsula to Galata Tower and the Bosphorus Bridge, in the morning, at sunset and at night (`wallpaper_moods`, a light 15% dim, icon-only buttons). The pictures are CC0, not MIT: see `istanbul_v2/CREDITS.md` | <img src="istanbul_v2/screenshot.jpg" width="320" alt="istanbul_v2 theme"> |
| `minimal/` | A quiet, flat look: a flat graphite background with no wallpaper, glow or dock band, so the tiles float on their own; five columns with one row of the grid under the dock, no greeting and no big app name, icon-only buttons in the top bar and the glass highlight gliding without overshoot | <img src="minimal/screenshot.jpg" width="320" alt="minimal theme"> |
| `nature-calm/` | Twelve calm nature photos from Wikimedia Commons (misty karst and forest, autumn lakes, spring bluebells, winter frost, mossy woods, a rainforest lake, waterfalls), a new one every five minutes in random order with its place and photographer under the buttons; six small tiles in a frosted-glass dock, round icon-only buttons, no hero name. The photos are CC BY / CC BY-SA, not MIT: see `nature-calm/CREDITS.md` | <img src="nature-calm/screenshot.jpg" width="320" alt="nature-calm theme"> |
| `red-rain/` | A red digital code rain: pure black with frozen columns of katakana, letters and digits in dark crimson on three depth layers, drawn in code and dimmed behind the clock, the buttons and the dock; the cinematic frosted-glass dock, icon-only buttons, no glow, and the clock screensaver over the same rain. The wallpaper is CC0, not MIT: see `red-rain/CREDITS.md` | <img src="red-rain/screenshot.jpg" width="320" alt="red-rain theme"> |
diff --git a/themes/family/CREDITS.md b/themes/family/CREDITS.md
new file mode 100644
index 000000000..1ab658895
--- /dev/null
+++ b/themes/family/CREDITS.md
@@ -0,0 +1,12 @@
+# family wallpapers
+
+The two line drawings the wallpapers are made from (aile.jpg, the whole family, and aile_V.jpg, the parents alone)
+were created by the theme author with Google Gemini, from the author's own written description, with no reference
+image; they use no third-party material. make_wallpapers.py lifts their lines onto black, recolours them for the
+time of day and adds a sun or moon drawn in code. Drawings and wallpapers are released under CC0 1.0 (public
+domain), so the repository can redistribute them alongside its MIT licence:
+https://creativecommons.org/publicdomain/zero/1.0/
+
+- `morning.jpg`: the family with a rising sun, CC0 1.0
+- `evening.jpg`: the family with a setting sun, CC0 1.0
+- `night.jpg`: the parents under the moon, CC0 1.0
diff --git a/themes/family/config.json b/themes/family/config.json
new file mode 100644
index 000000000..569247d98
--- /dev/null
+++ b/themes/family/config.json
@@ -0,0 +1,25 @@
+{
+ "background_color": "#000000",
+ "dock_glass": false,
+ "dock_band": false,
+ "glass_style": "rim",
+ "dock_title": false,
+ "columns": 6,
+ "ambient_glow": false,
+ "app_glow": false,
+ "icon_only_buttons": true,
+ "icon_only_inputs": true,
+ "show_greeting": true,
+ "clock_wallpaper": true,
+ "tile_menu": true,
+ "wallpaper": true,
+ "wallpaper_rotation_minutes": 60,
+ "wallpaper_moods": {
+ "morning": ["morning.jpg"],
+ "evening": ["evening.jpg"],
+ "night": ["night.jpg"]
+ },
+ "wallpaper_dim": 0,
+ "wallpaper_order": "sequential",
+ "sky_intensity": 0
+}
diff --git a/themes/family/make_wallpapers.py b/themes/family/make_wallpapers.py
new file mode 100644
index 000000000..31a1f8bc6
--- /dev/null
+++ b/themes/family/make_wallpapers.py
@@ -0,0 +1,110 @@
+#!/usr/bin/env python3
+"""Makes themes/family/wallpapers/*.jpg from the owner's line drawings (dark lines on cream): aile.jpg, the whole
+family, for the day, and aile_V.jpg, the parents alone, for the night while the girls are asleep. The lines are
+lifted off the paper and redrawn on black, in a colour that changes with the time of day, under a soft light and
+a sun or moon drawn in the same line.
+
+ python3 make_wallpapers.py # needs Pillow and NumPy
+
+Kept dark on purpose (see themes/README.md, Wallpapers): the drawing is scaled and moved so the clock (top left)
+and the buttons (top right) stay clear and the feet stand just above the dock.
+"""
+from pathlib import Path
+
+import numpy as np
+from PIL import Image, ImageDraw
+
+W, H = 1920, 1080
+HERE = Path(__file__).resolve().parent
+OUT = HERE / "wallpapers"
+SCALE, DX, DY = 1.15, 150, -20 # source pixels -> wallpaper pixels: feet land at ~0.69 of the height
+
+BEAT = 0.462 # about where the heartbeat line runs, as a fraction of the height
+# The sun tells the hour: rising out of the heartbeat line on the right in the morning,
+# setting red into it on the left in the evening; the light it throws and the line's colour shift with it, and
+# night is the darkest of the three. Rising and setting suns sit on the line itself, wherever it runs.
+MOODS = {
+ "morning": dict(source="aile.jpg", line="#e8c47c", light="#2e2210", sun=("rise", 0.822, BEAT, 0.022),
+ sun_light=("#3a2610", 0.22)),
+ "evening": dict(source="aile.jpg", line="#e2703f", light="#2e1208", sun=("set", 0.39, BEAT, 0.019),
+ sun_light=("#481a0a", 0.22)),
+ "night": dict(source="aile_V.jpg", line="#bdb7a2", light="#0a1220", moon=(0.80, 0.22, 0.022)),
+}
+
+
+def rgb(hexs):
+ return np.array([int(hexs[i:i + 2], 16) for i in (1, 3, 5)], float)
+
+
+def lines(source):
+ """How much line each wallpaper pixel holds, 0..1, from the drawing's darkness against its paper."""
+ src = Image.open(HERE / source).convert("L")
+ big = src.resize((round(src.width * SCALE), round(src.height * SCALE)), Image.LANCZOS)
+ canvas = Image.new("L", (W, H), 243)
+ canvas.paste(big, (DX, DY))
+ return np.clip((228 - np.asarray(canvas, float)) / 150, 0, 1)
+
+
+def line_row(line, col, near):
+ """The row where the drawing's line crosses this column, looking within 45 px of near."""
+ top = int(near) - 45
+ return top + int(line[top:top + 90, col].argmax())
+
+
+def sky_mark(mood, line):
+ """The sun or moon in the drawing's line, and where the sun stands (for its light)."""
+ m = Image.new("L", (W, H), 0)
+ d = ImageDraw.Draw(m)
+ centre = None
+ if mood.get("sun"):
+ kind, x, y, r = mood["sun"]
+ X, Y, R = x * W, y * H, r * W
+ if kind == "full": # a whole sun with eight rays
+ rays = range(0, 360, 45)
+ else: # half out of the heartbeat line, or sinking into it
+ Y = line_row(line, int(X), Y) + (0 if kind == "rise" else 0.45 * R)
+ rays = range(215, 326, 36) if kind == "rise" else range(235, 306, 35)
+ d.ellipse([X - R, Y - R, X + R, Y + R], outline=255, width=3)
+ for a in rays:
+ c, s = np.cos(np.radians(a)), np.sin(np.radians(a))
+ d.line([(X + c * R * 1.35, Y + s * R * 1.35), (X + c * R * 1.75, Y + s * R * 1.75)], fill=255, width=3)
+ if kind != "full": # nothing below the line, column by column
+ for col in range(int(X - 1.2 * R), int(X + 1.2 * R) + 1):
+ cut = line_row(line, col, Y - (0 if kind == "rise" else 0.45 * R)) - 1
+ d.line([(col, min(cut, Y) if kind == "rise" else cut), (col, Y + 2 * R)], fill=0) # a rising sun stays a half
+ centre = (X, Y)
+ if mood.get("moon"):
+ x, y, r = mood["moon"]
+ X, Y, R = x * W, y * H, r * W
+ d.arc([X - R, Y - R, X + R, Y + R], 60, 300, fill=255, width=3)
+ X2, R2 = X + 0.42 * R, 0.80 * R
+ d.arc([X2 - R2, Y - R2, X2 + R2, Y + R2], 110, 250, fill=255, width=3)
+ return np.asarray(m, float) / 255, centre
+
+
+def draw(name, mood):
+ img = np.zeros((H, W, 3))
+ yy, xx = np.ogrid[:H, :W]
+ d2 = ((xx - 0.62 * W) / (0.45 * W)) ** 2 + ((yy - 0.50 * H) / (0.40 * H)) ** 2
+ img += np.exp(-d2)[..., None] * rgb(mood["light"]) # a soft light behind the family
+ line = lines(mood["source"])
+ mark, sun = sky_mark(mood, line)
+ if mood.get("sun_light"): # and the sun's own, from where it stands
+ col, radius = mood["sun_light"]
+ img += np.exp(-(((xx - sun[0]) ** 2 + (yy - sun[1]) ** 2) / (radius * W) ** 2))[..., None] * rgb(col)
+ if mood.get("moon"):
+ rng = np.random.default_rng(7)
+ for x, y, b in zip(rng.uniform(0, W, 220).astype(int), rng.uniform(0, 0.45 * H, 220).astype(int),
+ rng.uniform(40, 130, 220)):
+ img[y:y + 2, x:x + 2] += b
+ a = np.maximum(line, mark)[..., None]
+ img = img * (1 - a) + rgb(mood["line"]) * a
+ OUT.mkdir(exist_ok=True)
+ path = OUT / f"{name}.jpg"
+ Image.fromarray(np.clip(img, 0, 255).astype(np.uint8)).save(path, quality=86, optimize=True, progressive=True)
+ print(f"{path.name}: {path.stat().st_size // 1024} KB")
+
+
+if __name__ == "__main__":
+ for name, mood in MOODS.items():
+ draw(name, mood)
diff --git a/themes/family/screenshot.jpg b/themes/family/screenshot.jpg
new file mode 100644
index 000000000..2e8033a25
Binary files /dev/null and b/themes/family/screenshot.jpg differ
diff --git a/themes/family/wallpapers/evening.jpg b/themes/family/wallpapers/evening.jpg
new file mode 100644
index 000000000..91c7a0bba
Binary files /dev/null and b/themes/family/wallpapers/evening.jpg differ
diff --git a/themes/family/wallpapers/morning.jpg b/themes/family/wallpapers/morning.jpg
new file mode 100644
index 000000000..62c11542a
Binary files /dev/null and b/themes/family/wallpapers/morning.jpg differ
diff --git a/themes/family/wallpapers/night.jpg b/themes/family/wallpapers/night.jpg
new file mode 100644
index 000000000..be707ef87
Binary files /dev/null and b/themes/family/wallpapers/night.jpg differ
diff --git a/themes/istanbul/CREDITS.md b/themes/istanbul/CREDITS.md
new file mode 100644
index 000000000..733e803ea
--- /dev/null
+++ b/themes/istanbul/CREDITS.md
@@ -0,0 +1,11 @@
+# istanbul wallpapers
+
+The three pictures are original work by the theme author, drawn entirely in code by `make_wallpapers.py` (Pillow and
+NumPy): flat layers of Topkapı Palace, Hagia Sophia, the Blue Mosque, Galata Tower and the Bosphorus Bridge over the
+water. They are no photos and use no third-party material, artwork or fonts. Running the script again gives the same
+pictures. They are released under CC0 1.0 (public domain):
+https://creativecommons.org/publicdomain/zero/1.0/
+
+- `morning.jpg`: Istanbul in the morning, CC0 1.0
+- `evening.jpg`: Istanbul at sunset, CC0 1.0
+- `night.jpg`: Istanbul at night, CC0 1.0
diff --git a/themes/istanbul/config.json b/themes/istanbul/config.json
new file mode 100644
index 000000000..d1d02143d
--- /dev/null
+++ b/themes/istanbul/config.json
@@ -0,0 +1,24 @@
+{
+ "background_color": "#000000",
+ "dock_glass": false,
+ "dock_band": false,
+ "glass_style": "rim",
+ "dock_title": false,
+ "columns": 6,
+ "ambient_glow": false,
+ "app_glow": false,
+ "icon_only_buttons": true,
+ "icon_only_inputs": true,
+ "show_greeting": true,
+ "tile_menu": true,
+ "wallpaper": true,
+ "wallpaper_rotation_minutes": 60,
+ "wallpaper_moods": {
+ "morning": ["morning.jpg"],
+ "evening": ["evening.jpg"],
+ "night": ["night.jpg"]
+ },
+ "wallpaper_dim": 0,
+ "wallpaper_order": "sequential",
+ "sky_intensity": 0
+}
diff --git a/themes/istanbul/make_wallpapers.py b/themes/istanbul/make_wallpapers.py
new file mode 100644
index 000000000..c0a8fc242
--- /dev/null
+++ b/themes/istanbul/make_wallpapers.py
@@ -0,0 +1,274 @@
+#!/usr/bin/env python3
+"""Draws themes/istanbul/wallpapers/*.jpg from nothing but code: Istanbul in flat layers - Topkapı Palace's
+Gate of Salutation and Tower of Justice, Hagia Sophia, the Blue Mosque, the houses up to Galata Tower and the
+Bosphorus Bridge - over the water with a ferry and two boats, under a faint eight-pointed-star lattice, at
+three times of day. No photos, artwork or fonts are used, so the pictures are original.
+
+ python3 make_wallpapers.py # needs Pillow and NumPy; the same seed gives the same pictures
+
+Kept dark on purpose (see themes/README.md, Wallpapers): the clock sits top left, the buttons top right and
+the dock over the bottom third of the water, so the city lives between them and the boats just above the dock.
+"""
+import math
+from pathlib import Path
+
+import numpy as np
+from PIL import Image, ImageDraw, ImageFilter
+
+W, H = 1920, 1080
+S = 2 # draw at 2x, scale down for clean edges
+w, h = W * S, H * S
+Y0 = int(0.585 * h) # the shore
+OUT = Path(__file__).resolve().parent / "wallpapers"
+
+MOODS = {
+ "morning": dict(sky=[(0, "#04060c"), (0.36, "#0c1828"), (0.54, "#2a2a24"), (0.585, "#5a4018")],
+ water=("#1b2733", "#04070b"), sun=(0.36, 0.50, 0.020, "#d9a441", 0.30), lights=0.0),
+ "evening": dict(sky=[(0, "#050407"), (0.32, "#120c0a"), (0.52, "#3c1e0a"), (0.585, "#8a4612")],
+ water=("#2c1b0e", "#050404"), sun=(0.615, 0.53, 0.026, "#e07a1f", 0.38), lights=0.5),
+ "night": dict(sky=[(0, "#000000"), (0.45, "#03060c"), (0.585, "#122340")],
+ water=("#0b1424", "#000000"), moon=(0.70, 0.235, 0.016), stars=True, lights=1.0),
+}
+GOLD = np.array([168, 132, 58], float)
+WINDOW = np.array([217, 164, 65], float)
+
+
+def rgb(hexs):
+ return np.array([int(hexs[i:i + 2], 16) for i in (1, 3, 5)], float)
+
+
+def gradient(stops, top=0, bottom=h):
+ ys = np.linspace(0, 1, bottom - top)
+ cols = np.stack([np.interp(ys, [p for p, _ in stops], [rgb(c)[k] for _, c in stops]) for k in range(3)], 1)
+ return np.repeat(cols[:, None, :], w, 1)
+
+
+def glow(img, cx, cy, radius, colour, strength):
+ yy, xx = np.ogrid[:h, :w]
+ d2 = ((xx - cx * w) ** 2 + (yy - cy * h) ** 2) / (radius * w) ** 2
+ img += np.exp(-d2)[..., None] * rgb(colour) * strength
+
+
+def layer():
+ m = Image.new("L", (w, h), 0)
+ return m, ImageDraw.Draw(m)
+
+
+def star_lattice():
+ """Faint eight-pointed stars (two overlapping squares) with an octagon inside, on a square grid."""
+ m, d = layer()
+ s = int(0.072 * w)
+ R, lw = 0.40 * s, 3
+ for gy in range(0, int(0.55 * h) + s, s):
+ for gx in range(-s // 2 if (gy // s) % 2 else 0, w + s, s):
+ for rot in (0, math.pi / 4):
+ d.polygon([(gx + R * math.cos(rot + k * math.pi / 2), gy + R * math.sin(rot + k * math.pi / 2))
+ for k in range(4)], outline=255, width=lw)
+ r2 = R * 0.42
+ d.polygon([(gx + r2 * math.cos(math.pi / 8 + k * math.pi / 4), gy + r2 * math.sin(math.pi / 8 + k * math.pi / 4))
+ for k in range(8)], outline=255, width=lw)
+ fade = np.clip(1 - np.arange(h) / (0.52 * h), 0, 1) ** 1.6
+ return np.asarray(m, float) / 255 * fade[:, None]
+
+
+def minaret(d, x, base, height, width):
+ top = base - height
+ d.rectangle([x - width / 2, top, x + width / 2, base], fill=255)
+ for f in (0.62, 0.80):
+ by = base - height * f
+ d.rectangle([x - width * 0.95, by - width * 0.45, x + width * 0.95, by], fill=255)
+ cone = width * 4.2
+ d.polygon([(x - width * 0.62, top), (x + width * 0.62, top), (x, top - cone)], fill=255)
+ d.line([(x, top - cone), (x, top - cone - width * 1.2)], fill=255, width=max(2, int(width * 0.18)))
+
+
+def dome(d, cx, base, rx, ry, finial=True):
+ d.ellipse([cx - rx, base - ry, cx + rx, base + ry], fill=255)
+ if finial:
+ d.line([(cx, base - ry), (cx, base - ry - rx * 0.28)], fill=255, width=max(2, int(rx * 0.04)))
+
+
+def far_layer():
+ """The Asian shore and the bridge, in the tone nearest the sky."""
+ m, d = layer()
+ xs = np.linspace(0, w, 200)
+ hills = Y0 - h * (0.020 + 0.012 * np.sin(xs / w * 9) + 0.022 * np.exp(-((xs / w - 0.88) / 0.10) ** 2))
+ d.polygon([(0.62 * w, Y0)] + [(x, y) for x, y in zip(xs, hills) if x > 0.62 * w] + [(w, Y0)], fill=255)
+ deck, t1, t2, top = 0.548 * h, 0.775 * w, 0.955 * w, 0.425 * h
+ d.rectangle([0.70 * w, deck, w, deck + 0.010 * h], fill=255)
+ for tx in (t1, t2): # portal towers with two cross-beams
+ for k in (-1, 1):
+ d.rectangle([tx + k * 0.007 * w - 0.0035 * w, top, tx + k * 0.007 * w + 0.0035 * w, Y0], fill=255)
+ for by in (top + 0.006 * h, deck - 0.03 * h):
+ d.rectangle([tx - 0.011 * w, by, tx + 0.011 * w, by + 0.006 * h], fill=255)
+ cable = []
+ for x in np.linspace(0.70 * w, w, 260): # main cable: up to each tower, sagging between
+ if x < t1:
+ y = deck - (top - deck) * -((x - 0.70 * w) / (t1 - 0.70 * w)) ** 1.6
+ elif x < t2:
+ u = (x - t1) / (t2 - t1)
+ y = top + (deck - 0.012 * h - top) * (1 - (2 * u - 1) ** 2)
+ else:
+ y = top + (deck - top) * ((x - t2) / (w - t2)) ** 1.2 * 0.8
+ cable.append((x, y))
+ d.line(cable, fill=255, width=5)
+ for x, y in cable[::5]:
+ if y < deck - 4:
+ d.line([(x, y), (x, deck)], fill=255, width=2)
+ return m
+
+
+def mid_layer(rng):
+ """Houses climbing from the shore to Galata Tower."""
+ m, d = layer()
+ xs = np.linspace(0, w, 300)
+ hill = Y0 - h * (0.012 + 0.050 * np.exp(-((xs / w - 0.685) / 0.07) ** 2) + 0.018 * np.exp(-((xs / w - 0.35) / 0.15) ** 2))
+ d.polygon([(0, Y0)] + list(zip(xs, hill)) + [(w, Y0)], fill=255)
+ x = 0.0
+ while x < 0.76 * w: # pitched-roof houses along the slopes
+ bw = rng.uniform(0.012, 0.026) * w
+ bh = rng.uniform(0.010, 0.028) * h
+ y = float(np.interp(x + bw / 2, xs, hill))
+ d.rectangle([x, y - bh, x + bw, Y0], fill=255)
+ d.polygon([(x - 2, y - bh), (x + bw + 2, y - bh), (x + bw / 2, y - bh - bw * 0.25)], fill=255)
+ x += bw * rng.uniform(0.9, 1.15)
+ gx, gb, tw = 0.690 * w, float(np.interp(0.690 * w, xs, hill)) + 0.004 * h, 0.019 * w
+ d.rectangle([gx - tw / 2, gb - 0.150 * h, gx + tw / 2, gb], fill=255)
+ d.rectangle([gx - tw * 0.64, gb - 0.160 * h, gx + tw * 0.64, gb - 0.146 * h], fill=255)
+ d.polygon([(gx - tw * 0.60, gb - 0.160 * h), (gx + tw * 0.60, gb - 0.160 * h), (gx, gb - 0.215 * h)], fill=255)
+ d.line([(gx, gb - 0.215 * h), (gx, gb - 0.228 * h)], fill=255, width=4)
+ return m
+
+
+def front_layer():
+ """The historic peninsula: Topkapı's gate and Tower of Justice, Hagia Sophia, the Blue Mosque, the quay."""
+ m, d = layer()
+ U = w
+ d.rectangle([0, Y0 - 0.012 * h, 0.56 * U, Y0 + 0.006 * h], fill=255)
+ # Gate of Salutation: a crenellated wall, two octagonal towers with tall cones, an arched gate between
+ gx, wall = 0.075 * U, Y0 - 0.060 * h
+ d.rectangle([0, wall, 0.135 * U, Y0], fill=255)
+ for x in np.arange(0, 0.135 * U, 0.006 * U):
+ d.rectangle([x, wall - 0.008 * h, x + 0.0032 * U, wall], fill=255)
+ for k in (-1, 1):
+ tx = gx + k * 0.022 * U
+ d.rectangle([tx - 0.009 * U, wall - 0.075 * h, tx + 0.009 * U, Y0], fill=255)
+ d.polygon([(tx - 0.0105 * U, wall - 0.075 * h), (tx + 0.0105 * U, wall - 0.075 * h), (tx, wall - 0.150 * h)], fill=255)
+ d.line([(tx, wall - 0.150 * h), (tx, wall - 0.160 * h)], fill=255, width=4)
+ d.rectangle([gx - 0.013 * U, wall - 0.030 * h, gx + 0.013 * U, Y0], fill=255)
+ d.rounded_rectangle([gx - 0.0065 * U, wall - 0.012 * h, gx + 0.0065 * U, Y0 + 2], radius=0.0065 * U, fill=0)
+ d.rectangle([0.13 * U, Y0 - 0.040 * h, 0.21 * U, Y0], fill=255) # the palace's low buildings
+ # Every minaret stands on its mosque's courtyard wall, spaced so no two overlap.
+ # Hagia Sophia: wide shallow dome on a square body, buttresses, four thicker minarets
+ cx, b = 0.265 * U, Y0 - 0.075 * h
+ d.rectangle([cx - 0.080 * U, Y0 - 0.022 * h, cx + 0.080 * U, Y0], fill=255)
+ d.rectangle([cx - 0.060 * U, b, cx + 0.060 * U, Y0], fill=255)
+ for k in (-1, 1):
+ d.rectangle([cx + k * 0.048 * U - 0.010 * U, b - 0.022 * h, cx + k * 0.048 * U + 0.010 * U, b], fill=255)
+ dome(d, cx + k * 0.029 * U, b, 0.025 * U, 0.015 * U, False)
+ d.rectangle([cx - 0.034 * U, b - 0.028 * h, cx + 0.034 * U, b], fill=255)
+ dome(d, cx, b - 0.028 * h, 0.036 * U, 0.019 * U)
+ for dx, mh in ((-0.076, 0.185), (-0.052, 0.200), (0.052, 0.200), (0.076, 0.185)):
+ minaret(d, cx + dx * U, Y0, mh * h, 0.0072 * U)
+ # Blue Mosque: cascading domes, six minarets (four at the mosque, two at the far corners of its courtyard)
+ cx, b = 0.540 * U, Y0 - 0.062 * h
+ d.rectangle([cx - 0.098 * U, Y0 - 0.022 * h, cx + 0.098 * U, Y0], fill=255)
+ d.rectangle([cx - 0.062 * U, b, cx + 0.062 * U, Y0], fill=255)
+ for k in (-1, 1):
+ dome(d, cx + k * 0.048 * U, b + 0.004 * h, 0.012 * U, 0.012 * U, False)
+ dome(d, cx + k * 0.029 * U, b - 0.006 * h, 0.021 * U, 0.018 * U, False)
+ d.rectangle([cx - 0.027 * U, b - 0.032 * h, cx + 0.027 * U, b], fill=255)
+ dome(d, cx, b - 0.032 * h, 0.029 * U, 0.027 * U)
+ for dx, mh in ((-0.095, 0.195), (-0.072, 0.235), (-0.050, 0.240), (0.050, 0.240), (0.072, 0.235), (0.095, 0.195)):
+ minaret(d, cx + dx * U, Y0, mh * h, 0.0053 * U)
+ return m
+
+
+def boats():
+ """A ferry heading right and two small boats; returns the hull mask and the window mask."""
+ m, d = layer()
+ win, dw = layer()
+ fx, fy, L = 0.30 * w, 0.668 * h, 0.17 * w # ferry: waterline centre and length
+ d.polygon([(fx - L / 2, fy - 0.022 * h), (fx + L / 2 + 0.012 * w, fy - 0.026 * h), (fx + L / 2 - 0.004 * w, fy),
+ (fx - L / 2 + 0.006 * w, fy)], fill=255)
+ d.rectangle([fx - L * 0.42, fy - 0.044 * h, fx + L * 0.40, fy - 0.022 * h], fill=255)
+ d.rectangle([fx - L * 0.30, fy - 0.062 * h, fx + L * 0.24, fy - 0.044 * h], fill=255)
+ d.rectangle([fx + L * 0.18, fy - 0.072 * h, fx + L * 0.27, fy - 0.062 * h], fill=255) # wheelhouse
+ d.polygon([(fx - L * 0.02, fy - 0.062 * h), (fx + L * 0.05, fy - 0.062 * h), (fx + L * 0.035, fy - 0.098 * h),
+ (fx - L * 0.035, fy - 0.098 * h)], fill=255) # raked funnel
+ d.line([(fx + L * 0.22, fy - 0.072 * h), (fx + L * 0.22, fy - 0.120 * h)], fill=255, width=4)
+ for row, (a, b) in ((fy - 0.036 * h, (-0.38, 0.36)), (fy - 0.055 * h, (-0.26, 0.20))):
+ for x in np.arange(fx + a * L, fx + b * L, 0.0105 * w):
+ dw.rectangle([x, row - 0.006 * h, x + 0.006 * w, row], fill=255)
+ for bx, by, bl in ((0.78 * w, 0.655 * h, 0.040 * w), (0.885 * w, 0.672 * h, 0.032 * w)):
+ d.polygon([(bx - bl / 2, by - 0.010 * h), (bx + bl / 2 + 0.006 * w, by - 0.013 * h), (bx + bl / 2 - 0.004 * w, by),
+ (bx - bl / 2 + 0.003 * w, by)], fill=255)
+ d.rectangle([bx - bl * 0.15, by - 0.026 * h, bx + bl * 0.20, by - 0.010 * h], fill=255)
+ d.line([(bx - bl * 0.05, by - 0.026 * h), (bx - bl * 0.05, by - 0.045 * h)], fill=255, width=3)
+ dw.rectangle([bx - bl * 0.08, by - 0.021 * h, bx + bl * 0.13, by - 0.015 * h], fill=255)
+ return m, win
+
+
+def soft(mask):
+ return np.asarray(mask.filter(ImageFilter.GaussianBlur(0.6)), float)[..., None] / 255
+
+
+def draw(name, mood, art, lattice):
+ rng = np.random.default_rng(1923)
+ img = gradient(mood["sky"])
+ if mood.get("stars"):
+ n = 420
+ for x, y, b in zip(rng.uniform(0, w, n).astype(int), rng.uniform(0, 0.52 * h, n).astype(int), rng.uniform(40, 150, n)):
+ img[y:y + 3, x:x + 3] += b * (1 - y / (0.56 * h))
+ if mood.get("moon"):
+ mx, my, mr = mood["moon"]
+ glow(img, mx, my, 0.10, "#2b3a55", 0.6)
+ yy, xx = np.ogrid[:h, :w]
+ disc = (xx - mx * w) ** 2 + (yy - my * h) ** 2 < (mr * w) ** 2
+ bite = (xx - (mx + mr * 0.45) * w) ** 2 + (yy - (my - mr * 0.25 * w / h) * h) ** 2 < (mr * 0.88 * w) ** 2
+ img[disc & ~bite] = rgb("#d6cfb4")
+ if mood.get("sun"):
+ sx, sy, sr, col, st = mood["sun"]
+ glow(img, sx, sy, 0.30, col, st * 0.55)
+ glow(img, sx, sy, 0.06, col, st)
+ yy, xx = np.ogrid[:h, :w]
+ img[(xx - sx * w) ** 2 + (yy - sy * h) ** 2 < (sr * w) ** 2] = rgb(col)
+ img += lattice[..., None] * (0.055 if mood.get("stars") else 0.075) * GOLD
+ top, bottom = rgb(mood["water"][0]), rgb(mood["water"][1])
+ t = np.linspace(0, 1, h - Y0)[:, None, None] ** 0.8
+ img[Y0:] = top * (1 - t) + bottom * t
+ for y in range(Y0 + 10, int(0.69 * h), 14): # a few lighter wave strokes near the shore
+ for _ in range(4):
+ x0, ln = rng.uniform(0, w), rng.uniform(0.02, 0.07) * w
+ img[y:y + 2, int(x0):int(x0 + ln)] += top * 0.35
+ light = mood.get("sun") or (mood.get("moon") and (*mood["moon"][:2], 0, "#8c8a7a", 0.5))
+ if light:
+ lx, col = light[0] * w, rgb(light[3])
+ for y in range(Y0 + 6, int(0.95 * h), 9):
+ f = 1 - (y - Y0) / (0.95 * h - Y0)
+ half = (0.010 + 0.04 * f) * w * rng.uniform(0.3, 1.0)
+ x0 = lx + rng.uniform(-0.01, 0.01) * w
+ img[y:y + 3, int(x0 - half):int(x0 + half)] += col * 0.20 * f
+ horizon = rgb(mood["sky"][-1][1])
+ for mask, tone in ((art["far"], horizon * 0.42), (art["mid"], horizon * 0.20), (art["front"], np.array([5., 6, 9])),
+ (art["boats"], np.array([4., 5, 8]))):
+ a = soft(mask)
+ img = img * (1 - a) + tone * a
+ a = soft(art["windows"])
+ img = img * (1 - a) + (WINDOW * mood["lights"] + horizon * 0.5 * (1 - mood["lights"])) * a
+ out = Image.fromarray(np.clip(img, 0, 255).astype(np.uint8)).resize((W, H), Image.LANCZOS)
+ OUT.mkdir(exist_ok=True)
+ path = OUT / f"{name}.jpg"
+ out.save(path, quality=84, optimize=True, progressive=True)
+ print(f"{path.name}: {path.stat().st_size // 1024} KB")
+
+
+if __name__ == "__main__":
+ rng = np.random.default_rng(1453)
+ hulls, windows = boats()
+ art = dict(far=far_layer(), mid=mid_layer(rng), front=front_layer(), boats=hulls, windows=windows)
+ lattice = star_lattice()
+ for f in OUT.glob("*.jpg"):
+ f.unlink()
+ for name, mood in MOODS.items():
+ draw(name, mood, art, lattice)
diff --git a/themes/istanbul/screenshot.jpg b/themes/istanbul/screenshot.jpg
new file mode 100644
index 000000000..ae4de4402
Binary files /dev/null and b/themes/istanbul/screenshot.jpg differ
diff --git a/themes/istanbul/wallpapers/evening.jpg b/themes/istanbul/wallpapers/evening.jpg
new file mode 100644
index 000000000..b8e010cb7
Binary files /dev/null and b/themes/istanbul/wallpapers/evening.jpg differ
diff --git a/themes/istanbul/wallpapers/morning.jpg b/themes/istanbul/wallpapers/morning.jpg
new file mode 100644
index 000000000..ca9da9062
Binary files /dev/null and b/themes/istanbul/wallpapers/morning.jpg differ
diff --git a/themes/istanbul/wallpapers/night.jpg b/themes/istanbul/wallpapers/night.jpg
new file mode 100644
index 000000000..07c767b54
Binary files /dev/null and b/themes/istanbul/wallpapers/night.jpg differ
diff --git a/themes/istanbul_v2/CREDITS.md b/themes/istanbul_v2/CREDITS.md
new file mode 100644
index 000000000..1d06952f9
--- /dev/null
+++ b/themes/istanbul_v2/CREDITS.md
@@ -0,0 +1,11 @@
+# istanbul_v2 wallpapers
+
+The three pictures were created by the theme author with Google Gemini, from the author's own written description,
+with no reference image; they use no third-party material. make_wallpapers.py only scales each original (kept in
+originals/) to the TV's width and centres it on black. They are released under CC0 1.0 (public domain), so the
+repository can redistribute them alongside its MIT licence:
+https://creativecommons.org/publicdomain/zero/1.0/
+
+- `morning.jpg`: Istanbul in the morning, CC0 1.0
+- `evening.jpg`: Istanbul at sunset, CC0 1.0
+- `night.jpg`: Istanbul at night, CC0 1.0
diff --git a/themes/istanbul_v2/config.json b/themes/istanbul_v2/config.json
new file mode 100644
index 000000000..01d4e14db
--- /dev/null
+++ b/themes/istanbul_v2/config.json
@@ -0,0 +1,24 @@
+{
+ "background_color": "#000000",
+ "dock_glass": false,
+ "dock_band": false,
+ "glass_style": "rim",
+ "dock_title": false,
+ "columns": 6,
+ "ambient_glow": false,
+ "app_glow": false,
+ "icon_only_buttons": true,
+ "icon_only_inputs": true,
+ "show_greeting": true,
+ "tile_menu": true,
+ "wallpaper": true,
+ "wallpaper_rotation_minutes": 60,
+ "wallpaper_moods": {
+ "morning": ["morning.jpg"],
+ "evening": ["evening.jpg"],
+ "night": ["night.jpg"]
+ },
+ "wallpaper_dim": 15,
+ "wallpaper_order": "sequential",
+ "sky_intensity": 0
+}
diff --git a/themes/istanbul_v2/make_wallpapers.py b/themes/istanbul_v2/make_wallpapers.py
new file mode 100644
index 000000000..f022f2d91
--- /dev/null
+++ b/themes/istanbul_v2/make_wallpapers.py
@@ -0,0 +1,27 @@
+#!/usr/bin/env python3
+"""Makes themes/istanbul_v2/wallpapers/*.jpg from the owner's three pictures in originals/: each is scaled to the
+TV's 1920 px width and centred on black, so its own black frame bands grow by a few pixels instead of anything
+being cropped, then saved under the mood name config.json uses.
+
+ python3 make_wallpapers.py # needs Pillow
+"""
+from pathlib import Path
+
+from PIL import Image
+
+W, H = 1920, 1080
+HERE = Path(__file__).resolve().parent
+NAMES = {"morning": "ist_Morning.jpg", "evening": "ist_evening.jpg",
+ "night": "ist_night.jpg"}
+
+if __name__ == "__main__":
+ out = HERE / "wallpapers"
+ out.mkdir(exist_ok=True)
+ for mood, name in NAMES.items():
+ src = Image.open(HERE / "originals" / name).convert("RGB")
+ h = round(src.height * W / src.width)
+ canvas = Image.new("RGB", (W, H), (0, 0, 0))
+ canvas.paste(src.resize((W, h), Image.LANCZOS), (0, (H - h) // 2))
+ path = out / f"{mood}.jpg"
+ canvas.save(path, quality=85, optimize=True, progressive=True)
+ print(f"{path.name}: {path.stat().st_size // 1024} KB")
diff --git a/themes/istanbul_v2/screenshot.jpg b/themes/istanbul_v2/screenshot.jpg
new file mode 100644
index 000000000..0599d9817
Binary files /dev/null and b/themes/istanbul_v2/screenshot.jpg differ
diff --git a/themes/istanbul_v2/wallpapers/evening.jpg b/themes/istanbul_v2/wallpapers/evening.jpg
new file mode 100644
index 000000000..f846c40e9
Binary files /dev/null and b/themes/istanbul_v2/wallpapers/evening.jpg differ
diff --git a/themes/istanbul_v2/wallpapers/morning.jpg b/themes/istanbul_v2/wallpapers/morning.jpg
new file mode 100644
index 000000000..abfe5d5fc
Binary files /dev/null and b/themes/istanbul_v2/wallpapers/morning.jpg differ
diff --git a/themes/istanbul_v2/wallpapers/night.jpg b/themes/istanbul_v2/wallpapers/night.jpg
new file mode 100644
index 000000000..8c52f2e8c
Binary files /dev/null and b/themes/istanbul_v2/wallpapers/night.jpg differ