6 lines
167 B
Bash
6 lines
167 B
Bash
#!/bin/bash
|
|
|
|
USAGE="$(memory_pressure | grep "System-wide memory free percentage:" | awk '{ printf("%02.0f\n", 100-$5"%") }')%"
|
|
|
|
sketchybar --set $NAME label="$USAGE"
|