waybar.nix
{ config, pkgs, lib, ... }:
{
programs.waybar = {
enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
modules-left = [ "hyprland/workspaces" "hyprland/submap" ];
modules-center = [ "hyprland/window" ];
modules-right = [ "privacy" "network" "wireplumber" "disk" "load" "memory" "battery" "tray" "clock" ];
"hyprland/workspaces" = {
all-outputs = true;
on-click = "activate";
};
};
};
style = ''
* {
border: none;
border-radius: 0;
font-family: Fira Code;
}
window#waybar {
background: #16191C;
color: #AAB2BF;
}
#workspaces button {
padding: 0 5px;
}
'';
};
}