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

View file

@ -92,6 +92,9 @@
# Open documents # Open documents
paopen = "papis open"; paopen = "papis open";
# Print document file path
papwd = "papis list --file";
# Cache management # Cache management
pareset = "papis cache reset"; pareset = "papis cache reset";
}; };