nixos-configs/eww/scripts/disk.sh
2023-05-28 18:05:51 -04:00

3 lines
No EOL
86 B
Bash
Executable file

#!/usr/bin/env bash
df --output=pcent / | tail -n 1 | sed 's/%//g' | awk '{print $1}'