From b8f458ed9ffbc1a43a5c4125cb3948ee53c9d2de Mon Sep 17 00:00:00 2001 From: retrilzzy Date: Sun, 9 Nov 2025 23:09:00 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=20+=20?= =?UTF-8?q?=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D1=8B=20matugen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Configs/.config/matugen/config.toml | 44 ++++++ Configs/.config/matugen/templates/gtk.css | 39 +++++ .../.config/matugen/templates/hyprland.conf | 2 + Configs/.config/matugen/templates/kitty.conf | 37 +++++ Configs/.config/matugen/templates/matugen.css | 2 + Configs/.config/matugen/templates/qt.conf | 149 ++++++++++++++++++ Configs/.config/matugen/templates/rofi.rasi | 7 + Configs/.config/matugen/templates/swaync.css | 21 +++ Configs/.config/matugen/templates/waybar.css | 4 + Configs/.config/matugen/templates/wlogout.css | 3 + 10 files changed, 308 insertions(+) create mode 100644 Configs/.config/matugen/config.toml create mode 100644 Configs/.config/matugen/templates/gtk.css create mode 100644 Configs/.config/matugen/templates/hyprland.conf create mode 100644 Configs/.config/matugen/templates/kitty.conf create mode 100644 Configs/.config/matugen/templates/matugen.css create mode 100644 Configs/.config/matugen/templates/qt.conf create mode 100644 Configs/.config/matugen/templates/rofi.rasi create mode 100644 Configs/.config/matugen/templates/swaync.css create mode 100644 Configs/.config/matugen/templates/waybar.css create mode 100644 Configs/.config/matugen/templates/wlogout.css diff --git a/Configs/.config/matugen/config.toml b/Configs/.config/matugen/config.toml new file mode 100644 index 0000000..fd73fe3 --- /dev/null +++ b/Configs/.config/matugen/config.toml @@ -0,0 +1,44 @@ +[config] +reload_apps = true + +[templates.gtk3] +input_path = '~/.config/matugen/templates/gtk.css' +output_path = '~/.config/gtk-3.0/gtk.css' + +[templates.gtk4] +input_path = '~/.config/matugen/templates/gtk.css' +output_path = '~/.config/gtk-4.0/gtk.css' + +[templates.hyprland] +input_path = '~/.config/matugen/templates/hyprland.conf' +output_path = '~/.config/hypr/hyprland/colors.conf' + +[templates.kitty] +input_path = '~/.config/matugen/templates/kitty.conf' +output_path = '~/.config/kitty/colors.conf' +post_hook = 'pkill -SIGUSR1 kitty' + +[templates.qt] +input_path = '~/.config/matugen/templates/qt.conf' +output_path = '~/.local/share/color-schemes/Matugen.colors' + +[templates.matugen] +input_path = '~/.config/matugen/templates/matugen.css' +output_path = '~/.config/matugen/matugen.css' + +[templates.rofi] +input_path = '~/.config/matugen/templates/rofi.rasi' +output_path = '~/.config/rofi/colors.rasi' + +[templates.swaync] +input_path = '~/.config/matugen/templates/swaync.css' +output_path = '~/.config/swaync/theme.css' +post_hook = 'swaync-client --reload-css' + +[templates.waybar] +input_path = '~/.config/matugen/templates/waybar.css' +output_path = '~/.config/waybar/colors.css' + +[templates.wlogout] +input_path = '~/.config/matugen/templates/wlogout.css' +output_path = '~/.config/wlogout/colors.css' diff --git a/Configs/.config/matugen/templates/gtk.css b/Configs/.config/matugen/templates/gtk.css new file mode 100644 index 0000000..9858eb5 --- /dev/null +++ b/Configs/.config/matugen/templates/gtk.css @@ -0,0 +1,39 @@ +@media (prefers-color-scheme: light) { + @define-color accent_color {{colors.primary.light.hex}}; + @define-color accent_fg_color {{colors.on_primary.light.hex}}; + @define-color accent_bg_color {{colors.primary.light.hex}}; + @define-color window_bg_color {{colors.surface_container.light.hex}}; + @define-color window_fg_color {{colors.on_surface.light.hex}}; + @define-color headerbar_bg_color {{colors.surface_container.light.hex}}; + @define-color headerbar_fg_color {{colors.on_surface.light.hex}}; + @define-color popover_bg_color {{colors.surface_container_highest.light.hex}}; + @define-color popover_fg_color {{colors.on_surface.light.hex}}; + @define-color view_bg_color {{colors.surface.light.hex}}; + @define-color view_fg_color {{colors.on_surface.light.hex}}; + @define-color card_bg_color {{colors.surface.light.hex}}; + @define-color card_fg_color {{colors.on_surface.light.hex}}; + @define-color sidebar_bg_color @window_bg_color; + @define-color sidebar_fg_color @window_fg_color; + @define-color sidebar_border_color @window_bg_color; + @define-color sidebar_backdrop_color @window_bg_color; +} + +@media (prefers-color-scheme: dark) { + @define-color accent_color {{colors.primary.dark.hex}}; + @define-color accent_fg_color {{colors.on_primary.dark.hex}}; + @define-color accent_bg_color {{colors.primary.dark.hex}}; + @define-color window_bg_color {{colors.surface_container_lowest.dark.hex}}; + @define-color window_fg_color {{colors.on_surface.dark.hex}}; + @define-color headerbar_bg_color {{colors.surface_container.dark.hex}}; + @define-color headerbar_fg_color {{colors.on_surface.dark.hex}}; + @define-color popover_bg_color {{colors.surface_container_highest.dark.hex}}; + @define-color popover_fg_color {{colors.on_surface.dark.hex}}; + @define-color view_bg_color {{colors.surface.dark.hex}}; + @define-color view_fg_color {{colors.on_surface.dark.hex}}; + @define-color card_bg_color {{colors.surface.dark.hex}}; + @define-color card_fg_color {{colors.on_surface.dark.hex}}; + @define-color sidebar_bg_color @window_bg_color; + @define-color sidebar_fg_color @window_fg_color; + @define-color sidebar_border_color @window_bg_color; + @define-color sidebar_backdrop_color @window_bg_color; +} diff --git a/Configs/.config/matugen/templates/hyprland.conf b/Configs/.config/matugen/templates/hyprland.conf new file mode 100644 index 0000000..9c0a487 --- /dev/null +++ b/Configs/.config/matugen/templates/hyprland.conf @@ -0,0 +1,2 @@ +$active_border = {{colors.outline.default.hex_stripped}} +$inactive_border = {{colors.surface_variant.default.hex_stripped}} diff --git a/Configs/.config/matugen/templates/kitty.conf b/Configs/.config/matugen/templates/kitty.conf new file mode 100644 index 0000000..6e89256 --- /dev/null +++ b/Configs/.config/matugen/templates/kitty.conf @@ -0,0 +1,37 @@ +foreground {{colors.on_surface_variant.default.hex}} +background {{colors.surface_container_low.default.hex}} +selection_foreground {{colors.on_secondary_container.default.hex}} +selection_background {{colors.secondary_container.default.hex}} +url_color {{colors.primary.default.hex}} + +# black +color0 #505050 +color8 #525252 + +# red +color1 #e57373 +color9 #ef9a9a + +# green +color2 #81c784 +color10 #a5d6a7 + +# yellow +color3 #f8cf56 +color11 #ffe082 + +# blue +color4 {{colors.primary.default.hex}} +color12 #9fa8da + +# magenta +color5 #c174ce +color13 #ce93d8 + +# cyan +color6 #4dd0e1 +color14 #80deea + +# white +color7 #e0e0e0 +color15 #fafafa diff --git a/Configs/.config/matugen/templates/matugen.css b/Configs/.config/matugen/templates/matugen.css new file mode 100644 index 0000000..d0082f2 --- /dev/null +++ b/Configs/.config/matugen/templates/matugen.css @@ -0,0 +1,2 @@ +<* for name, value in colors *>@define-color {{name}} {{value.default.hex}}; +<* endfor *> diff --git a/Configs/.config/matugen/templates/qt.conf b/Configs/.config/matugen/templates/qt.conf new file mode 100644 index 0000000..f9ab0ae --- /dev/null +++ b/Configs/.config/matugen/templates/qt.conf @@ -0,0 +1,149 @@ +[ColorEffects:Disabled] +Color={{colors.surface_dim.default.hex}} +ColorAmount=0 +ColorEffect=0 +ContrastAmount=0.65 +ContrastEffect=1 +IntensityAmount=0.1 +IntensityEffect=2 + +[ColorEffects:Inactive] +ChangeSelectionColor=true +Color={{colors.surface_variant.default.hex}} +ColorAmount=0.025 +ColorEffect=2 +ContrastAmount=0.1 +ContrastEffect=2 +Enable=false +IntensityAmount=0 +IntensityEffect=0 + +[Colors:Button] +BackgroundAlternate={{colors.surface_container_low.default.hex}} +BackgroundNormal={{colors.surface_container_high.default.hex}} +DecorationFocus={{colors.primary.default.hex}} +DecorationHover={{colors.primary.default.hex}} +ForegroundActive={{colors.primary.default.hex}} +ForegroundInactive={{colors.on_surface_variant.default.hex}} +ForegroundLink={{colors.secondary.default.hex}} +ForegroundNegative={{colors.error.default.hex}} +ForegroundNeutral={{colors.tertiary.default.hex}} +ForegroundNormal={{colors.on_surface.default.hex}} +ForegroundPositive={{colors.tertiary_fixed.default.hex}} +ForegroundVisited={{colors.on_secondary_container.default.hex}} + +[Colors:Complementary] +BackgroundAlternate={{colors.surface_container_low.default.hex}} +BackgroundNormal={{colors.surface.default.hex}} +DecorationFocus={{colors.primary.default.hex}} +DecorationHover={{colors.primary.default.hex}} +ForegroundActive={{colors.primary.default.hex}} +ForegroundInactive={{colors.on_surface_variant.default.hex}} +ForegroundLink={{colors.secondary.default.hex}} +ForegroundNegative={{colors.error.default.hex}} +ForegroundNeutral={{colors.tertiary.default.hex}} +ForegroundNormal={{colors.on_primary_container.default.hex}} +ForegroundPositive={{colors.tertiary_fixed.default.hex}} +ForegroundVisited={{colors.on_secondary_container.default.hex}} + +[Colors:Header] +BackgroundAlternate={{colors.surface.default.hex}} +BackgroundNormal={{colors.surface_container.default.hex}} +DecorationFocus={{colors.primary.default.hex}} +DecorationHover={{colors.primary.default.hex}} +ForegroundActive={{colors.primary.default.hex}} +ForegroundInactive={{colors.on_surface_variant.default.hex}} +ForegroundLink={{colors.secondary.default.hex}} +ForegroundNegative={{colors.error.default.hex}} +ForegroundNeutral={{colors.tertiary.default.hex}} +ForegroundNormal={{colors.on_surface.default.hex}} +ForegroundPositive={{colors.tertiary_fixed.default.hex}} +ForegroundVisited={{colors.on_secondary_container.default.hex}} + +[Colors:Header][Inactive] +BackgroundAlternate={{colors.surface_container.default.hex}} +BackgroundNormal={{colors.surface.default.hex}} +DecorationFocus={{colors.primary.default.hex}} +DecorationHover={{colors.primary.default.hex}} +ForegroundActive={{colors.primary.default.hex}} +ForegroundInactive={{colors.on_surface_variant.default.hex}} +ForegroundLink={{colors.secondary.default.hex}} +ForegroundNegative={{colors.error.default.hex}} +ForegroundNeutral={{colors.tertiary.default.hex}} +ForegroundNormal={{colors.on_surface.default.hex}} +ForegroundPositive={{colors.tertiary_fixed.default.hex}} +ForegroundVisited={{colors.on_secondary_container.default.hex}} + +[Colors:Selection] +BackgroundAlternate={{colors.surface_container_low.default.hex}} +BackgroundNormal={{colors.primary.default.hex}} +DecorationFocus={{colors.primary.default.hex}} +DecorationHover={{colors.primary.default.hex}} +ForegroundActive={{colors.on_primary.default.hex}} +ForegroundInactive={{colors.on_surface_variant.default.hex}} +ForegroundLink={{colors.secondary_fixed.default.hex}} +ForegroundNegative={{colors.error_container.default.hex}} +ForegroundNeutral={{colors.tertiary_fixed_dim.default.hex}} +ForegroundNormal={{colors.on_primary.default.hex}} +ForegroundPositive={{colors.tertiary_container.default.hex}} +ForegroundVisited={{colors.on_secondary_container.default.hex}} + +[Colors:Tooltip] +BackgroundAlternate={{colors.surface.default.hex}} +BackgroundNormal={{colors.surface_container.default.hex}} +DecorationFocus={{colors.primary.default.hex}} +DecorationHover={{colors.primary.default.hex}} +ForegroundActive={{colors.primary.default.hex}} +ForegroundInactive={{colors.on_surface_variant.default.hex}} +ForegroundLink={{colors.secondary.default.hex}} +ForegroundNegative={{colors.error.default.hex}} +ForegroundNeutral={{colors.tertiary.default.hex}} +ForegroundNormal={{colors.on_background.default.hex}} +ForegroundPositive={{colors.tertiary_fixed.default.hex}} +ForegroundVisited={{colors.on_secondary_container.default.hex}} + +[Colors:View] +BackgroundAlternate={{colors.surface_container.default.hex}} +BackgroundNormal={{colors.background.default.hex}} +DecorationFocus={{colors.on_primary_container.default.hex}} +DecorationHover={{colors.on_primary.default.hex}} +ForegroundActive={{colors.primary.default.hex}} +ForegroundInactive={{colors.on_surface_variant.default.hex}} +ForegroundLink={{colors.secondary.default.hex}} +ForegroundNegative={{colors.error.default.hex}} +ForegroundNeutral={{colors.tertiary.default.hex}} +ForegroundNormal={{colors.on_background.default.hex}} +ForegroundPositive={{colors.tertiary_fixed.default.hex}} +ForegroundVisited={{colors.on_secondary_container.default.hex}} + +[Colors:Window] +BackgroundAlternate={{colors.primary_container.default.hex}} +BackgroundNormal={{colors.surface_container.default.hex}} +DecorationFocus={{colors.primary.default.hex}} +DecorationHover={{colors.primary.default.hex}} +ForegroundActive={{colors.primary.default.hex}} +ForegroundInactive={{colors.on_surface_variant.default.hex}} +ForegroundLink={{colors.secondary.default.hex}} +ForegroundNegative={{colors.error.default.hex}} +ForegroundNeutral={{colors.tertiary.default.hex}} +ForegroundNormal={{colors.on_background.default.hex}} +ForegroundPositive={{colors.tertiary_fixed.default.hex}} +ForegroundVisited={{colors.on_secondary_container.default.hex}} + +[General] +ColorScheme=Matugen +Name=Matugen + +[Appearance] +color_scheme=Matugen + +[KDE] +contrast=0 + +[WM] +activeBackground={{colors.primary_container.default.hex}} +activeBlend={{colors.on_primary_container.default.hex}} +activeForeground={{colors.on_primary_container.default.hex}} +inactiveBackground={{colors.surface.default.hex}} +inactiveBlend={{colors.on_surface_variant.default.hex}} +inactiveForeground={{colors.on_surface_variant.default.hex}} diff --git a/Configs/.config/matugen/templates/rofi.rasi b/Configs/.config/matugen/templates/rofi.rasi new file mode 100644 index 0000000..d0f0239 --- /dev/null +++ b/Configs/.config/matugen/templates/rofi.rasi @@ -0,0 +1,7 @@ +* { + background: {{colors.surface_container.default.hex}}; + background-alt: {{colors.surface_container_high.default.hex}}; + foreground: {{colors.on_surface_variant.default.hex}}; + selected: {{colors.outline_variant.default.hex}}; + active: {{colors.surface_bright.default.hex}}; +} diff --git a/Configs/.config/matugen/templates/swaync.css b/Configs/.config/matugen/templates/swaync.css new file mode 100644 index 0000000..21180a6 --- /dev/null +++ b/Configs/.config/matugen/templates/swaync.css @@ -0,0 +1,21 @@ +:root { + --cc-bg: {{colors.surface_container.default.hex}}; + --noti-border-color: {{colors.outline_variant.default.rgba}}; + --noti-bg: {{colors.surface_container.default.red}},{{colors.surface_container.default.green}},{{colors.surface_container.default.blue}}; + --noti-bg-alpha: 0.95; + --noti-bg-darker: {{colors.surface_container_low.default.hex}}; + --noti-bg-hover: {{colors.surface_container_high.default.hex}}; + --noti-bg-focus: {{colors.surface_container_highest.default.rgba}}; + --noti-close-bg: {{colors.surface_container_high.default.hex}}; + --noti-close-bg-hover: {{colors.surface_container_highest.default.hex}}; + --text-color: {{colors.on_surface.default.hex}}; + --text-color-disabled: {{colors.on_surface_variant.default.hex}}; + --bg-selected: {{colors.primary.default.hex}}; + --notification-icon-size: 64px; + --notification-app-icon-size: calc(var(--notification-icon-size) / 3); + --notification-group-icon-size: 32px; + --mpris-album-art-overlay: {{colors.scrim.default.rgba}}; + --mpris-button-hover: {{colors.surface_tint.default.rgba}}; + --mpris-album-art-icon-size: 96px; + --widget-volume-row-icon-size: 24px; +} diff --git a/Configs/.config/matugen/templates/waybar.css b/Configs/.config/matugen/templates/waybar.css new file mode 100644 index 0000000..4533fc2 --- /dev/null +++ b/Configs/.config/matugen/templates/waybar.css @@ -0,0 +1,4 @@ +@define-color background {{colors.surface_container.default.hex}}; +@define-color foreground {{colors.on_surface_variant.default.hex}}; +@define-color selected {{colors.surface_bright.default.hex}}; +@define-color active {{colors.outline_variant.default.hex}}; diff --git a/Configs/.config/matugen/templates/wlogout.css b/Configs/.config/matugen/templates/wlogout.css new file mode 100644 index 0000000..49ded2d --- /dev/null +++ b/Configs/.config/matugen/templates/wlogout.css @@ -0,0 +1,3 @@ +@define-color wl-bg rgba({{ colors.surface_container.default.red }}, {{ colors.surface_container.default.green }}, {{ colors.surface_container.default.blue }}, 0.3); +@define-color wl-button-bg rgba({{colors.surface_container_low.default.red}}, {{colors.surface_container_low.default.green}}, {{colors.surface_container_low.default.blue}}, 0.95); +@define-color wl-button-fg {{colors.on_surface.default.hex}};