Added networking scripts for waybar

This commit is contained in:
fwastring 2026-03-29 14:30:22 +02:00
parent 1a874f68d8
commit 534f8199f3
4 changed files with 510 additions and 13 deletions

View file

@ -12,6 +12,8 @@
"mpris",
"pulseaudio",
"bluetooth",
"custom/tailscale",
"custom/netbird",
"network",
"clock"
],
@ -80,5 +82,35 @@
"tooltip": true,
"tooltip-format": "{:%A, %d %B %Y}\n %H:%M:%S",
"interval": 1
},
"custom/tailscale": {
"exec": "/home/fw/.config/waybar/scripts/tailscale.sh --status",
"on-click": "/home/fw/.config/waybar/scripts/tailscale.sh --toggle",
"exec-on-event": true,
"format": "{icon} {text}",
"format-icons": {
"connected": "",
"stopped": "",
"connecting": "",
"disconnecting": ""
},
"tooltip": true,
"return-type": "json",
"interval": 5
},
"custom/netbird": {
"exec": "/home/fw/.config/waybar/scripts/netbird.sh --status",
"on-click": "/home/fw/.config/waybar/scripts/netbird.sh --toggle",
"exec-on-event": true,
"format": "{icon} {text}",
"format-icons": {
"connected": "",
"stopped": "",
"connecting": "",
"disconnecting": ""
},
"tooltip": true,
"return-type": "json",
"interval": 5
}
}