Krolyxon
Auto
Light
Dark
Summary
Tree
Log
Refs
Find
Commit
042f3a9
Branches
master
Refs →
dotfiles-x11
/
.local
/
bin
/
statusbar
/
sb-memory
2 lines · 162 B · Bourne Again Shell (bash)
Raw
Blame
History
Download
1
#!/bin/sh
2
echo
"[ $(free --mebi | sed -n '2{p;q}' | awk '{printf ("%2.2fGiB", ( $3 / 1024), ($2 / 1024))}') $(sensors | awk '/Core 0/ {print " " $3}') ]"