Waybar: Difference between revisions
mNo edit summary |
|||
| Line 33: | Line 33: | ||
=== Icon Fonts Missing === | === Icon Fonts Missing === | ||
The default configuration uses <code>FontAwesome</code> font, which is only available in {{nixos:package|font-awesome_4}}, not in {{nixos:package|font-awesome}}, {{nixos:package|font-awesome_6}}, etc. | The default configuration uses <code>FontAwesome</code> font, which is only available in {{nixos:package|font-awesome_4}}, not in {{nixos:package|font-awesome}}, {{nixos:package|font-awesome_6}}, {{nixos:package|font-awesome_5}}, etc. | ||
You may simply install {{nixos:package|font-awesome_4}} | You may simply install {{nixos:package|font-awesome_4}} | ||
{{file|/etc/nixos/configuration.nix|nix|3= | {{file|/etc/nixos/configuration.nix|nix|3= | ||
fonts.packages = with pkgs; [ | |||
font-awesome_4 | |||
]; | |||
}} | }} | ||
or edit <code>style.css</code> to use your prefered font: | or edit <code>style.css</code> to use your prefered font (e.g. {{nixos:package|font-awesome}}): | ||
{{file|/etc/nixos/configuration.nix|nix|3= | {{file|/etc/nixos/configuration.nix|nix|3= | ||
fonts.packages = with pkgs; [ | |||
font-awesome | |||
]; | |||
}} | }} | ||