commit 4a9d23a369a9d73a000893f7e6e687bf4bf29e6d parent 9d63d68deb3110b17648af87e2dffd88c13790d5 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 18 Jan 2019 21:53:31 +0100 Remove unnecessary icons from cpu and internet module Diffstat:
M | links/.config/i3/i3scripts/i3cpu | | | 2 | +- |
M | links/.config/i3/i3scripts/i3internet | | | 4 | ++-- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/links/.config/i3/i3scripts/i3cpu b/links/.config/i3/i3scripts/i3cpu @@ -10,4 +10,4 @@ $(ps axch -o cmd:15,%cpu --sort=-%cpu | head)" ;; esac echo -n $(sensors | awk '/^temp1/ {print $2}') -cat /proc/loadavg | awk '{print " ยท " $1}' +cat /proc/loadavg | awk '{print " " $1}' diff --git a/links/.config/i3/i3scripts/i3internet b/links/.config/i3/i3scripts/i3internet @@ -18,7 +18,7 @@ else 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) " + wifiicon="$wifiicon$ssid" fi -printf "%s%s" "$wifiicon" "$(cat /sys/class/net/e*/operstate | sed "s/down/โ/;s/up/๐/")" +printf "%s%s" "$wifiicon" "$(cat /sys/class/net/e*/operstate | sed "s/down//;s/up/๐/")"