summaryrefslogtreecommitdiff
path: root/i3blocks-net.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-05-18 20:56:13 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-05-18 20:56:13 -0400
commit0ce7301d8799ba91a0d57ab208e2d80d20935a83 (patch)
treee509a730a429ffdbb418dbb53b42557d40541f8e /i3blocks-net.sh
parent6e14535ef56fd91b05eb170f71f7989d7435d8c3 (diff)
downloadscripts-0ce7301d8799ba91a0d57ab208e2d80d20935a83.tar.xz
scripts-0ce7301d8799ba91a0d57ab208e2d80d20935a83.zip
temp fixes for blocks utf+8 errors, added dict.sh, updated porter
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