Waybar: Difference between revisions
Appearance
Add Waybar |
m Add Category |
||
Line 28: | Line 28: | ||
Please refer to [https://github.com/Alexays/Waybar/tree/master/resources the default configuration (config.jsonc and style.css)] and [https://github.com/Alexays/Waybar/wiki/Configuration wiki] for further information on configuration. | Please refer to [https://github.com/Alexays/Waybar/tree/master/resources the default configuration (config.jsonc and style.css)] and [https://github.com/Alexays/Waybar/wiki/Configuration wiki] for further information on configuration. | ||
[[Category:Applications]] |
Revision as of 13:10, 4 July 2025
Waybar is a highly customizable Wayland bar.
Installation
Waybar can be installed from both configuration.nix and Home Manager:
❄︎ /etc/nixos/configuration.nix or ~/.config/home-manager/home.nix
programs.waybar.enable = true;
Configuration
Waybar can be configured using Home Manager:
❄︎ ~/.config/home-manager/home.nix
programs.waybar.settings.main = {
modules-right = ["clock"];
};
programs.waybar.style = "";
Alternatively, you may configure using JSONC (and CSS) file(s) by:
❄︎ ~/.config/home-manager/home.nix
xdg.configFile."waybar/config.jsonc".source = ./waybar/config.jsonc;
xdg.configFile."waybar/style.css".source = ./waybar/style.css;
Please refer to the default configuration (config.jsonc and style.css) and wiki for further information on configuration.