feat(waybar): update

This commit is contained in:
2026-02-25 02:26:16 +01:00
parent 9dc6bd9eb0
commit 7e3062121a
2 changed files with 4 additions and 4 deletions

View File

@@ -13,8 +13,8 @@
"memory",
"pulseaudio",
"clock",
"custom/weather",
"clock#simpleclock",
"custom/weather",
"custom/tailscale",
"network",
"battery",
@@ -163,7 +163,7 @@
"format": "",
"format-icons": ["󰤟 ", "󰤢 ", "󰤥 ", "󰤨 "],
"format-wifi": "{icon} {essid}",
"format-ethernet": "󰈀 {essid}",
"format-ethernet": "󰈀 ",
"format-disconnected": "󰤮 ",
"tooltip-format": "{ifname}",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
if tailscale status --json 2>/dev/null | grep -q '"BackendState": "Running"'; then
echo '{"text":"󰖂 Connected","class":"connected","tooltip":"Tailscale Connected"}'
echo '{"text":"󰛳  ","class":"connected","tooltip":"Tailscale Connected"}'
else
echo '{"text":"󱗼 Disconnected","class":"disconnected","tooltip":"Tailscale Disconnected"}'
echo '{"text":"󰛳  ","class":"disconnected","tooltip":"Tailscale Disconnected"}'
fi