# Byzantine Light

An Eastern Orthodox-inspired desktop theme for Fedora Workstation, by Dustin Pressley / Pressley Services. Choose midnight blue and Byzantine gold, or burgundy and gold, with light and dark appearances for both.

## Included

- A native, resizable appearance chooser with previews, Apply and Restore.
- Two original generated Sanctuary wallpapers, supplied at their native 1672 × 941 resolution without upscaling.
- Four original Quiet Arches wallpapers: scalable SVG artwork with 3840 × 2160 viewports, suitable for high-resolution screens. Light appearances use the quieter light wallpaper; dark appearances offer Sanctuary or Quiet Arches.
- Original coordinated folder/device icons, retaining familiar system application icons through Adwaita inheritance.
- Original ivory/gold cursors at 24, 32, 48, 64 and 96 pixels, including animated busy/progress cursors.
- Four legacy GTK3 application themes, supported GNOME light/dark preferences and the native yellow accent for modern applications.
- Optional GNOME top-panel and menu styling that reloads when the palette changes and suspends itself in high-contrast mode.

This release targets **Fedora 44 and Fedora 45 with GNOME 50/51**. It requires a GNOME desktop; the Fedora KDE spin uses a different theme system. Some applications control their own appearance. Modern libadwaita applications follow the supported light/dark and accent preferences; they are not all recolored navy or burgundy. Existing fonts and cursor size are preserved. The login screen, boot screen and system files are not modified.

## Install and use

Download `byzantine-light-1.0.0-fedora.run`, then run as your regular desktop user:

```sh
sh byzantine-light-1.0.0-fedora.run
```

The single installer contains the chooser, wallpapers, icons, cursors and extension. No artwork is downloaded during installation. Missing native Python/GTK libraries can be installed from Fedora repositories through DNF; this may require internet access and sudo. There is no pip environment, account, telemetry or background service.

Open **Byzantine Light** from Applications, or run:

```sh
~/.local/bin/byzantine-light
```

Installation adds the chooser and resources without changing your current appearance. Preview a palette, choose the optional finishing touches, then select **Apply this appearance**. **Restore previous appearance** returns the settings saved before your first Apply, even after switching among several palettes.

A newly installed GNOME extension may first be discovered at the next sign-in. Wallpapers, icons, cursors and application appearance can apply immediately. If the optional panel styling has not appeared, sign out and back in when convenient. The installer never forces a logout or enables extensions globally. Existing dashboard/menu extensions remain enabled.

For an SSH session belonging to the logged-in desktop user, the command can discover that user's existing session bus. These commands require no GUI interaction:

```sh
~/.local/bin/byzantine-light --apply navy-dark
~/.local/bin/byzantine-light --apply burgundy-dark
~/.local/bin/byzantine-light --apply navy-light
~/.local/bin/byzantine-light --apply burgundy-light
~/.local/bin/byzantine-light --apply navy-dark --wallpaper quiet
~/.local/bin/byzantine-light --restore
~/.local/bin/byzantine-light --status
```

Add `--no-shell`, `--no-icons` or `--no-cursors` to an Apply command to omit those components. If a component was previously applied by this theme, omitting it restores its previous setting.

## Restore and remove

```sh
~/.local/bin/byzantine-light --restore
~/.local/bin/byzantine-light --uninstall
```

Or use `sh byzantine-light-1.0.0-fedora.run --uninstall`. Uninstall restores settings still controlled by the theme and preserves later manual choices such as a different accent. It removes only the package's owned resources and extension. Explicit Restore returns all managed settings to their original values, including settings that were previously unset. Other extensions' membership is preserved.

Files are installed per user under `~/.local/share/`, with the command under `~/.local/bin/`. The active appearance configuration is `~/.config/byzantine-light/appearance.json`. The original-settings backup and subsequent restoration receipt are `~/.local/state/byzantine-light/state.json`; keep this file while using the theme. A small receipt remains after uninstall.

## Distribution and inspection

The `.run` file is the end-user installer. The `.pyz` is its complete embedded application; native GTK/GNOME libraries are still supplied by Fedora. The source ZIP includes code, original artwork, editable vectors, generator, installer template and tests.

```sh
sha256sum -c SHA256SUMS
sh byzantine-light-1.0.0-fedora.run --check
sh byzantine-light-1.0.0-fedora.run --extract=./inspected-theme
```

`--extract` works without installing or applying anything. `--no-deps` prevents DNF dependency installation. The embedded payload is checked against its SHA-256 before installation or extraction. SHA256SUMS verifies integrity; it is not a publisher signature.

Code is MIT licensed. All bundled imagery is generated or original project artwork, with authored vectors and any rights held in generated imagery dedicated under CC0. System Adwaita resources are inherited, not redistributed. See [ARTWORK.md](ARTWORK.md) and [the exact generation prompts](artwork/prompts.json).

## Build and validation

On Fedora with Python GI, GdkPixbuf SVG support and libXcursor:

```sh
/usr/bin/python3 tools/build-assets.py
/usr/bin/python3 build.py
/usr/bin/python3 -m unittest discover -s tests -p test_theme.py -v
```

The artwork generator renders original vectors and compiles native cursors. Generated Sanctuary source PNGs are retained in `artwork/`; rebuilding does not contact an image service. Builds use deterministic embedded application timestamps. The source archive also contains development-only VM tooling; it is not installed on the desktop.

Disposable Fedora 44 and 45 VMs are tested serially. Checks cover the exact installer and payload hashes, dependency installation, reinstall, native chooser controls at multiple sizes, live GNOME panel palette changes, GTK3 parsing, accessibility/extension lifecycle, native left/right tiling, exact restoration and uninstall. Validation reports remain alongside the project in `validation/`; consult `dist/release.json` for the completed release's verified versions and checksums.
