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"
output_path = "~/.config/hypr/matugen.conf"
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";
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 *>
$image = {{image}}
${{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"
];
};
waybar.enable = true;
waybar.enable = false;
ghostty.enable = false;
hyprpaper.enable = true;
gtk.enable = true;
+4 -5
View File
@@ -1,11 +1,10 @@
{config, ...}: let
colors = config.lib.stylix.colors.withHashtag;
in {
{config, ...}: {
programs.waybar = {
style = ''
@import "matugen.css"
* {
background-color: ${colors.base11};
color: ${colors.base05};
background-color: @background;
color: @foreground;
border: none;
border-radius: 0;