dotfiles/sketchybar/plugins/memory.sh
2023-11-18 20:56:03 +01:00

6 lines
122 B
Bash
Executable file

#!/bin/bash
MEMORY=$(memory_pressure | tail -n 1 | awk '{print $5}')
sketchybar --set $NAME icon=󰍛 label="${MEMORY}"