minimized statusbar
This commit is contained in:
parent
f77b22b5a4
commit
f0099e421a
@ -9,8 +9,9 @@ esac
|
|||||||
|
|
||||||
#TEMPERATURE
|
#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=$(sensors | awk '/Package id 0/ {print $4}' | sed 's/\.[0-9]//; s/+//')
|
||||||
|
|
||||||
#LOAD PERCENTAGE
|
#LOAD PERCENTAGE
|
||||||
load=$(top -n1 | awk 'NR==3 {print "🖩"$2"%"}')
|
#load=$(top -n1 | awk 'NR==3 {print "🖩"$2"%"}')
|
||||||
|
|
||||||
[ -n "$load" ] && echo "$load"
|
[ -n "$load" ] && echo "$load"
|
||||||
|
@ -6,4 +6,5 @@ case $BLOCK_BUTTON in
|
|||||||
- Click to show memory hogs." ;;
|
- Click to show memory hogs." ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
free -h | awk '/^Mem:/ {print $3 "/" $2}'
|
#free -h | awk '/^Mem:/ {print $3 "/" $2}'
|
||||||
|
free -h | awk '/^Mem:/{print $3}'
|
||||||
|
Loading…
Reference in New Issue
Block a user