sb_ram (219B)
1 # checks ram usage 2 3 ram() { 4 USED="$(command free -k | grep Mem: | awk '{print $3}')" 5 TOTAL="$(command free -k | grep Mem: | awk '{print $2}')" 6 printf 'RAM: %s%% %s ' "$(( 100 * USED / TOTAL ))" "$DELIMITER" 7 }
sbshitty bar for dwm | |
git clone git://git.ckyln.com/~cem/sb.git | |
Log | Files | Refs | README | LICENSE |