minimized statusbar

This commit is contained in:
Alexander Bocken 2020-12-15 13:37:43 +01:00
parent f77b22b5a4
commit f0099e421a
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,9 @@ esac
#TEMPERATURE
#load=$(sensors | awk '/Package id 0/ {print "🌡"$4}' | sed 's/\.[0-9]//; s/+//')
load=$(sensors | awk '/Package id 0/ {print $4}' | sed 's/\.[0-9]//; s/+//')
#LOAD PERCENTAGE
load=$(top -n1 | awk 'NR==3 {print "🖩"$2"%"}')
#load=$(top -n1 | awk 'NR==3 {print "🖩"$2"%"}')
[ -n "$load" ] && echo "$load"

View File

@ -6,4 +6,5 @@ case $BLOCK_BUTTON in
- Click to show memory hogs." ;;
esac
free -h | awk '/^Mem:/ {print $3 "/" $2}'
#free -h | awk '/^Mem:/ {print $3 "/" $2}'
free -h | awk '/^Mem:/{print $3}'