dotfiles/eww/scripts/ssd

4 lines
104 B
Text
Raw Permalink Normal View History

2021-08-25 01:45:11 -04:00
#!/usr/bin/bash
df -h / | awk '{print substr($3, 1, length($3)-1) "/" $2}' | tail -n 1 | sed 's/G/GB/'