From a7b7e5b508699df5a82416853663b48423f7ce9c Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Tue, 10 Jun 2025 12:54:27 -0400 Subject: [PATCH] Added generated files to avoid where the user hasn't generated colors yet. --- dot_config/gtk-3.0/colors.css | 23 ++++++ dot_config/gtk-4.0/colors.css | 23 ++++++ dot_config/hypr/hyprland.conf.d/colors.conf | 19 +++++ dot_config/hypr/hyprland.conf.d/env_vars.conf | 2 +- dot_config/hyprpanel/config.json | 2 +- dot_config/kitty/current-theme.conf | 69 +++++++++++++++++ dot_config/kitty/kitty.conf | 77 ++----------------- dot_config/kitty/themes/hydro-os.conf | 69 +++++++++++++++++ dot_config/matugen/config.toml | 3 +- .../matugen/templates/hyprland-colors.conf | 11 +-- .../matugen/templates/kitty-colors.conf | 61 +++++++++++++++ dot_config/qt6ct/colors/matugen.conf | 5 ++ 12 files changed, 281 insertions(+), 83 deletions(-) create mode 100644 dot_config/gtk-3.0/colors.css create mode 100644 dot_config/gtk-4.0/colors.css create mode 100644 dot_config/hypr/hyprland.conf.d/colors.conf create mode 100644 dot_config/kitty/current-theme.conf create mode 100644 dot_config/kitty/themes/hydro-os.conf create mode 100644 dot_config/qt6ct/colors/matugen.conf diff --git a/dot_config/gtk-3.0/colors.css b/dot_config/gtk-3.0/colors.css new file mode 100644 index 0000000..f84bb6c --- /dev/null +++ b/dot_config/gtk-3.0/colors.css @@ -0,0 +1,23 @@ +/* +* GTK Colors +* Generated with Matugen +*/ + +@define-color accent_color #a3c9ff; +@define-color accent_fg_color #001c39; +@define-color accent_bg_color #a3c9ff; +@define-color window_bg_color #111418; +@define-color window_fg_color #e1e2e9; +@define-color headerbar_bg_color #111418; +@define-color headerbar_fg_color #e1e2e9; +@define-color popover_bg_color #111418; +@define-color popover_fg_color #e1e2e9; +@define-color view_bg_color #111418; +@define-color view_fg_color #e1e2e9; +@define-color card_bg_color #111418; +@define-color card_fg_color #e1e2e9; +@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/dot_config/gtk-4.0/colors.css b/dot_config/gtk-4.0/colors.css new file mode 100644 index 0000000..f84bb6c --- /dev/null +++ b/dot_config/gtk-4.0/colors.css @@ -0,0 +1,23 @@ +/* +* GTK Colors +* Generated with Matugen +*/ + +@define-color accent_color #a3c9ff; +@define-color accent_fg_color #001c39; +@define-color accent_bg_color #a3c9ff; +@define-color window_bg_color #111418; +@define-color window_fg_color #e1e2e9; +@define-color headerbar_bg_color #111418; +@define-color headerbar_fg_color #e1e2e9; +@define-color popover_bg_color #111418; +@define-color popover_fg_color #e1e2e9; +@define-color view_bg_color #111418; +@define-color view_fg_color #e1e2e9; +@define-color card_bg_color #111418; +@define-color card_fg_color #e1e2e9; +@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/dot_config/hypr/hyprland.conf.d/colors.conf b/dot_config/hypr/hyprland.conf.d/colors.conf new file mode 100644 index 0000000..dc65001 --- /dev/null +++ b/dot_config/hypr/hyprland.conf.d/colors.conf @@ -0,0 +1,19 @@ +general { + col.inactive_border = rgb(111418) + col.active_border = rgb(a3c9ff) +} + +decoration { + blur { + enabled = false + } + + shadow { + enabled = yes + range = 4 + render_power = 3 + color = rgb(000000) + } + + rounding = 15 +} diff --git a/dot_config/hypr/hyprland.conf.d/env_vars.conf b/dot_config/hypr/hyprland.conf.d/env_vars.conf index a07b521..cccb9f5 100644 --- a/dot_config/hypr/hyprland.conf.d/env_vars.conf +++ b/dot_config/hypr/hyprland.conf.d/env_vars.conf @@ -13,7 +13,7 @@ env = XCURSOR_SIZE,24 #env = SDL_VIDEODRIVER,wayland # stops sapiens game from running as it cannot find the video subsystem env = CLUTTER_BACKEND,wayland # QT Variables -env = QT_QPA_PLATFORMTHEME,kde # change to qt6ct if you have that +env = QT_QPA_PLATFORMTHEME,qt6ct env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORM,wayland env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 diff --git a/dot_config/hyprpanel/config.json b/dot_config/hyprpanel/config.json index ce64f9e..3853707 100644 --- a/dot_config/hyprpanel/config.json +++ b/dot_config/hyprpanel/config.json @@ -68,5 +68,5 @@ ], "theme.matugen_settings.mode": "dark", "theme.matugen_settings.scheme_type": "content", - "theme.matugen_settings.variation": "standard_1" + "theme.matugen_settings.variation": "standard_3" } \ No newline at end of file diff --git a/dot_config/kitty/current-theme.conf b/dot_config/kitty/current-theme.conf new file mode 100644 index 0000000..f00b073 --- /dev/null +++ b/dot_config/kitty/current-theme.conf @@ -0,0 +1,69 @@ +# Tokyo Night color scheme for kitty terminal emulator +# https://github.com/davidmathers/tokyo-night-kitty-theme +# +# Based on Tokyo Night color theme for Visual Studio Code +# https://github.com/enkia/tokyo-night-vscode-theme + +# Modified for hydro-os as a template to change colors with matugen + +# Black +color0 #414868 +color8 #414868 + +# Red +color1 #f7768e +color9 #f7768e + +# Green +color2 #73daca +color10 #73daca + +# Yellow +color3 #e0af68 +color11 #e0af68 + +# Blue +color4 #7aa2f7 +color12 #7aa2f7 + +# Magenta +color5 #bb9af7 +color13 #bb9af7 + +# Cyan +color6 #7dcfff +color14 #7dcfff + +# White +color7 #c0caf5 +color15 #c0caf5 + +# Window borders +active_border_color #3d59a1 +inactive_border_color #101014 +bell_border_color #e0af68 + +# Tab bar +tab_bar_style fade +tab_fade 1 +active_tab_foreground #3d59a1 +active_tab_background #16161e +active_tab_font_style bold +inactive_tab_foreground #787c99 +inactive_tab_background #16161e +inactive_tab_font_style bold +tab_bar_background #101014 + +# Title bar +macos_titlebar_color #16161e + +background_opacity 1 + +cursor #e1e2e9 +cursor_text_color #c1c7d2 + +foreground #e1e2e9 +background #111418 +selection_foreground #1b314c +selection_background #b2c8ea +url_color #a3c9ff diff --git a/dot_config/kitty/kitty.conf b/dot_config/kitty/kitty.conf index 2822142..50a49d2 100644 --- a/dot_config/kitty/kitty.conf +++ b/dot_config/kitty/kitty.conf @@ -1,81 +1,14 @@ -# Tokyo Night color scheme for kitty terminal emulator -# https://github.com/davidmathers/tokyo-night-kitty-theme -# -# Based on Tokyo Night color theme for Visual Studio Code -# https://github.com/enkia/tokyo-night-vscode-theme - -foreground #a9b1d6 -background #1a1b26 - -# Black -color0 #414868 -color8 #414868 - -# Red -color1 #f7768e -color9 #f7768e - -# Green -color2 #73daca -color10 #73daca - -# Yellow -color3 #e0af68 -color11 #e0af68 - -# Blue -color4 #7aa2f7 -color12 #7aa2f7 - -# Magenta -color5 #bb9af7 -color13 #bb9af7 - -# Cyan -color6 #7dcfff -color14 #7dcfff - -# White -color7 #c0caf5 -color15 #c0caf5 - -# Cursor -cursor #c0caf5 -cursor_text_color #1a1b26 - -# Selection highlight -selection_foreground none -selection_background #28344a - -# The color for highlighting URLs on mouse-over -url_color #9ece6a - -# Window borders -active_border_color #3d59a1 -inactive_border_color #101014 -bell_border_color #e0af68 +# kitty.conf # Tab bar tab_bar_style fade tab_fade 1 -active_tab_foreground #3d59a1 -active_tab_background #16161e active_tab_font_style bold -inactive_tab_foreground #787c99 -inactive_tab_background #16161e inactive_tab_font_style bold -tab_bar_background #101014 - -# Title bar -macos_titlebar_color #16161e - -# Storm -# background #24283b -# cursor_text_color #24283b -# active_tab_background #1f2335 -# inactive_tab_background #1f2335 -# macos_titlebar_color #1f2335 background_opacity 1 -include colors.conf +# BEGIN_KITTY_THEME +# Hydro-Os +include current-theme.conf +# END_KITTY_THEME diff --git a/dot_config/kitty/themes/hydro-os.conf b/dot_config/kitty/themes/hydro-os.conf new file mode 100644 index 0000000..f00b073 --- /dev/null +++ b/dot_config/kitty/themes/hydro-os.conf @@ -0,0 +1,69 @@ +# Tokyo Night color scheme for kitty terminal emulator +# https://github.com/davidmathers/tokyo-night-kitty-theme +# +# Based on Tokyo Night color theme for Visual Studio Code +# https://github.com/enkia/tokyo-night-vscode-theme + +# Modified for hydro-os as a template to change colors with matugen + +# Black +color0 #414868 +color8 #414868 + +# Red +color1 #f7768e +color9 #f7768e + +# Green +color2 #73daca +color10 #73daca + +# Yellow +color3 #e0af68 +color11 #e0af68 + +# Blue +color4 #7aa2f7 +color12 #7aa2f7 + +# Magenta +color5 #bb9af7 +color13 #bb9af7 + +# Cyan +color6 #7dcfff +color14 #7dcfff + +# White +color7 #c0caf5 +color15 #c0caf5 + +# Window borders +active_border_color #3d59a1 +inactive_border_color #101014 +bell_border_color #e0af68 + +# Tab bar +tab_bar_style fade +tab_fade 1 +active_tab_foreground #3d59a1 +active_tab_background #16161e +active_tab_font_style bold +inactive_tab_foreground #787c99 +inactive_tab_background #16161e +inactive_tab_font_style bold +tab_bar_background #101014 + +# Title bar +macos_titlebar_color #16161e + +background_opacity 1 + +cursor #e1e2e9 +cursor_text_color #c1c7d2 + +foreground #e1e2e9 +background #111418 +selection_foreground #1b314c +selection_background #b2c8ea +url_color #a3c9ff diff --git a/dot_config/matugen/config.toml b/dot_config/matugen/config.toml index 4a7f7f0..ff5558b 100644 --- a/dot_config/matugen/config.toml +++ b/dot_config/matugen/config.toml @@ -22,5 +22,6 @@ output_path = '~/.config/gtk-4.0/colors.css' [templates.kitty] input_path = '~/.config/matugen/templates/kitty-colors.conf' -output_path = '~/.config/kitty/colors.conf' +output_path = '~/.config/kitty/themes/hydro-os.conf' +post_hook = 'kitten themes --reload-in=all hydro-os' diff --git a/dot_config/matugen/templates/hyprland-colors.conf b/dot_config/matugen/templates/hyprland-colors.conf index f7d2573..bdb1417 100644 --- a/dot_config/matugen/templates/hyprland-colors.conf +++ b/dot_config/matugen/templates/hyprland-colors.conf @@ -1,11 +1,6 @@ -$image = {{image}} -<* for name, value in colors *> -${{name}} = rgba({{value.default.hex_stripped}}ff) -<* endfor *> - general { - col.active_border = $outline - col.inactive_border = $outline_variant + col.inactive_border = rgb({{colors.background.default.hex_stripped}}) + col.active_border = rgb({{colors.primary.default.hex_stripped}}) } decoration { @@ -17,7 +12,7 @@ decoration { enabled = yes range = 4 render_power = 3 - color = $shadow + color = rgb({{colors.shadow.default.hex_stripped}}) } rounding = 15 diff --git a/dot_config/matugen/templates/kitty-colors.conf b/dot_config/matugen/templates/kitty-colors.conf index cf25255..c9010b9 100644 --- a/dot_config/matugen/templates/kitty-colors.conf +++ b/dot_config/matugen/templates/kitty-colors.conf @@ -1,3 +1,64 @@ +# Tokyo Night color scheme for kitty terminal emulator +# https://github.com/davidmathers/tokyo-night-kitty-theme +# +# Based on Tokyo Night color theme for Visual Studio Code +# https://github.com/enkia/tokyo-night-vscode-theme + +# Modified for hydro-os as a template to change colors with matugen + +# Black +color0 #414868 +color8 #414868 + +# Red +color1 #f7768e +color9 #f7768e + +# Green +color2 #73daca +color10 #73daca + +# Yellow +color3 #e0af68 +color11 #e0af68 + +# Blue +color4 #7aa2f7 +color12 #7aa2f7 + +# Magenta +color5 #bb9af7 +color13 #bb9af7 + +# Cyan +color6 #7dcfff +color14 #7dcfff + +# White +color7 #c0caf5 +color15 #c0caf5 + +# Window borders +active_border_color #3d59a1 +inactive_border_color #101014 +bell_border_color #e0af68 + +# Tab bar +tab_bar_style fade +tab_fade 1 +active_tab_foreground #3d59a1 +active_tab_background #16161e +active_tab_font_style bold +inactive_tab_foreground #787c99 +inactive_tab_background #16161e +inactive_tab_font_style bold +tab_bar_background #101014 + +# Title bar +macos_titlebar_color #16161e + +background_opacity 1 + cursor {{colors.on_surface.default.hex}} cursor_text_color {{colors.on_surface_variant.default.hex}} diff --git a/dot_config/qt6ct/colors/matugen.conf b/dot_config/qt6ct/colors/matugen.conf new file mode 100644 index 0000000..9b51ac9 --- /dev/null +++ b/dot_config/qt6ct/colors/matugen.conf @@ -0,0 +1,5 @@ +[ColorScheme] +active_colors=#e1e2e9, #111418, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #e1e2e9, #ffffff, #e1e2e9, #111418, #111418, #000000, #1563ab, #ffffff, #b2c8ea, #a3c9ff, #111418, #000000, #111418, #e1e2e9, #b2c8ea +disabled_colors=#e1e2e9, #111418, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #e1e2e9, #ffffff, #e1e2e9, #111418, #111418, #000000, #1563ab, #ffffff, #b2c8ea, #a3c9ff, #111418, #000000, #111418, #e1e2e9, #b2c8ea +inactive_colors=#e1e2e9, #111418, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #e1e2e9, #ffffff, #e1e2e9, #111418, #111418, #000000, #1563ab, #ffffff, #b2c8ea, #a3c9ff, #111418, #000000, #111418, #e1e2e9, #b2c8ea +