adapt waybar/hyprland theme

Amolith created

Change summary

dot_config/hypr/hyprland.conf.tmpl | 4 ++++
dot_config/waybar/style.css.tmpl   | 4 ++++
2 files changed, 8 insertions(+)

Detailed changes

dot_config/hypr/hyprland.conf.tmpl 🔗

@@ -132,7 +132,11 @@ misc {
     force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
     enable_swallow          = yes
     focus_on_activate       = no
+{{- if eq .theme_variant "light" }}
+    background_color        = rgb(eff1f5)
+{{- else if eq .theme_variant "dark" }}
     background_color        = rgb(24273A)
+{{- end }}
 }
 
 # Example windowrule v1

dot_config/waybar/style.css.tmpl 🔗

@@ -1,4 +1,8 @@
+{{- if eq .theme_variant "light" }}
+@import "latte.css";
+{{- else if eq .theme_variant "dark" }}
 @import "macchiato.css";
+{{- end }}
 
 * {
   font-family: "JetBrainsMono NF", "Berkely Mono";