add: waybar

This commit is contained in:
kenji
2025-12-27 11:05:09 -06:00
parent 46c08d95ec
commit b9471c83ed
6 changed files with 19 additions and 8 deletions
+5
View File
@@ -10,3 +10,8 @@ post_hook = "killall -SIGUSR2 .ghostty-wrappe"
input_path = "~/.config/matugen/templates/hyprland" input_path = "~/.config/matugen/templates/hyprland"
output_path = "~/.config/hypr/matugen.conf" output_path = "~/.config/hypr/matugen.conf"
post_hook = "hyprctl reload" post_hook = "hyprctl reload"
[templates.waybar]
input_path = "~/.config/matugen/templates/waybar"
output_path = "~/.config/waybar/colors.conf"
post_hook = "killall -SIGUSR2 .waybar-wrapped"
+1 -1
View File
@@ -14,5 +14,5 @@
}; };
programs.ghostty.settings.theme = "matugen"; programs.ghostty.settings.theme = "matugen";
wayland.windowManager.hyprland.settings.extraConfig = ''source ./matugen.conf''; wayland.windowManager.hyprland.settings.source = ["./matugen.conf"];
} }
+1 -1
View File
@@ -1,4 +1,4 @@
<* for name, value in colors *> <* for name, value in colors *>
$image = {{image}} $image = {{image}}
${{name}} = rgba({{value.default.hex_stripped}}ff) ${{name}} = rgba({{value.default.hex_stripped}}ff)
* endfor *> <* endfor *>
+7
View File
@@ -0,0 +1,7 @@
/*
* Css Colors
* Generated with Matugen
*/
<* for name, value in colors *>
@define-color {{name}} {{value.default.hex}};
<* endfor *>
+1 -1
View File
@@ -18,7 +18,7 @@
"hakase" "hakase"
]; ];
}; };
waybar.enable = true; waybar.enable = false;
ghostty.enable = false; ghostty.enable = false;
hyprpaper.enable = true; hyprpaper.enable = true;
gtk.enable = true; gtk.enable = true;
+4 -5
View File
@@ -1,11 +1,10 @@
{config, ...}: let {config, ...}: {
colors = config.lib.stylix.colors.withHashtag;
in {
programs.waybar = { programs.waybar = {
style = '' style = ''
@import "matugen.css"
* { * {
background-color: ${colors.base11}; background-color: @background;
color: ${colors.base05}; color: @foreground;
border: none; border: none;
border-radius: 0; border-radius: 0;