Krolyxon
Commit b2dd4ab

Branches

Refs →

dotfiles-x11.localbinstatusbarsb-memory

2 lines · 162 B · Bourne Again Shell (bash)

1#!/bin/sh
2echo "[  $(free --mebi | sed -n '2{p;q}' | awk '{printf ("%2.2fGiB", ( $3 / 1024), ($2 / 1024))}') $(sensors | awk '/Core 0/ {print " " $3}') ]"