Waybar: Difference between revisions

34j (talk | contribs)
m Add Category
Phobos (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
== Configuration ==
== Configuration ==


Waybar can be configured using [[Home Manager]]:
Waybar can be configured using options found on the [[Home Manager|Home Manager Appendix]]. You can also find configuration options under [https://mynixos.com/home-manager/options/programs.waybar home-manager/options/programs/waybar] on [https://mynixos.com/ mynixos].


{{file|~/.config/home-manager/home.nix|nix|3=
{{file|~/.config/home-manager/home.nix|nix|3=
Line 17: Line 17:
   modules-right = ["clock"];
   modules-right = ["clock"];
};
};
programs.waybar.style = "";
# programs.waybar.style = "";
}}
}}


Line 24: Line 24:
{{file|~/.config/home-manager/home.nix|nix|3=
{{file|~/.config/home-manager/home.nix|nix|3=
xdg.configFile."waybar/config.jsonc".source = ./waybar/config.jsonc;
xdg.configFile."waybar/config.jsonc".source = ./waybar/config.jsonc;
xdg.configFile."waybar/style.css".source = ./waybar/style.css;
# xdg.configFile."waybar/style.css".source = ./waybar/style.css;
}}
}}