add nixos logo on waybar

This commit is contained in:
Yan Lin 2025-11-10 10:32:20 +01:00
parent 7402a63aa8
commit 416e8dc46e
2 changed files with 18 additions and 1 deletions

View file

@ -586,9 +586,15 @@
spacing = 4;
modules-left = [ "hyprland/workspaces" "hyprland/window" ];
modules-center = [ "clock" ];
modules-center = [ "custom/nixos-logo" "clock" ];
modules-right = [ "custom/notification" "pulseaudio" "backlight" "battery" "tray" ];
"custom/nixos-logo" = {
format = "";
tooltip = true;
tooltip-format = "NixOS";
};
"hyprland/workspaces" = {
format = "{name}";
on-click = "activate";
@ -703,6 +709,14 @@
color: #ffffff;
}
/* NixOS logo styling */
#custom-nixos-logo {
padding: 0;
margin: 0 5px;
color: #5277C3; /* NixOS Blue */
font-size: 16px;
}
/* Notification module styling */
#custom-notification {
padding: 0 10px;