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

View File

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