Files
Nomarchy/modules/home/waybar.nix
2026-04-08 20:03:15 +01:00

50 lines
1.2 KiB
Nix

{ config, pkgs, ... }:
{
programs.waybar = {
enable = true;
systemd.enable = true;
style = ''
* {
background-color: #${config.colorScheme.palette.base00};
color: #${config.colorScheme.palette.base05};
border: none;
border-radius: 0;
min-height: 0;
font-family: '${config.nomarchy.fonts.monospace}';
font-size: 12px;
}
.modules-left { margin-left: 8px; }
.modules-right { margin-right: 8px; }
#workspaces button {
all: initial;
padding: 0 6px;
margin: 0 1.5px;
min-width: 9px;
color: #${config.colorScheme.palette.base04};
}
#workspaces button.focused, #workspaces button.active {
color: #${config.colorScheme.palette.base0B};
}
#workspaces button.empty { opacity: 0.5; }
#cpu, #battery, #pulseaudio, #custom-nomarchy, #custom-update {
min-width: 12px;
margin: 0 7.5px;
}
#tray { margin-right: 16px; }
#bluetooth { margin-right: 17px; }
'';
settings = [ (builtins.fromJSON (builtins.readFile ../../config/waybar/config.jsonc)) ];
};
home.packages = with pkgs; [
font-awesome
];
}