commit 0c921fc74a71bf6c667821b2d3daf47a133fe1fa parent bf7362725333572c21eec169a9dedc1b3f36d615 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 15 Jan 2019 14:35:46 +0100 Do not show redundant symbol Diffstat:
M | links/.config/i3/i3scripts/i3internet | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/links/.config/i3/i3scripts/i3internet b/links/.config/i3/i3scripts/i3internet @@ -15,7 +15,8 @@ if [ "$(cat /sys/class/net/w*/operstate | head -n 1)" = 'down' ]; then wifiicon="📡" else wifiicon=$(grep "^\s*w" /proc/net/wireless | \ - awk '{ print "📶", int($3 * 100 / 70) "% " }') + awk '{ print int($3 * 100 / 70) "% " }') + #awk '{ print "📶", int($3 * 100 / 70) "% " }') ssid=$(nmcli connection show | grep 'wifi' | head -n 1 | awk '{print $1}') wifiicon="$wifiicon($ssid) " fi