Files
dotfiles/polybar/scripts/getMemory.sh

5 lines
70 B
Bash
Executable File

#!/bin/bash
memory=$(free -m -L | awk '{print $6'})
echo $memory MiB