yadm-config/.config/polybar/scripts/storage/storage.sh
2024-11-02 15:57:09 +01:00

12 lines
166 B
Bash
Executable file

#!/bin/bash
mountPoint=$1
label=$2
echo Checking mount values for "$1"
while :
do
echo $label $(df -h --output=pcent "$mountPoint" | grep "[0-9]%")
sleep 5
done