Add wallpaper-based color theming with matugen

- Matugen templates for Ghostty theme and GTK4 colors
- Ghostty uses generated wallpaper theme instead of Catppuccin
- GTK4 CSS imports generated color overrides
- Update alias runs matugen after switch to regenerate colors
- Add wallpaper fish function to change wallpaper + regen colors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-13 19:56:38 +01:00
parent 7a6ee02360
commit effa5e5cbb
6 changed files with 73 additions and 3 deletions

15
templates/gtk4-colors.css Normal file
View file

@ -0,0 +1,15 @@
@define-color accent_color {{colors.primary.primary.default.color}};
@define-color accent_bg_color {{colors.primary.primary_container.default.color}};
@define-color accent_fg_color {{colors.primary.on_primary_container.default.color}};
@define-color window_bg_color {{colors.primary.surface.default.color}};
@define-color window_fg_color {{colors.primary.on_surface.default.color}};
@define-color view_bg_color {{colors.primary.surface_container_low.default.color}};
@define-color view_fg_color {{colors.primary.on_surface.default.color}};
@define-color headerbar_bg_color {{colors.primary.surface_container.default.color}};
@define-color headerbar_fg_color {{colors.primary.on_surface.default.color}};
@define-color card_bg_color {{colors.primary.surface_container_high.default.color}};
@define-color card_fg_color {{colors.primary.on_surface.default.color}};
@define-color sidebar_bg_color {{colors.primary.surface_container.default.color}};
@define-color sidebar_fg_color {{colors.primary.on_surface.default.color}};
@define-color popover_bg_color {{colors.primary.surface_container.default.color}};
@define-color popover_fg_color {{colors.primary.on_surface.default.color}};