Added networking scripts for waybar
This commit is contained in:
parent
1a874f68d8
commit
534f8199f3
4 changed files with 510 additions and 13 deletions
|
|
@ -13,6 +13,8 @@
|
|||
"bluetooth",
|
||||
"pulseaudio",
|
||||
"upower",
|
||||
"custom/tailscale",
|
||||
"custom/netbird",
|
||||
"network",
|
||||
"clock"
|
||||
],
|
||||
|
|
@ -44,7 +46,7 @@
|
|||
"on-click": "pgrep .blueman-manage && pkill .blueman-manage || blueman-manager &"
|
||||
},
|
||||
"network": {
|
||||
"interface": "wlp1s0",
|
||||
"interface": "wlp0s20f3",
|
||||
"format": "{ifname}",
|
||||
"format-wifi": " {essid} ({signalStrength}%)",
|
||||
"format-ethernet": "{ifname} ",
|
||||
|
|
@ -86,5 +88,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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue