nixos-configs/eww/scripts/disk.sh

3 lines
86 B
Bash
Raw Normal View History

2023-05-28 18:05:51 -04:00
#!/usr/bin/env bash
df --output=pcent / | tail -n 1 | sed 's/%//g' | awk '{print $1}'