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:
parent
5affad3400
commit
322fc0cdcc
1 changed files with 29 additions and 2 deletions
31
README.md
31
README.md
|
@ -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"];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue