Customize waybar with Catppuccin Latte theme and niri modules

- Replace sway modules with niri/workspaces, niri/window, niri/language
- Remove battery, backlight, mpd (desktop machine)
- Add custom modules: GPU (nvidia-smi), weather (wttr.in), mail (Thunderbird)
- Add disk, privacy modules
- Catppuccin Latte colors with Mocha dark background
- Wi-Fi signal level icon, bold 15px font
- Scripts for GPU, weather, and mail monitoring

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mikhail Kilin
2026-03-01 17:53:49 +03:00
parent d0813ba423
commit 698c953c55
5 changed files with 332 additions and 409 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
weather=$(curl -s "wttr.in/?format=%c%t" 2>/dev/null)
if [ -z "$weather" ] || echo "$weather" | grep -q "Unknown"; then
echo '{"text": "N/A", "tooltip": "Weather unavailable"}'
exit 0
fi
tooltip=$(curl -s "wttr.in/?format=%l:+%C+%t+%w+%h" 2>/dev/null)
echo "{\"text\": \"${weather}\", \"tooltip\": \"${tooltip}\"}"