From 8b2f36b36a97f9bb0dc22303f7bab646abe70f3c Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Mon, 28 Apr 2025 10:39:34 +0200 Subject: [PATCH] feat: added nice icons to warp connected info --- i3-configuration/i3blocks/warp_status.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/i3-configuration/i3blocks/warp_status.sh b/i3-configuration/i3blocks/warp_status.sh index 73d6caa..fba0fb8 100755 --- a/i3-configuration/i3blocks/warp_status.sh +++ b/i3-configuration/i3blocks/warp_status.sh @@ -11,14 +11,16 @@ status=$(warp-cli status 2>/dev/null | grep "Status update:" | awk '{print $3}') # Display the status with an icon if [ "$status" = "Connected" ]; then - echo "!!! WARP CONNECTED !!!" + echo "🔒 !!! WARP CONNECTED !!!" echo echo "#FFFF00" # Yellow elif [ "$status" = "Disconnected" ]; then - echo "warp disconnected" -else - echo "! WARP unknown !" + echo "WARP disconnected" echo - echo "#FF0000" # Yellow + echo "#00FF00" # Green +else + echo "⚠️ ! WARP unknown !" + echo + echo "#FF0000" # Red exit 0 fi