43 lines
885 B
Nix
43 lines
885 B
Nix
{ pkgs, inputs, ... }:
|
|
|
|
{
|
|
programs.ironbar = {
|
|
enable = true;
|
|
systemd = true;
|
|
config = {
|
|
# An example:
|
|
monitors = {
|
|
DP-3 = {
|
|
anchor_to_edges = true;
|
|
position = "left";
|
|
height = 16;
|
|
start = [
|
|
{ type = "workspaces"; }
|
|
];
|
|
center = [
|
|
{ type = "focused"; }
|
|
];
|
|
end = [
|
|
{ type = "volume"; }
|
|
{
|
|
type = "tray";
|
|
icon_size = 16;
|
|
}
|
|
{ type = "clock"; }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
style = /* css */ ''
|
|
/* An example */
|
|
* {
|
|
/* font-family: Noto Sans Nerd Font, sans-serif; */
|
|
font-size: 14px;
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
'';
|
|
package = inputs.ironbar;
|
|
features = ["feature" "another_feature"];
|
|
};
|
|
}
|