blob: a1aae8134584b1c951979510c5b973fddcc89584 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
case $BLOCK_BUTTON in
1)
root="$(df -h | grep /$ | awk '{print "/: Used "$3"/"$2" ("$5")"}')"
home="$(df -h | grep /home$ | awk '{print "/home: Used "$3"/"$2" ("$5")"}')"
dunstify -r $(dunstifyIDs.sh "disk") -t 5000 "$root
$home" ;;
esac
df -h | grep "/home$" | awk '{print $3"/"$2}'
|