mirror of
https://github.com/kuhyx/scripts.git
synced 2026-11-11 12:27:41 +01:00
feat: added nice icons to warp connected info
This commit is contained in:
parent
ea2f44e161
commit
8b2f36b36a
@ -11,14 +11,16 @@ status=$(warp-cli status 2>/dev/null | grep "Status update:" | awk '{print $3}')
|
|||||||
|
|
||||||
# Display the status with an icon
|
# Display the status with an icon
|
||||||
if [ "$status" = "Connected" ]; then
|
if [ "$status" = "Connected" ]; then
|
||||||
echo "!!! WARP CONNECTED !!!"
|
echo "🔒 !!! WARP CONNECTED !!!"
|
||||||
echo
|
echo
|
||||||
echo "#FFFF00" # Yellow
|
echo "#FFFF00" # Yellow
|
||||||
elif [ "$status" = "Disconnected" ]; then
|
elif [ "$status" = "Disconnected" ]; then
|
||||||
echo "warp disconnected"
|
echo "WARP disconnected"
|
||||||
else
|
|
||||||
echo "! WARP unknown !"
|
|
||||||
echo
|
echo
|
||||||
echo "#FF0000" # Yellow
|
echo "#00FF00" # Green
|
||||||
|
else
|
||||||
|
echo "⚠️ ! WARP unknown !"
|
||||||
|
echo
|
||||||
|
echo "#FF0000" # Red
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user