From 22c8288c9384c0452e23e9081e3030bb9e6b4878 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 20 May 2025 15:17:01 +0200 Subject: [PATCH] adds wallust colors to hyprland config --- .config/hypr/config/colors.conf | 32 +++++++++++++--------- .config/hypr/config/variables.conf | 35 +++++++++++++------------ .config/hypr/config/windowrules.conf | 2 +- .config/wallust/templates/hyprland.conf | 19 ++++++++++++++ .config/wallust/wallust.toml | 3 ++- 5 files changed, 59 insertions(+), 32 deletions(-) create mode 100644 .config/wallust/templates/hyprland.conf diff --git a/.config/hypr/config/colors.conf b/.config/hypr/config/colors.conf index d1d0a5c..2d3e773 100644 --- a/.config/hypr/config/colors.conf +++ b/.config/hypr/config/colors.conf @@ -1,13 +1,19 @@ -# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -# ┃ Colors Configuration ┃ -# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - -$cachylgreen = rgba(8fbcbbff) # Teal -$cachymgreen = rgba(88c0d0ff) # Icy Blue -$cachydgreen = rgba(81a1c1ff) # Frost -$cachylblue = rgba(5e81acff) # Desaturated Blue -$cachymblue = rgba(4c566aff) # Slate -$cachydblue = rgba(3b4252ff) # Dark Background -$cachywhite = rgba(d8dee9ff) # Snow -$cachygrey = rgba(e5e9f0ff) # Light Gray -$cachygray = rgba(434c5eff) # Dark Gray +$wallpaper = /usr/share/wallpapers/wallpaper/adwaita-l.jpg +$background = rgb(171111) +$foreground = rgb(F3DEB2) +$color0 = rgb(3F3939) +$color1 = rgb(801912) +$color2 = rgb(34406F) +$color3 = rgb(733A56) +$color4 = rgb(AA6E6C) +$color5 = rgb(D26719) +$color6 = rgb(DEA124) +$color7 = rgb(E6C889) +$color8 = rgb(A18C60) +$color9 = rgb(801912) +$color10 = rgb(34406F) +$color11 = rgb(733A56) +$color12 = rgb(AA6E6C) +$color13 = rgb(D26719) +$color14 = rgb(DEA124) +$color15 = rgb(E6C889) \ No newline at end of file diff --git a/.config/hypr/config/variables.conf b/.config/hypr/config/variables.conf index b81ed96..3e38efe 100644 --- a/.config/hypr/config/variables.conf +++ b/.config/hypr/config/variables.conf @@ -10,8 +10,8 @@ general { gaps_in = 1 gaps_out = 2 border_size = 2 - col.active_border = $cachylgreen - col.inactive_border = $cachymblue + col.active_border = $color2 + col.inactive_border = $color4 layout = dwindle # master|dwindle resize_on_border = true extend_border_grab_area = 10 @@ -32,25 +32,26 @@ gestures { # https://wiki.hyprland.org/0.45.0/Configuring/Variables/#group group { - col.border_active = $cachydgreen - col.border_inactive = $cachylgreen - col.border_locked_active = $cachymgreen - col.border_locked_inactive = $cachydblue + col.border_active = $color6 + col.border_inactive = $color2 + col.border_locked_active = $color3 + col.border_locked_inactive = $color0 # https://wiki.hyprland.org/0.45.0/Configuring/Variables/#groupbar groupbar { font_size = 13 - height = 15 - indicator_height = 2 - rounding = 0 + height = 1 + indicator_height = 16 + rounding = 2 font_family = "Fira Sans" - text_color = 0xbbffffff + text_color = $foreground + text_offset = -8 font_weight_active = ultraheavy - font_weight_inactive = normal - col.active = $cachydgreen - col.inactive = $cachylgreen - col.locked_active = $cachymgreen - col.locked_inactive = $cachydblue + font_weight_inactive = semibold + col.active = $color6 + col.inactive = $color2 + col.locked_active = $color3 + col.locked_inactive = $color0 } } @@ -59,8 +60,8 @@ misc { font_family = "Fira Sans" splash_font_family = "Fira Sans" disable_hyprland_logo = false - col.splash = $cachylgreen - background_color = $cachydblue + col.splash = $color2 + background_color = $background enable_swallow = true swallow_regex = ^(cachy-browser|firefox|nautilus|nemo|thunar|btrfs-assistant.)$ focus_on_activate = true diff --git a/.config/hypr/config/windowrules.conf b/.config/hypr/config/windowrules.conf index 096e51b..6f4b090 100644 --- a/.config/hypr/config/windowrules.conf +++ b/.config/hypr/config/windowrules.conf @@ -35,7 +35,7 @@ windowrulev2 = animation slide right, class:^(kitty|Alacritty)$ windowrulev2 = noblur, class:^(org.mozilla.firefox)$ # Decorations related to floating windows on workspaces 1 to 10 windowrulev2 = bordersize 2, floating:1, onworkspace:w[fv1-10] -windowrulev2 = bordercolor $cachylblue, floating:1, onworkspace:w[fv1-10] +windowrulev2 = bordercolor $color4, floating:1, onworkspace:w[fv1-10] windowrulev2 = rounding 8, floating:1, onworkspace:w[fv1-10] # Decorations related to tiling windows on workspaces 1 to 10 windowrulev2 = bordersize 3, floating:0, onworkspace:f[1-10] diff --git a/.config/wallust/templates/hyprland.conf b/.config/wallust/templates/hyprland.conf new file mode 100644 index 0000000..0ab36d6 --- /dev/null +++ b/.config/wallust/templates/hyprland.conf @@ -0,0 +1,19 @@ +$wallpaper = {{wallpaper}} +$background = rgb({{background | strip}}) +$foreground = rgb({{foreground | strip}}) +$color0 = rgb({{color0 | strip}}) +$color1 = rgb({{color1 | strip}}) +$color2 = rgb({{color2 | strip}}) +$color3 = rgb({{color3 | strip}}) +$color4 = rgb({{color4 | strip}}) +$color5 = rgb({{color5 | strip}}) +$color6 = rgb({{color6 | strip}}) +$color7 = rgb({{color7 | strip}}) +$color8 = rgb({{color8 | strip}}) +$color9 = rgb({{color9 | strip}}) +$color10 = rgb({{color10 | strip}}) +$color11 = rgb({{color11 | strip}}) +$color12 = rgb({{color12 | strip}}) +$color13 = rgb({{color13 | strip}}) +$color14 = rgb({{color14 | strip}}) +$color15 = rgb({{color15 | strip}}) \ No newline at end of file diff --git a/.config/wallust/wallust.toml b/.config/wallust/wallust.toml index 5c798df..6de9d47 100644 --- a/.config/wallust/wallust.toml +++ b/.config/wallust/wallust.toml @@ -4,4 +4,5 @@ palette = "dark" [templates] waybar = { template = 'waybar.css', target = '~/.config/waybar/colors-wallust.css' } -alacritty = { template = 'alacritty.toml', target = '~/.config/alacritty/colors.toml' } \ No newline at end of file +alacritty = { template = 'alacritty.toml', target = '~/.config/alacritty/colors.toml' } +hyprland = { template = 'hyprland.conf', target = '~/.config/hypr/config/colors.conf' } \ No newline at end of file