summaryrefslogtreecommitdiff
path: root/i3blocks-net.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks-net.sh')
-rwxr-xr-xi3blocks-net.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3blocks-net.sh b/i3blocks-net.sh
index cd0f6c4..3d65ddb 100755
--- a/i3blocks-net.sh
+++ b/i3blocks-net.sh
@@ -5,8 +5,8 @@ icon_wireless=󰖩
is_ethernet=$(ifconfig em0 | grep status | cut -d':' -f2)
if [ "$is_ethernet" = " active" ]; then
inet=$(ifconfig lagg0 | grep inet\ | cut -w -f3)
- printf "$icon_ethernet %s\n" $inet
+ printf "$icon_ethernet%s\n" $inet
else
ssid=$(ifconfig wlan0 | grep ssid | cut -d'"' -f2)
- printf "$icon_wireless %s\n" "$ssid"
+ printf "$icon_wireless%s\n" "$ssid"
fi