From 416e8dc46e7e96347a890ca81474b84054c96933 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Mon, 10 Nov 2025 10:32:20 +0100 Subject: [PATCH] add nixos logo on waybar --- modules/hyprland/home.nix | 16 +++++++++++++++- modules/papis.nix | 3 +++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/modules/hyprland/home.nix b/modules/hyprland/home.nix index fb13528..93953c1 100644 --- a/modules/hyprland/home.nix +++ b/modules/hyprland/home.nix @@ -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; diff --git a/modules/papis.nix b/modules/papis.nix index 7fa32b4..760c08b 100644 --- a/modules/papis.nix +++ b/modules/papis.nix @@ -92,6 +92,9 @@ # Open documents paopen = "papis open"; + # Print document file path + papwd = "papis list --file"; + # Cache management pareset = "papis cache reset"; };