chore: Added disk util to xmobar

This commit is contained in:
2022-11-05 16:21:47 +00:00
parent 48ce8dfcfd
commit 03756e1c05

3
.config/xmobar/scripts/disk.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
freespace=$(btrfs fi usage / | grep -Po 'Free \(estimated\):.*' | awk '{print $3}')
echo "Disk (Free): <fc=#AAC0F0> $freespace</fc>"