63 lines
1 KiB
Nix
63 lines
1 KiB
Nix
{
|
|
programs.waybar = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
mainBar = {
|
|
layer = "top";
|
|
position = "top";
|
|
height = 20;
|
|
|
|
output = [
|
|
"DVI-I-1"
|
|
"HDMI-0"
|
|
];
|
|
|
|
modules-left = ["niri/workspaces"];
|
|
modules-right = ["clock"];
|
|
|
|
"niri/workspaces" = {
|
|
disable-scroll = true;
|
|
all-outputs = true;
|
|
};
|
|
|
|
"clock" = {
|
|
interval = 1;
|
|
format = "{:%H:%M} ";
|
|
};
|
|
};
|
|
};
|
|
|
|
style = ''
|
|
* {
|
|
font-family: monospace;
|
|
font-size: 13px;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: #1e1e2e;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 0 8px;
|
|
color: #cdd6f4;
|
|
background-color: transparent;
|
|
}
|
|
|
|
#workspaces button.active {
|
|
background-color: #89b4fa;
|
|
color: #1e1e2e;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
background-color: #313244;
|
|
}
|
|
|
|
#clock {
|
|
padding: 0 10px;
|
|
color: #cdd6f4;
|
|
}
|
|
'';
|
|
};
|
|
}
|