Krolyxon
Commit 8638617

Branches

Refs →

aurora8638617

matugen: add config and templates

Author
krolyxon
Date
2026-10-25 17:37 +0530
Parent
f93a494
Commit
86386171deea4d857ba7ce9c822802b7735fe531

+152 −0

8 files changed

  1. A .config/matugen/config.toml +34 −0
  2. A .config/matugen/templates/aurora.json +18 −0
  3. A .config/matugen/templates/cava +7 −0
  4. A .config/matugen/templates/colors-zathura +31 −0
  5. A .config/matugen/templates/gtk.css +34 −0
  6. A .config/matugen/templates/hyprland-colors.lua +11 −0
  7. A .config/matugen/templates/hyprlock.conf +10 −0
  8. A .config/matugen/templates/qt-colors.conf +7 −0
A .config/matugen/config.toml View
@@ -0,0 +1,34 @@
1+# matugen: Material colours for everything that is UI. aurora (Wall.qml) runs it on every wallpaper
2+# change, with the scheme type / contrast from its settings. pywal16 still runs too, only for the terminal.
3+# Outputs go to ~/.cache/matugen/, like pywal's ~/.cache/wal/.
4+[config]
5+
6+[templates.aurora]
7+input_path = '~/.config/matugen/templates/aurora.json'
8+output_path = '~/.cache/matugen/aurora.json'
9+
10+[templates.hyprland]
11+input_path = '~/.config/matugen/templates/hyprland-colors.lua'
12+output_path = '~/.cache/matugen/hyprland-colors.lua'
13+post_hook = 'hyprctl reload config-only >/dev/null 2>&1 || :'
14+
15+[templates.hyprlock]
16+input_path = '~/.config/matugen/templates/hyprlock.conf'
17+output_path = '~/.cache/matugen/hyprlock.conf'
18+
19+[templates.zathura]
20+input_path = '~/.config/matugen/templates/colors-zathura'
21+output_path = '~/.cache/matugen/colors-zathura'
22+
23+[templates.cava]
24+input_path = '~/.config/matugen/templates/cava'
25+output_path = '~/.cache/matugen/cava'
26+post_hook = 'pkill -USR2 -x cava || :'
27+
28+[templates.gtk]
29+input_path = '~/.config/matugen/templates/gtk.css'
30+output_path = '~/.cache/matugen/gtk.css'
31+
32+[templates.qt]
33+input_path = '~/.config/matugen/templates/qt-colors.conf'
34+output_path = '~/.cache/matugen/qt-colors.conf'
A .config/matugen/templates/aurora.json View
@@ -0,0 +1,18 @@
1+{
2+ "image": "{{image}}",
3+ "bg": "{{colors.surface.default.hex}}",
4+ "fg": "{{colors.on_surface.default.hex}}",
5+ "primary": "{{colors.primary.default.hex}}",
6+ "primaryFg": "{{colors.on_primary.default.hex}}",
7+ "primaryContainer": "{{colors.primary_container.default.hex}}",
8+ "secondary": "{{colors.secondary.default.hex}}",
9+ "tertiary": "{{colors.tertiary.default.hex}}",
10+ "surfaceLow": "{{colors.surface_container_low.default.hex}}",
11+ "surface": "{{colors.surface_container.default.hex}}",
12+ "surfaceHigh": "{{colors.surface_container_high.default.hex}}",
13+ "surfaceHighest": "{{colors.surface_container_highest.default.hex}}",
14+ "outline": "{{colors.outline.default.hex}}",
15+ "outlineVariant": "{{colors.outline_variant.default.hex}}",
16+ "surfaceVariantFg": "{{colors.on_surface_variant.default.hex}}",
17+ "err": "{{colors.error.default.hex}}"
18+}
A .config/matugen/templates/cava View
@@ -0,0 +1,7 @@
1+[color]
2+gradient = 1
3+
4+gradient_color_1 = '{{colors.primary_container.default.hex}}'
5+gradient_color_2 = '{{colors.primary.default.hex}}'
6+gradient_color_3 = '{{colors.tertiary.default.hex}}'
7+gradient_color_4 = '{{colors.secondary.default.hex}}'
A .config/matugen/templates/colors-zathura View
@@ -0,0 +1,31 @@
1+set completion-bg "{{colors.surface.default.hex}}"
2+set completion-fg "{{colors.on_surface.default.hex}}"
3+set completion-group-bg "{{colors.surface.default.hex}}"
4+set completion-group-fg "{{colors.primary.default.hex}}"
5+set completion-highlight-bg "{{colors.primary.default.hex}}"
6+set completion-highlight-fg "{{colors.on_primary.default.hex}}"
7+
8+set recolor-lightcolor "{{colors.surface.default.hex}}"
9+set recolor-darkcolor "{{colors.on_surface.default.hex}}"
10+set default-bg "{{colors.surface.default.hex}}"
11+
12+set inputbar-bg "{{colors.surface_container.default.hex}}"
13+set inputbar-fg "{{colors.on_surface.default.hex}}"
14+set notification-bg "{{colors.surface_container.default.hex}}"
15+set notification-fg "{{colors.on_surface.default.hex}}"
16+set notification-error-bg "{{colors.error.default.hex}}"
17+set notification-error-fg "{{colors.on_error.default.hex}}"
18+set notification-warning-bg "{{colors.tertiary.default.hex}}"
19+set notification-warning-fg "{{colors.on_tertiary.default.hex}}"
20+set statusbar-bg "{{colors.surface_container.default.hex}}"
21+set statusbar-fg "{{colors.on_surface.default.hex}}"
22+set index-bg "{{colors.surface.default.hex}}"
23+set index-fg "{{colors.on_surface.default.hex}}"
24+set index-active-bg "{{colors.primary.default.hex}}"
25+set index-active-fg "{{colors.on_primary.default.hex}}"
26+set render-loading-bg "{{colors.surface.default.hex}}"
27+set render-loading-fg "{{colors.on_surface.default.hex}}"
28+
29+set window-title-home-tilde true
30+set statusbar-basename true
31+set selection-clipboard clipboard
A .config/matugen/templates/gtk.css View
@@ -0,0 +1,34 @@
1+/* Auto-generated by matugen, do not edit, edit the template instead.
2+ libadwaita named colours, imported by gtk-3.0/gtk.css (adw-gtk3 theme) and gtk-4.0/gtk.css. */
3+@define-color accent_color {{colors.primary.default.hex}};
4+@define-color accent_bg_color {{colors.primary.default.hex}};
5+@define-color accent_fg_color {{colors.on_primary.default.hex}};
6+
7+@define-color destructive_color {{colors.error.default.hex}};
8+@define-color destructive_bg_color {{colors.error.default.hex}};
9+@define-color destructive_fg_color {{colors.on_error.default.hex}};
10+@define-color error_color {{colors.error.default.hex}};
11+@define-color error_bg_color {{colors.error.default.hex}};
12+@define-color error_fg_color {{colors.on_error.default.hex}};
13+
14+@define-color window_bg_color {{colors.surface.default.hex}};
15+@define-color window_fg_color {{colors.on_surface.default.hex}};
16+@define-color view_bg_color {{colors.surface_container_low.default.hex}};
17+@define-color view_fg_color {{colors.on_surface.default.hex}};
18+@define-color headerbar_bg_color {{colors.surface_container.default.hex}};
19+@define-color headerbar_fg_color {{colors.on_surface.default.hex}};
20+@define-color headerbar_border_color {{colors.outline_variant.default.hex}};
21+@define-color headerbar_backdrop_color @window_bg_color;
22+@define-color headerbar_shade_color rgba(0, 0, 0, 0.36);
23+@define-color sidebar_bg_color {{colors.surface_container.default.hex}};
24+@define-color sidebar_fg_color {{colors.on_surface.default.hex}};
25+@define-color sidebar_backdrop_color @window_bg_color;
26+@define-color card_bg_color {{colors.surface_container_high.default.hex}};
27+@define-color card_fg_color {{colors.on_surface.default.hex}};
28+@define-color card_shade_color rgba(0, 0, 0, 0.36);
29+@define-color dialog_bg_color {{colors.surface_container_high.default.hex}};
30+@define-color dialog_fg_color {{colors.on_surface.default.hex}};
31+@define-color popover_bg_color {{colors.surface_container_high.default.hex}};
32+@define-color popover_fg_color {{colors.on_surface.default.hex}};
33+@define-color shade_color rgba(0, 0, 0, 0.36);
34+@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);
A .config/matugen/templates/hyprland-colors.lua View
@@ -0,0 +1,11 @@
1+-- Auto-generated by matugen, do not edit, edit the template instead
2+return {
3+ primary = "rgba({{colors.primary.default.hex_stripped}}ff)",
4+ secondary = "rgba({{colors.secondary.default.hex_stripped}}ff)",
5+ tertiary = "rgba({{colors.tertiary.default.hex_stripped}}ff)",
6+ surface = "rgba({{colors.surface.default.hex_stripped}}ff)",
7+ surface_high = "rgba({{colors.surface_container_high.default.hex_stripped}}ff)",
8+ outline = "rgba({{colors.outline.default.hex_stripped}}ff)",
9+ outline_variant = "rgba({{colors.outline_variant.default.hex_stripped}}ff)",
10+ error = "rgba({{colors.error.default.hex_stripped}}ff)",
11+}
A .config/matugen/templates/hyprlock.conf View
@@ -0,0 +1,10 @@
1+# Auto-generated by matugen. Fallback only: aurora's ~/.config/aurora/hyprlock-colors.conf overrides it.
2+$bg = rgba({{colors.surface.default.hex_stripped}}ff)
3+$fg = rgba({{colors.on_surface.default.hex_stripped}}ff)
4+$accent = rgba({{colors.primary.default.hex_stripped}}ff)
5+$accentDim = rgba({{colors.primary_container.default.hex_stripped}}ff)
6+$surface = rgba({{colors.surface_container.default.hex_stripped}}ff)
7+$surfaceHi = rgba({{colors.surface_container_high.default.hex_stripped}}ff)
8+$line = rgba({{colors.outline_variant.default.hex_stripped}}ff)
9+$dim = rgba({{colors.on_surface_variant.default.hex_stripped}}ff)
10+$err = rgba({{colors.error.default.hex_stripped}}ff)
A .config/matugen/templates/qt-colors.conf View
@@ -0,0 +1,7 @@
1+# Auto-generated by matugen, do not edit, edit the template instead. qt6ct/qt5ct colour scheme.
2+# Order: WindowText Button Light Midlight Dark Mid Text BrightText ButtonText Base Window Shadow
3+# Highlight HighlightedText Link LinkVisited AlternateBase NoRole ToolTipBase ToolTipText PlaceholderText
4+[ColorScheme]
5+active_colors={{colors.on_surface.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.surface_container_highest.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.surface_container_lowest.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.surface_container_low.default.hex}}, {{colors.surface.default.hex}}, #ff000000, {{colors.primary.default.hex}}, {{colors.on_primary.default.hex}}, {{colors.primary.default.hex}}, {{colors.tertiary.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface.default.hex}}, {{colors.surface_container_highest.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.on_surface_variant.default.hex}}
6+inactive_colors={{colors.on_surface.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.surface_container_highest.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.surface_container_lowest.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.surface_container_low.default.hex}}, {{colors.surface.default.hex}}, #ff000000, {{colors.primary_container.default.hex}}, {{colors.on_primary_container.default.hex}}, {{colors.primary.default.hex}}, {{colors.tertiary.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface.default.hex}}, {{colors.surface_container_highest.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.on_surface_variant.default.hex}}
7+disabled_colors={{colors.outline.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.surface_container.default.hex}}, {{colors.surface_container_lowest.default.hex}}, {{colors.surface_container_low.default.hex}}, {{colors.outline.default.hex}}, {{colors.outline.default.hex}}, {{colors.outline.default.hex}}, {{colors.surface.default.hex}}, {{colors.surface.default.hex}}, #ff000000, {{colors.surface_container_highest.default.hex}}, {{colors.outline.default.hex}}, {{colors.outline.default.hex}}, {{colors.outline.default.hex}}, {{colors.surface_container_low.default.hex}}, {{colors.surface.default.hex}}, {{colors.surface_container_high.default.hex}}, {{colors.outline.default.hex}}, {{colors.outline.default.hex}}