blob: 158982f96e2db071a62ae00eef99310dbad64a77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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}'
df -h | grep "/home$" | awk '{print $3}'
|