1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-16 06:11:03 +02:00

feat(nix)!: standardize home-manager module options

- reload ironbar on config change
- update docs to reflect breaking change

BREAKING CHANGE: `programs.ironbar.systemd` is not enabled by default anymore

Co-authored-by: reo101 <pavel.atanasov2001@gmail.com>
This commit is contained in:
74k1 2025-04-30 20:06:29 +02:00
parent 5affad3400
commit 322fc0cdcc
No known key found for this signature in database
GPG key ID: 5689D9FA11A2BC04

View file

@ -119,8 +119,35 @@ A flake is included with the repo which can be used with Home Manager.
# And configure
programs.ironbar = {
enable = true;
config = {};
style = "";
systemd = true;
config = {
# An example:
monitors = {
DP-1 = {
anchor_to_edges = true;
position = "top";
height = 16;
start = [
{ type = "clock"; }
];
end = [
{
type = "tray";
icon_size = 16;
}
];
};
};
};
style = /* css */ ''
/* An example */
* {
font-family: Noto Sans Nerd Font, sans-serif;
font-size: 16px;
border: none;
border-radius: 0;
}
'';
package = inputs.ironbar;
features = ["feature" "another_feature"];
};