Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to gtheme are documented here. The format follows

## [Unreleased]

- **The collection is now `magma`** (MAGMA — Obsidian Flow), replacing `nsx`,
`jojo` and `shoji`. A single all-in dark rice: obsidian-glass surfaces with
molten orange / lava gold accents and one cool teal vein, applied across
wallpaper, GTK, GNOME accent/icons, Ptyxis, Alacritty, starship, btop,
micro, fastfetch, fish, dash-to-dock, Tiling Shell and blur-my-shell.
Ships four terminal animations under `~/.local/share/gtheme/assets/magma/bin`
(fish shortcuts in parentheses): a live metaball lava-lamp fluid sim in
24-bit colour half-blocks (`lavalamp`), rising ember drift (`embers`), a
~3.5 s eruption (`erupt`) and a deterministic thermal-scan gauge card
(`thermal`). Three procedural wallpapers — cracked obsidian, the lava lamp
itself, and an ember updraft — share the animation's exact heat ramp and
rotate on a slow GNOME slideshow crossfade; the seeded numpy generator is
included under `assets/`.

- **shoji 1.1.0** — the vermilion Tiling Shell focus border is gone (it read
as an alert, not a seal; kept `false` in the manifest so re-apply heals
systems that had it). New procedurally painted `take.png` wallpaper — a
Expand Down
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ hand-written undo scripts, no half-reverted configs.

```sh
gtheme # ← just run it: an interactive arrow-key menu
gtheme apply nsx # back up current state, apply the NSX theme
gtheme switch jojo # swap themes (your pre-gtheme baseline is kept)
gtheme apply magma # back up current state, apply the MAGMA theme
gtheme diff magma # preview what a theme would change, first
gtheme restore # revert to the desktop you had before gtheme
```

Expand Down Expand Up @@ -83,12 +83,12 @@ A theme is a directory with a declarative `theme.toml`:

```toml
[meta]
name = "jojo"
title = "STONE OCEAN"
name = "magma"
title = "MAGMA — Obsidian Flow"

[palette] # or a separate palette.toml
bg = "#0B0E18"
accent = "#7DC75B"
bg = "#0D0A0F"
accent = "#FF6D3A"
# ...

[[files]] # component tag drives --only and per-file backup
Expand All @@ -100,13 +100,13 @@ dest = "~/.config/gtk-4.0/gtk.css"
component = "desktop"
backend = "gsettings"
key = "org.gnome.desktop.interface accent-color"
value = "'green'"
value = "'orange'"

[[settings]] # {{ runtime }} tokens resolve per-machine
component = "terminal"
backend = "dconf"
key = "/org/gnome/Ptyxis/Profiles/{{ ptyxis_default_profile }}/palette"
value = "'JoJo'"
value = "'Magma'"

[[hooks]] # optional scripts for the weird 10%
event = "post"
Expand Down Expand Up @@ -149,7 +149,7 @@ time, so manifests committed to the repo are portable across machines.
## Authoring: a palette becomes a desktop

```sh
gtheme new ocean --from jojo # scaffold, seeding the palette from jojo
gtheme new ocean --from magma # scaffold, seeding the palette from magma
$EDITOR ~/.local/share/gtheme/themes/ocean/palette.toml
gtheme build ocean # render alacritty/ptyxis/btop/micro/gtk from it
gtheme apply ocean --dry-run # preview every file + setting change
Expand Down Expand Up @@ -233,9 +233,7 @@ Found a boundary escape? See [SECURITY.md](SECURITY.md).

| | theme | |
|---|---|---|
| ![nsx palette](docs/media/palette-nsx.svg) | **nsx** | Honda NSX (NA1): Berlina-black cabin, Formula Red, Championship White |
| ![jojo palette](docs/media/palette-jojo.svg) | **jojo** | STONE OCEAN (JoJo Part 6+): Jolyne green, Stand-string blue, the Spin |
| ![shoji palette](docs/media/palette-shoji.svg) | **shoji** | Paper & Ink: washi paper, sumi ink, one vermilion hanko — a light-mode rice |
| ![magma palette](docs/media/palette-magma.svg) | **magma** | MAGMA — Obsidian Flow: obsidian glass, molten orange, lava gold, one cool teal vein. Ships a live lava-lamp fluid sim for the terminal (`lavalamp`), plus `embers`, `erupt` and `thermal`, and three procedural wallpapers on a slow crossfade |

Contribute yours: `gtheme publish <name>` prints the exact PR steps, and
[CONTRIBUTING.md](CONTRIBUTING.md) has the submission checklist (validate
Expand Down
1 change: 0 additions & 1 deletion docs/media/palette-jojo.svg

This file was deleted.

1 change: 1 addition & 0 deletions docs/media/palette-magma.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/media/palette-nsx.svg

This file was deleted.

1 change: 0 additions & 1 deletion docs/media/palette-shoji.svg

This file was deleted.

2 changes: 1 addition & 1 deletion src/gtheme/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def cmd_menu(args: argparse.Namespace) -> int:
_EPILOG = """\
examples:
gtheme open the interactive menu
gtheme apply nsx --dry-run preview a theme without changing anything
gtheme apply magma --dry-run preview a theme without changing anything
gtheme install https://github.com/you/yourtheme
install a theme from a git URL (or a .zip / folder)
"""
Expand Down
2 changes: 1 addition & 1 deletion src/gtheme/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
The session runs on the terminal's alternate screen; command output (diffs,
apply logs) is printed on the normal screen so it survives in scrollback
after the menu exits. Screens are drawn one at a time with a breadcrumb
title (``gtheme › apply › jojo``) instead of stacking widgets.
title (``gtheme › apply › magma``) instead of stacking widgets.
"""

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion src/gtheme/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def _bold_gradient(text: str) -> str:


def _crumbs(title: str) -> str:
"""Style 'gtheme › apply › jojo': gradient wordmark, dim separators."""
"""Style 'gtheme › apply › magma': gradient wordmark, dim separators."""
sep = ansi.GLYPH["crumb"]
parts = [p.strip() for p in title.split("›")]
out = [_bold_gradient(parts[0])]
Expand Down
46 changes: 3 additions & 43 deletions themes/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"version": 1,
"themes": [
{
"name": "jojo",
"title": "STONE OCEAN",
"description": "JoJo Part 6+: Stone Ocean / Steel Ball Run / JoJolion. No Part 1-5.",
"name": "magma",
"title": "MAGMA \u2014 Obsidian Flow",
"description": "Obsidian glass over a living magma chamber: ember orange, lava gold, one cool teal vein. Ships a real lava-lamp fluid sim for the terminal.",
"author": "blyatiful1",
"version": "1.0.0",
"components": [
Expand All @@ -22,46 +22,6 @@
"desktop",
"dock"
]
},
{
"name": "nsx",
"title": "NSX \u2014 Formula Red",
"description": "Honda NSX NA1: Berlina-black cabin, Formula Red, Championship White.",
"author": "blyatiful1",
"version": "1.0.0",
"components": [
"terminal",
"prompt",
"shell-cfg",
"monitor",
"editor",
"fastfetch",
"gtk",
"shell",
"wallpaper",
"desktop",
"dock"
]
},
{
"name": "shoji",
"title": "SHOJI \u2014 Paper & Ink",
"description": "Washi paper, sumi ink, one vermilion hanko. A quiet light-mode GNOME.",
"author": "blyatiful1",
"version": "1.1.0",
"components": [
"wallpaper",
"terminal",
"prompt",
"shell-cfg",
"monitor",
"editor",
"fastfetch",
"gtk",
"shell",
"desktop",
"dock"
]
}
]
}
64 changes: 0 additions & 64 deletions themes/jojo/assets/golden-spin.svg

This file was deleted.

83 changes: 0 additions & 83 deletions themes/jojo/assets/soft-and-wet.svg

This file was deleted.

Loading
Loading