{ programs.waybar = { enable = true; settings = { mainBar = { layer = "top"; position = "top"; height = 28; output = [ "eDP-1" ]; margin = "10 20"; modules-left = [ "niri/workspaces" "custom/catgirl-status" ]; modules-center = [ "sway/window" ]; modules-right = [ "battery" "network" "clock" ]; # Empty but cute custom catgirl status "custom/catgirl-status" = { interval = 10; exec = '' echo "" ''; format = "{}"; max-length = 40; tooltip = false; }; # Niri workspaces with icons & cute style "niri/workspaces" = { all-outputs = true; disable-click = false; # allow click to switch workspaces format = "{icon}"; format-icons = { # Named workspaces, you must have matching names in niri config "browser" = "🌐"; "discord" = "💬"; "chat" = "🐱"; # States "focused" = "⭐"; "active" = "●"; "urgent" = "❗"; "empty" = "○"; "default" = "•"; }; disable-markup = false; max-length = 6; }; battery = { format = "🔋 {capacity}%"; low = 20; critical = 10; format-low = "⚠️ {capacity}%"; format-critical = "🚨 {capacity}%"; tooltip = true; }; network = { interface = "wlan0"; format-connected = "📶 {essid}"; format-disconnected = "📡 disconnected"; tooltip = true; }; clock = { format = "{:%a %b %d, %H:%M}"; tooltip = false; }; }; }; style = '' * { font-family: "Comic Mono", "Fira Mono", monospace; border-radius: 12px; font-weight: 600; padding: 5px 15px; } window#waybar { background-color: #3A3A58; color: #FF69B4; border: 2px solid #FF69B4; box-shadow: 0 0 15px #FF69B4AA; } #workspaces button { background-color: #FF69B4; color: #3A3A58; margin: 0 3px; border-radius: 8px; padding: 3px 10px; transition: background-color 0.2s ease; } #workspaces button:hover { background-color: #FFB6C1; color: #1A1A2E; } #workspaces button.active { background-color: #FF69B4; color: #FFF0F5; font-weight: bold; } #clock { font-style: italic; color: #FFC0CB; } #battery, #network { color: #FFB6C1; } #custom-catgirl-status { font-size: 1.1em; color: #FF69B4; font-weight: bold; font-family: "Comic Mono", monospace; } ''; }; }