Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Launcher: add opt-in Hebrew date and Jewish holiday greetings
lionlev21c9d4a2c85416
diff --git a/docs/switches.md b/docs/switches.mdindex 17f253536..b71bd76e9 100644--- a/docs/switches.md+++ b/docs/switches.md@@ -29,3 +29,10 @@ the rules. Keys from before this rule are on its wanted list; a screenshot for o| `settings_key_panel` | <img src="quick-settings-panel.jpg" width="320" alt="settings_key_panel on a TV"> || `home_idle_clock_minutes` | <img src="clock-screensaver.png" width="320" alt="home_idle_clock_minutes on a TV"> || `gamepad_passthrough` | <img src="switches/gamepad_passthrough.jpg" width="320" alt="gamepad_passthrough on a TV"> |+| `hebrew_date` | <img src="switches/hebrew_date.jpg" width="320" alt="Hebrew and Gregorian dates on a TV"> |+| `jewish_holiday_greetings` | <img src="switches/jewish_holiday_greetings.jpg" width="320" alt="Jewish holiday greetings on a TV"> |+| `jewish_holiday_region` | <img src="switches/jewish_holiday_greetings.jpg" width="320" alt="Israel and Diaspora greeting preview on a TV"> |++The holiday comparison uses a private test build with its calendar date fixed to 22 Tishri for visual+validation only; the TV's system clock was not changed. Production code always uses the live date.+Only explicitly approved date/greeting/clock crops are shown; the rest of the screen is excluded.diff --git a/docs/switches/hebrew_date.jpg b/docs/switches/hebrew_date.jpgnew file mode 100644index 000000000..d442b7bcdBinary files /dev/null and b/docs/switches/hebrew_date.jpg differdiff --git a/docs/switches/jewish_holiday_greetings.jpg b/docs/switches/jewish_holiday_greetings.jpgnew file mode 100644index 000000000..c39187965Binary files /dev/null and b/docs/switches/jewish_holiday_greetings.jpg differdiff --git a/launcher/app/src/main/java/com/gathin/tvhome/Config.java b/launcher/app/src/main/java/com/gathin/tvhome/Config.javaindex 6252d6d4b..3d95dac7c 100644--- a/launcher/app/src/main/java/com/gathin/tvhome/Config.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/Config.java@@ -85,6 +85,7 @@ final class Config {final boolean advancedEffects;final int rowsBelowDock;final boolean shamsiDate;+ final JewishDate jewishDate;/** Name after the greeting ("Good morning, Mr. Trịnh"); empty for the greeting alone. */final String greetingName;final boolean moduleCards;@@ -212,7 +213,7 @@ final class Config {Map<String, String> appBanners, String sourcePanelService, String sourcePanelAction,String sourcePanelExtra, boolean coocaaSources, String inputAction,String inputUriScheme, int columns, int rowsBelowDock, boolean animations, boolean advancedEffects,- boolean shamsiDate, String greetingName, boolean moduleCards, boolean reducedMotion, boolean bootToLiveTv, boolean dockTitle, boolean dockRow, boolean topMenu, boolean launcherSettingsButton, boolean reorderButton, boolean showNetworkPill, boolean showInputsPill, boolean iconOnlyButtons, boolean iconOnlyInputs, boolean libraryButton, int wifiLabelWidth, boolean alwaysShowNames, boolean wallpaperTrueColor, boolean focusOvershoot, String vpnApp,+ boolean shamsiDate, JewishDate jewishDate, String greetingName, boolean moduleCards, boolean reducedMotion, boolean bootToLiveTv, boolean dockTitle, boolean dockRow, boolean topMenu, boolean launcherSettingsButton, boolean reorderButton, boolean showNetworkPill, boolean showInputsPill, boolean iconOnlyButtons, boolean iconOnlyInputs, boolean libraryButton, int wifiLabelWidth, boolean alwaysShowNames, boolean wallpaperTrueColor, boolean focusOvershoot, String vpnApp,boolean showHomeSettingsShortcut, boolean showStats, boolean appLibrary, boolean appLibrarySelection, int backgroundColor, int skyIntensity,int[] settingsKeycodes, boolean settingsKeyPanel, boolean restoreKeyServices, boolean wallpaperEnabled, File wallpaper, List<File> wallpapers,int wallpaperRotationMinutes, int wallpaperDim, int dockOpacity, String wallpaperOrder, boolean overlayApplied,@@ -248,6 +249,7 @@ final class Config {this.animations = animations;this.advancedEffects = advancedEffects;this.shamsiDate = shamsiDate;+ this.jewishDate = jewishDate;this.greetingName = greetingName;this.moduleCards = moduleCards;this.reducedMotion = reducedMotion;@@ -516,7 +518,7 @@ final class Config {packageMap(appBanners), panelService,panelAction, panelExtra, coocaaSources, inputAction, inputUriScheme,Math.max(1, columns), Math.max(0, rowsBelow), animations, advancedEffects,- shamsi, greetingName, moduleCards, reducedMotion, bootToLiveTv, dockTitle, dockRow, topMenu, launcherSettingsButton, reorderButton, showNetworkPill, showInputsPill, iconOnlyButtons, iconOnlyInputs, libraryButton, wifiLabelWidth, alwaysShowNames, wallpaperTrueColor, focusOvershoot, vpn, homeSettings, showStats, library, librarySelection, background,+ shamsi, JewishDate.load(res, json), greetingName, moduleCards, reducedMotion, bootToLiveTv, dockTitle, dockRow, topMenu, launcherSettingsButton, reorderButton, showNetworkPill, showInputsPill, iconOnlyButtons, iconOnlyInputs, libraryButton, wifiLabelWidth, alwaysShowNames, wallpaperTrueColor, focusOvershoot, vpn, homeSettings, showStats, library, librarySelection, background,Math.max(0, Math.min(100, skyIntensity)), settingsKeycodes, settingsKeyPanel, restoreKeyServices, wallpaperEnabled, wallpaper,wallpapers, rotationMinutes, wallpaperDim, dockOpacity, wallpaperOrder, applied,festival, inputKeycodes, appKeys, stockHomeRedirect, json == null ? Collections.emptyList() : raceCalendar(json), cinematic, ambientGlow, appGlow, fadeRows,diff --git a/launcher/app/src/main/java/com/gathin/tvhome/JewishDate.java b/launcher/app/src/main/java/com/gathin/tvhome/JewishDate.javanew file mode 100644index 000000000..4ba9130a6--- /dev/null+++ b/launcher/app/src/main/java/com/gathin/tvhome/JewishDate.java@@ -0,0 +1,115 @@+package com.gathin.tvhome;++import android.content.res.Resources;+import android.icu.text.SimpleDateFormat;+import android.icu.util.HebrewCalendar;+import android.icu.util.ULocale;+import org.json.JSONObject;+import java.time.LocalDate;+import java.time.ZonedDateTime;+import java.util.Locale;++/** Optional civil display, computed offline; sunset is approximate, not a source of religious times. */+final class JewishDate {+ final boolean showDate, greetings;+ private final double latitude, longitude;+ private final String region;++ private JewishDate(boolean date, boolean greetings, String region, double latitude, double longitude) {+ this.showDate = date;+ this.greetings = greetings;+ this.region = region;+ this.latitude = latitude;+ this.longitude = longitude;+ }++ static JewishDate load(Resources res, JSONObject json) {+ boolean date = flag(res, json, "hebrew_date", R.bool.hebrew_date);+ boolean greetings = flag(res, json, "jewish_holiday_greetings", R.bool.jewish_holiday_greetings);+ if (!date && !greetings) return null;+ try {+ double lat = Double.parseDouble(res.getString(R.string.latitude));+ double lon = Double.parseDouble(res.getString(R.string.longitude));+ if (!validLocation(lat, lon)) return null;+ return new JewishDate(date, greetings,+ value(res, json, "jewish_holiday_region", R.string.jewish_holiday_region), lat, lon);+ } catch (NumberFormatException e) {+ return null;+ }+ }++ private static boolean flag(Resources res, JSONObject json, String key, int id) {+ return json == null ? res.getBoolean(id) : json.optBoolean(key, res.getBoolean(id));+ }++ private static String value(Resources res, JSONObject json, String key, int id) {+ return (json == null ? res.getString(id) : json.optString(key, res.getString(id))).trim();+ }++ static boolean validLocation(double latitude, double longitude) {+ return Double.isFinite(latitude) && Double.isFinite(longitude)+ && Math.abs(latitude) <= 90 && Math.abs(longitude) <= 180;+ }++ /** Null when there is no sunset; never silently substitute another city's sunset. */+ LocalDate day(ZonedDateTime now) {+ return day(now, latitude, longitude);+ }++ static LocalDate day(ZonedDateTime now, double latitude, double longitude) {+ if (!validLocation(latitude, longitude)) return null;+ LocalDate date = now.toLocalDate();+ int[] sun = Sun.riseAndSet(date, latitude, longitude, now.getZone());+ if (sun == null) return null;+ return now.getHour() * 60 + now.getMinute() >= sun[1] ? date.plusDays(1) : date;+ }++ static boolean israel(Locale locale, String region) {+ if ("israel".equals(region)) return true;+ if ("diaspora".equals(region)) return false;+ return "IL".equals(locale.getCountry()) || (locale.getCountry().isEmpty()+ && ("he".equals(locale.getLanguage()) || "iw".equals(locale.getLanguage())));+ }++ private static HebrewCalendar calendar(LocalDate day) {+ HebrewCalendar calendar = new HebrewCalendar(android.icu.util.TimeZone.getTimeZone("UTC"));+ calendar.setTimeInMillis(day.toEpochDay() * 86400000L + 43200000L);+ return calendar;+ }++ static String text(LocalDate day, Locale locale) {+ boolean he = "he".equals(locale.getLanguage()) || "iw".equals(locale.getLanguage());+ SimpleDateFormat format = new SimpleDateFormat(he ? "d בMMMM y" : "d MMMM y",+ he ? new ULocale("he_IL@calendar=hebrew;numbers=hebr")+ : new ULocale(locale.toString() + "@calendar=hebrew"));+ HebrewCalendar calendar = calendar(day);+ format.setCalendar(calendar);+ return format.format(calendar.getTime());+ }++ int greeting(LocalDate day, Locale locale) {+ HebrewCalendar c = calendar(day);+ int month = c.get(HebrewCalendar.MONTH), date = c.get(HebrewCalendar.DAY_OF_MONTH);+ // Kislev may have 29 or 30 days; Hanukkah always lasts eight days.+ c.set(HebrewCalendar.MONTH, HebrewCalendar.KISLEV);+ c.set(HebrewCalendar.DAY_OF_MONTH, 1);+ return holiday(month, date, c.getActualMaximum(HebrewCalendar.DAY_OF_MONTH), israel(locale, region));+ }++ /** ICU month numbers: Tishri=0, Kislev=2, Tevet=3, Adar/Adar II=6, Nisan=7, Sivan=9. */+ static int holiday(int month, int day, int kislevDays, boolean israel) {+ if (month == 0) {+ if (day == 1 || day == 2) return R.string.jewish_rosh_hashanah;+ if (day == 10) return R.string.jewish_yom_kippur;+ if (day >= 15 && day <= 21) return R.string.jewish_happy_holiday;+ if (day == 22) return israel ? R.string.jewish_simchat_torah : R.string.jewish_happy_holiday;+ if (day == 23 && !israel) return R.string.jewish_simchat_torah;+ }+ if ((month == 2 && day >= 25 && day <= kislevDays)+ || (month == 3 && day >= 1 && day <= 32 - kislevDays)) return R.string.jewish_hanukkah;+ if (month == 6 && (day == 14 || day == 15)) return R.string.jewish_purim;+ if (month == 7 && day >= 15 && day <= (israel ? 21 : 22)) return R.string.jewish_happy_holiday;+ if (month == 9 && (day == 6 || (day == 7 && !israel))) return R.string.jewish_happy_holiday;+ return 0;+ }+}diff --git a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.javaindex dca4f8424..a99336022 100644--- a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java+++ b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java@@ -186,6 +186,7 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {/** config.xml show_stats, overridable by a theme. Off: the line is gone and nothing is read. */private boolean showStats;private boolean shamsi;+ private JewishDate jewishDate;/** greeting_name: said after the greeting, which is shown in capitals. */private String greetingName = "";/** Optional time-of-day backdrop (config.xml, sky_intensity); 0 keeps it hidden. */@@ -444,10 +445,21 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {raceSessions = findViewById(R.id.raceSessions);showStats = cfg.showStats;shamsi = cfg.shamsiDate;+ jewishDate = cfg.jewishDate;greetingName = cfg.greetingName;- if (shamsi) {+ if (shamsi || (jewishDate != null && jewishDate.showDate)) {+ if (shamsi && jewishDate != null && jewishDate.showDate) {+ shamsiDate.setSingleLine(false);+ shamsiDate.setMaxLines(2);+ }+ if (jewishDate != null && jewishDate.showDate) {+ shamsiDate.getLayoutParams().width = ViewGroup.LayoutParams.WRAP_CONTENT;+ }shamsiDate.setVisibility(View.VISIBLE);TextView date = findViewById(R.id.date);+ if (jewishDate != null && jewishDate.showDate) {+ date.getLayoutParams().width = ViewGroup.LayoutParams.MATCH_PARENT;+ }date.setTextSize(11f);date.setPadding(0, (int) (4 * density), 0, 0);}@@ -2275,16 +2287,27 @@ public class MainActivity extends Activity implements AppAdapter.TileListener {else if (hour < 22) res = R.string.good_evening;else res = R.string.good_night;}+ java.time.LocalDate jewishDay = jewishDate == null ? null+ : jewishDate.day(java.time.ZonedDateTime.now());+ int holiday = jewishDay != null && jewishDate.greetings ? jewishDate.greeting(jewishDay, locale) : 0;String festiveGreeting = festive ? festival.greetingText(getResources()) : "";+ if (festiveGreeting.isEmpty() && holiday != 0) festiveGreeting = getString(holiday);if (!festiveGreeting.isEmpty()) {greeting.setText(festiveGreeting);- greeting.setTextColor(liftTowardsWhite(festival.accentColor(), 0.25f));+ greeting.setTextColor(festive ? liftTowardsWhite(festival.accentColor(), 0.25f) : greetingColor);} else {greeting.setText(greetingName.isEmpty() ? getString(res): getString(R.string.greeting_with_name, getString(res), greetingName));greeting.setTextColor(greetingColor);}- if (shamsi) shamsiDate.setText(Shamsi.today(getResources()));+ if (shamsi || (jewishDate != null && jewishDate.showDate)) {+ String text = shamsi ? Shamsi.today(getResources()) : "";+ if (jewishDay != null && jewishDate.showDate) {+ text += (text.isEmpty() ? "" : "\n") + JewishDate.text(jewishDay, locale);+ }+ shamsiDate.setText(text);+ shamsiDate.setVisibility(text.isEmpty() ? View.GONE : View.VISIBLE);+ }}// ---- race-weekend panel (a theme's race_calendar) -----------------------------------------------diff --git a/launcher/app/src/main/res/values-iw/strings.xml b/launcher/app/src/main/res/values-iw/strings.xmlindex d67716df0..7fabb6fbb 100644--- a/launcher/app/src/main/res/values-iw/strings.xml+++ b/launcher/app/src/main/res/values-iw/strings.xml@@ -141,4 +141,11 @@<string name="race_countdown_hours">%1$d שע׳ %2$d דק׳</string><string name="race_countdown_days">%1$d ימ׳ %2$d שע׳</string><string name="last_opened">פתיחה אחרונה: %1$s</string>+ <!-- Optional Jewish holiday greetings; enabled explicitly in config.xml or a theme. -->+ <string name="jewish_rosh_hashanah">שנה טובה</string>+ <string name="jewish_yom_kippur">גמר חתימה טובה</string>+ <string name="jewish_simchat_torah">חג שמחת תורה שמח</string>+ <string name="jewish_hanukkah">חנוכה שמח</string>+ <string name="jewish_purim">פורים שמח</string>+ <string name="jewish_happy_holiday">חג שמח</string></resources>diff --git a/launcher/app/src/main/res/values/config.xml b/launcher/app/src/main/res/values/config.xmlindex f600b7d60..7bdfe5bdd 100644--- a/launcher/app/src/main/res/values/config.xml+++ b/launcher/app/src/main/res/values/config.xml@@ -185,6 +185,14 @@<!-- Show the Solar Hijri (Shamsi) date used in Iran and Afghanistan, e.g. "27 Mehr 1405", above theGregorian date. --><bool name="shamsi_date">false</bool>+ <!-- Optional Hebrew date beside the Gregorian date and Jewish holiday greetings. Both are off.+ Theme JSON accepts the same keys. A valid manual location is required for offline sunset rollover.+ No location permission or network request. Approximate display, not religious timing guidance. -->+ <bool name="hebrew_date">false</bool>+ <bool name="jewish_holiday_greetings">false</bool>+ <!-- auto: IL country (or Hebrew without a country) uses Israel; other countries use Diaspora.+ Override with israel or diaspora when the app language does not reflect the desired schedule. -->+ <string name="jewish_holiday_region" translatable="false">auto</string><!-- A name after the greeting: "Mr. Trịnh" shows GOOD MORNING, MR. TRỊNH. Empty: the greeting alone. --><string name="greeting_name" translatable="false"></string>diff --git a/launcher/app/src/main/res/values/strings.xml b/launcher/app/src/main/res/values/strings.xmlindex aa9d3e9e2..daa84f96a 100644--- a/launcher/app/src/main/res/values/strings.xml+++ b/launcher/app/src/main/res/values/strings.xml@@ -145,4 +145,11 @@<!-- Cinematic top shelf (cinematic_home): the line under the focused dock app's name; %1$s is when it waslast opened, e.g. "5 minutes ago" or "yesterday, 9:40 pm". --><string name="last_opened">Last opened %1$s</string>+ <!-- Optional Jewish holiday greetings; enabled explicitly in config.xml or a theme. -->+ <string name="jewish_rosh_hashanah">Happy New Year</string>+ <string name="jewish_yom_kippur">Gmar tov</string>+ <string name="jewish_simchat_torah">Happy holiday</string>+ <string name="jewish_hanukkah">Happy Hanukkah</string>+ <string name="jewish_purim">Happy Purim</string>+ <string name="jewish_happy_holiday">Happy holiday</string></resources>diff --git a/launcher/app/src/test/java/com/gathin/tvhome/JewishDateTest.java b/launcher/app/src/test/java/com/gathin/tvhome/JewishDateTest.javanew file mode 100644index 000000000..02a049228--- /dev/null+++ b/launcher/app/src/test/java/com/gathin/tvhome/JewishDateTest.java@@ -0,0 +1,61 @@+package com.gathin.tvhome;++import org.junit.Test;+import java.time.LocalDate;+import java.time.ZoneId;+import java.time.ZonedDateTime;+import java.util.Locale;+import static org.junit.Assert.*;++public class JewishDateTest {+ @Test public void sunsetRollsForwardOnlyAtBoundaryAndHandlesDst() {+ for (LocalDate day : new LocalDate[]{LocalDate.of(2026, 3, 26), LocalDate.of(2026, 3, 27),+ LocalDate.of(2026, 9, 11), LocalDate.of(2026, 10, 25)}) {+ ZoneId zone = ZoneId.of("Asia/Jerusalem");+ int sunset = Sun.riseAndSet(day, 31.778, 35.235, zone)[1];+ ZonedDateTime boundary = day.atStartOfDay(zone).withHour(sunset / 60).withMinute(sunset % 60);+ assertEquals(day, JewishDate.day(boundary.minusMinutes(1), 31.778, 35.235));+ assertEquals(day.plusDays(1), JewishDate.day(boundary, 31.778, 35.235));+ }+ }+ @Test public void invalidOrPolarLocationDoesNotInventSunset() {+ assertFalse(JewishDate.validLocation(Double.NaN, 0));+ assertFalse(JewishDate.validLocation(0, Double.POSITIVE_INFINITY));+ assertFalse(JewishDate.validLocation(91, 0));+ assertFalse(JewishDate.validLocation(0, -181));+ assertNull(JewishDate.day(ZonedDateTime.parse("2026-06-21T12:00:00Z"), 90, 0));+ }+ @Test public void explicitRegionAndCountryBeatLanguage() {+ assertTrue(JewishDate.israel(new Locale("en", "IL"), "auto"));+ assertTrue(JewishDate.israel(new Locale("he"), "auto"));+ assertFalse(JewishDate.israel(new Locale("he", "US"), "auto"));+ assertFalse(JewishDate.israel(Locale.US, "auto"));+ assertTrue(JewishDate.israel(Locale.US, "israel"));+ assertFalse(JewishDate.israel(new Locale("he", "IL"), "diaspora"));+ }+ @Test public void holidayRangesAndDiasporaExtraDays() {+ assertEquals(R.string.jewish_rosh_hashanah, JewishDate.holiday(0, 1, 30, true));+ assertEquals(0, JewishDate.holiday(0, 3, 30, true));+ assertEquals(R.string.jewish_yom_kippur, JewishDate.holiday(0, 10, 30, true));+ assertEquals(R.string.jewish_happy_holiday, JewishDate.holiday(0, 21, 30, true));+ assertEquals(R.string.jewish_simchat_torah, JewishDate.holiday(0, 22, 30, true));+ assertEquals(R.string.jewish_happy_holiday, JewishDate.holiday(0, 22, 30, false));+ assertEquals(R.string.jewish_simchat_torah, JewishDate.holiday(0, 23, 30, false));+ assertEquals(0, JewishDate.holiday(0, 23, 30, true));+ assertEquals(R.string.jewish_happy_holiday, JewishDate.holiday(7, 22, 30, false));+ assertEquals(0, JewishDate.holiday(7, 22, 30, true));+ assertEquals(R.string.jewish_happy_holiday, JewishDate.holiday(9, 7, 30, false));+ assertEquals(0, JewishDate.holiday(9, 7, 30, true));+ assertEquals(0, JewishDate.holiday(5, 14, 30, true)); // Adar I is not Purim.+ assertEquals(R.string.jewish_purim, JewishDate.holiday(6, 14, 30, true));+ assertEquals(R.string.jewish_purim, JewishDate.holiday(6, 15, 30, true));+ }+ @Test public void hanukkahHasEightDaysWithShortOrLongKislev() {+ for (int length : new int[]{29, 30}) {+ int count = 0;+ for (int month : new int[]{2, 3}) for (int d = 1; d <= (month == 2 ? length : 29); d++)+ if (JewishDate.holiday(month, d, length, true) == R.string.jewish_hanukkah) count++;+ assertEquals(8, count);+ }+ }+}diff --git a/tests/test_hebrew_resources.py b/tests/test_hebrew_resources.pyindex 18a22f397..63e5a0f0e 100644--- a/tests/test_hebrew_resources.py+++ b/tests/test_hebrew_resources.py@@ -30,6 +30,11 @@ class HebrewResourcesTest(unittest.TestCase):self.assertEqual(sorted(placeholders.findall(value.text or "")),sorted(placeholders.findall(hebrew[name].text or "")))+ def test_jewish_calendar_features_are_off_by_default(self):+ config = ET.parse(RES / "values/config.xml").getroot()+ for key in ("hebrew_date", "jewish_holiday_greetings"):+ self.assertEqual("false", config.find("bool[@name='" + key + "']").text)+def test_hebrew_home_keeps_all_default_view_ids_and_types(self):default, hebrew = views("layout"), views("layout-iw")for view_id, tag in default.items():diff --git a/themes/README.md b/themes/README.mdindex fd66ad533..b372ca602 100644--- a/themes/README.md+++ b/themes/README.md@@ -70,6 +70,9 @@ A new key needs one there in the same pull request.| `app_library_selection` | bool | OK toggles Home checkmarks in the library; checked apps first, both groups alphabetized. Hiding keeps focus on the adjacent next app (previous at the end). Requires `app_library`; `false` preserves the standard open/long-press behavior || `library_apps` | list of package names | Packages pre-seeded into the App library's "added" set at startup (config.xml `library_apps`, or a theme's `config.json`). They show on Home as if the owner had added them in the App library UI, and stay removable there (a removed one stays hidden); empty (off) by default || `shamsi_date` | bool | Show the Solar Hijri date above the Gregorian one |+| `hebrew_date` | bool | Off by default; show the Hebrew calendar date above the Gregorian one. Requires the manual location described below for offline sunset rollover |+| `jewish_holiday_greetings` | bool | Off by default; replace the normal greeting during major Jewish holidays, Hanukkah and Purim (including Shushan Purim). An explicit festival-theme greeting has priority |+| `jewish_holiday_region` | string | `auto` (default): country `IL` uses Israel, other countries use Diaspora; Hebrew without a country uses Israel. Override with `israel` or `diaspora` || `greeting_name` | string | A name after the greeting, e.g. `"Mr. Trịnh"` for GOOD MORNING, MR. TRỊNH; empty for the greeting alone || `module_cards` | bool | Look for module cards and ask about them (`true`); `false` turns the feature off || `reduced_motion` | bool | Calmer motion for weak GPUs: the highlight slides without bouncing and settles within 5 frames, every animation lasts 90 ms or less, names, the top shelf, the glow and the highlight appear instead of fading, and there is no tile entrance (`false` by default) |@@ -200,3 +203,22 @@ Open a PR with a new folder here containing:Then add a row to the table above with the screenshot, the same way as the others. Keep the dock listgeneric (the big streaming apps) unless the theme is for a specific TV, and say which TV you tried it onin the PR description.++### Optional Hebrew date and Jewish holiday greetings++Both switches are independent and off by default. Enable them explicitly in `config.xml` or a theme's+`config.json`, and set the existing `latitude` and `longitude` build resources in `config.xml`+to manual coordinates for the TV's city (themes cannot move the configured location). The TV calculates sunset offline with the existing solar helper and+uses Android's built-in Hebrew calendar (no added dependency or permission). The Hebrew date advances at+that sunset in the TV's time zone; keep its time zone correct. The calculation is approximate and is for+this date/greeting display, not candle-lighting, Havdalah or other religious timing guidance.++`jewish_holiday_region` follows the app locale's country, not GPS or the TV's network. A country is more+specific than language (for example, Hebrew/US uses Diaspora and English/Israel uses Israel). Use an explicit+region override if the app locale does not describe the schedule you observe. With no available sunset the+optional date and holiday greeting are omitted; the Gregorian date and normal greeting stay available.+The switches affect Home, not the separate clock screensaver. Hebrew formatting follows the selected locale;+other languages use ICU's localized Hebrew-calendar month names. Existing explicit festival greetings win.++Calendar validation uses [Hebcal's converter and holiday API](https://www.hebcal.com/home/developer-apis)+on the development computer only; the launcher never calls them.