feat: update icons

This commit is contained in:
Abhishek Keshri 2024-02-21 08:39:37 +05:30
parent 70ea2d2626
commit be82e9fada
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -12,15 +12,15 @@ get_ssid() {
if [ -n "$SSID" ]; then
printf '%s' "$SSID"
else
echo ' Ethernet'
echo '󰈀 Ethernet'
fi
;;
Darwin)
if /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | grep -E ' SSID' | cut -d ':' -f 2 | sed 's/ ^*//g' &>/dev/null; then
echo "$(/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | grep -E ' SSID' | cut -d ':' -f 2)" | sed 's/ ^*//g'
echo "$(/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | grep -E ' SSID' | cut -d ':' -f 2)" | sed 's/ ^*//g'
else
echo ' Ethernet'
echo '󰈀 Ethernet'
fi
;;