1 2 3 4 5 6 7
#!/bin/sh case $BUTTON in 1)notify-send "$(df -H | grep "Filesystem\|/dev/sd\|/dev/mapper")";; 3)urxvt -e vim ~/.local/bin/statusbar/storage esac df -H | awk '/\/$/ { print $4 }'