update: hypr&neovim improvements, yazi plugins, waybar tweaking before bigger update
This commit is contained in:
@@ -52,7 +52,7 @@ fi
|
||||
# active param
|
||||
active="\0active\x1f"
|
||||
|
||||
# netbird
|
||||
# wireguard
|
||||
if $wireguard_installed; then
|
||||
wireguard_status=$(sudo wg show interfaces)
|
||||
if [ "$wireguard_status" != "wg0" ]; then
|
||||
@@ -67,7 +67,10 @@ fi
|
||||
|
||||
# netbird
|
||||
if $netbird_installed; then
|
||||
netbird_status=$(netbird status | grep "Networks" | cut -d: -f2 | sed "s/ -//")
|
||||
netbird_status=""
|
||||
if timeout 0.3 netbird status >/dev/null 2>&1; then
|
||||
netbird_status=$(netbird status | grep "Networks" | cut -d: -f2 | sed "s/ -//")
|
||||
fi
|
||||
if [ -z "$netbird_status" ]; then
|
||||
echo " Start netbird"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user