diff --git a/dot_config/hypr/hyprland.conf.d/hyprland_appearance.conf b/dot_config/hypr/hyprland.conf.d/hyprland_appearance.conf index d199e8b..34a3229 100644 --- a/dot_config/hypr/hyprland.conf.d/hyprland_appearance.conf +++ b/dot_config/hypr/hyprland.conf.d/hyprland_appearance.conf @@ -6,8 +6,6 @@ general { gaps_in = 5 gaps_out = 10 border_size = 2 - col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg - col.inactive_border = rgba(595959aa) layout = dwindle @@ -15,29 +13,6 @@ general { allow_tearing = false } -#xwayland { -# force_zero_scaling = true -#} - -decoration { - # See https://wiki.hyprland.org/Configuring/Variables/ for more - - blur { - enabled = true - size = 3 - passes = 1 - } - - shadow { - enabled = yes - range = 4 - render_power = 3 - color = rgba(1a1a1aee) - } - - rounding = 15 -} - animations { enabled = yes @@ -58,4 +33,4 @@ misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers disable_splash_rendering = true -} \ No newline at end of file +} diff --git a/dot_config/kitty/kitty.conf b/dot_config/kitty/kitty.conf index 790d64c..2822142 100644 --- a/dot_config/kitty/kitty.conf +++ b/dot_config/kitty/kitty.conf @@ -77,3 +77,5 @@ macos_titlebar_color #16161e # macos_titlebar_color #1f2335 background_opacity 1 + +include colors.conf diff --git a/dot_config/matugen/config.toml b/dot_config/matugen/config.toml new file mode 100644 index 0000000..4a7f7f0 --- /dev/null +++ b/dot_config/matugen/config.toml @@ -0,0 +1,26 @@ +[config] +# If set to enabled, it will check for updates when you run the matugen command, notifying you that an update is avaiable. +# WARNING: Matugen needs to be compiled with the `update-informer` feature for this to work. +version_check = false + +[templates.hyprland] +input_path = '~/.config/matugen/templates/hyprland-colors.conf' +output_path = '~/.config/hypr/hyprland.conf.d/colors.conf' +post_hook = 'hyprctl reload' + +[templates.qt6ct] +input_path = '~/.config/matugen/templates/qtct-colors.conf' +output_path = '~/.config/qt6ct/colors/matugen.conf' + +[templates.gtk3] +input_path = '~/.config/matugen/templates/gtk-colors.css' +output_path = '~/.config/gtk-3.0/colors.css' + +[templates.gtk4] +input_path = '~/.config/matugen/templates/gtk-colors.css' +output_path = '~/.config/gtk-4.0/colors.css' + +[templates.kitty] +input_path = '~/.config/matugen/templates/kitty-colors.conf' +output_path = '~/.config/kitty/colors.conf' + diff --git a/dot_config/matugen/templates/gtk-colors.css b/dot_config/matugen/templates/gtk-colors.css new file mode 100644 index 0000000..64abe77 --- /dev/null +++ b/dot_config/matugen/templates/gtk-colors.css @@ -0,0 +1,23 @@ +/* +* GTK Colors +* Generated with Matugen +*/ + +@define-color accent_color {{colors.primary_fixed_dim.default.hex}}; +@define-color accent_fg_color {{colors.on_primary_fixed.default.hex}}; +@define-color accent_bg_color {{colors.primary_fixed_dim.default.hex}}; +@define-color window_bg_color {{colors.surface_dim.default.hex}}; +@define-color window_fg_color {{colors.on_surface.default.hex}}; +@define-color headerbar_bg_color {{colors.surface_dim.default.hex}}; +@define-color headerbar_fg_color {{colors.on_surface.default.hex}}; +@define-color popover_bg_color {{colors.surface_dim.default.hex}}; +@define-color popover_fg_color {{colors.on_surface.default.hex}}; +@define-color view_bg_color {{colors.surface.default.hex}}; +@define-color view_fg_color {{colors.on_surface.default.hex}}; +@define-color card_bg_color {{colors.surface.default.hex}}; +@define-color card_fg_color {{colors.on_surface.default.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/dot_config/matugen/templates/hyprland-colors.conf b/dot_config/matugen/templates/hyprland-colors.conf new file mode 100644 index 0000000..f7d2573 --- /dev/null +++ b/dot_config/matugen/templates/hyprland-colors.conf @@ -0,0 +1,24 @@ +$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 +} + +decoration { + blur { + enabled = false + } + + shadow { + enabled = yes + range = 4 + render_power = 3 + color = $shadow + } + + rounding = 15 +} diff --git a/dot_config/matugen/templates/kitty-colors.conf b/dot_config/matugen/templates/kitty-colors.conf new file mode 100644 index 0000000..cf25255 --- /dev/null +++ b/dot_config/matugen/templates/kitty-colors.conf @@ -0,0 +1,8 @@ +cursor {{colors.on_surface.default.hex}} +cursor_text_color {{colors.on_surface_variant.default.hex}} + +foreground {{colors.on_surface.default.hex}} +background {{colors.surface.default.hex}} +selection_foreground {{colors.on_secondary.default.hex}} +selection_background {{colors.secondary_fixed_dim.default.hex}} +url_color {{colors.primary.default.hex}} diff --git a/dot_config/matugen/templates/qtct-colors.conf b/dot_config/matugen/templates/qtct-colors.conf new file mode 100644 index 0000000..5d35cb4 --- /dev/null +++ b/dot_config/matugen/templates/qtct-colors.conf @@ -0,0 +1,5 @@ +[ColorScheme] +active_colors={{colors.on_background.default.hex}}, {{colors.surface.default.hex}}, #ffffff, #cacaca, #9f9f9f, #b8b8b8, {{colors.on_background.default.hex}}, #ffffff, {{colors.on_surface.default.hex}}, {{colors.background.default.hex}}, {{colors.background.default.hex}}, {{colors.shadow.default.hex}}, {{colors.primary_container.default.hex}}, {{colors.on_primary_container.default.hex}}, {{colors.secondary.default.hex}}, {{colors.primary.default.hex}}, {{colors.surface.default.hex}}, {{colors.scrim.default.hex}}, {{colors.surface.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.secondary.default.hex}} +disabled_colors={{colors.on_background.default.hex}}, {{colors.surface.default.hex}}, #ffffff, #cacaca, #9f9f9f, #b8b8b8, {{colors.on_background.default.hex}}, #ffffff, {{colors.on_surface.default.hex}}, {{colors.background.default.hex}}, {{colors.background.default.hex}}, {{colors.shadow.default.hex}}, {{colors.primary_container.default.hex}}, {{colors.on_primary_container.default.hex}}, {{colors.secondary.default.hex}}, {{colors.primary.default.hex}}, {{colors.surface.default.hex}}, {{colors.scrim.default.hex}}, {{colors.surface.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.secondary.default.hex}} +inactive_colors={{colors.on_background.default.hex}}, {{colors.surface.default.hex}}, #ffffff, #cacaca, #9f9f9f, #b8b8b8, {{colors.on_background.default.hex}}, #ffffff, {{colors.on_surface.default.hex}}, {{colors.background.default.hex}}, {{colors.background.default.hex}}, {{colors.shadow.default.hex}}, {{colors.primary_container.default.hex}}, {{colors.on_primary_container.default.hex}}, {{colors.secondary.default.hex}}, {{colors.primary.default.hex}}, {{colors.surface.default.hex}}, {{colors.scrim.default.hex}}, {{colors.surface.default.hex}}, {{colors.on_surface.default.hex}}, {{colors.secondary.default.hex}} +