Files
Nomarchy/modules/home/waybar.nix
Bernardo Magri b27fc5aee8 refactor: major architectural restructure for theme-centric organization
Theme System:
- Move all theme app configs to apps/ subdirectory (20 themes)
- Add theme-loader.nix for dynamic theme config deployment
- Simplify stylix.nix to focus on base theming only

Override System:
- Add overrides.nix for file-based config overrides
- Add behavior-configs.nix for non-visual configuration
- Split hypr/nomarchy.conf into behavior vs visual sections

Module Improvements:
- Add lib.mkDefault to all customizable settings
- Add modules/lib/ with shared utilities and state schema
- Update all home and system modules for downstream overridability

Installer:
- New minimal TTY installer (installer/install.sh)
- Golden path: BTRFS + LUKS2 (disko-golden.nix)
- New installer-iso.nix for TTY-only installation
- Keep graphical installer as installerIsoGraphical option

Cleanup:
- Remove obsolete install.sh, disko-ext4.nix, install-nomarchy.sh
- Update live-iso.nix references
- Add .claude/ to .gitignore for local IDE settings

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-11 19:38:27 +01:00

50 lines
1.3 KiB
Nix

{ config, pkgs, lib, ... }:
{
programs.waybar = {
enable = lib.mkDefault true;
systemd.enable = lib.mkDefault true;
style = lib.mkDefault ''
* {
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 = lib.mkDefault [ (builtins.fromJSON (builtins.readFile ../../config/waybar/config.jsonc)) ];
};
home.packages = lib.mkDefault (with pkgs; [
font-awesome
]);
}