Skip to content

Commit 4034c04

Browse files
committed
Correction du texte affiché pour l'état VPN déconnecté dans le script WireGuard
1 parent 36834d0 commit 4034c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

archlinux/install/tilling/config/waybar/scripts/wireguard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
interfaces=$(ip -o link show type wireguard | awk -F': ' '{print $2}' | cut -d@ -f1)
44

55
if [ -z "$interfaces" ]; then
6-
echo '{"text":"󱙱 VPN off","class":"disconnected","icon":""}'
6+
echo '{"text":"󱙱 VPN","class":"disconnected","icon":""}'
77
else
88
text=$(echo "${interfaces^}" | tr '\n' ' ' | sed 's/ $//')
99
echo "{\"text\":\"󰌾 $text\",\"class\":\"connected\",\"icon\":\"\"}"

0 commit comments

Comments
 (0)