Added disk util to xmobar

This commit is contained in:
afonsofrancof 2022-11-05 16:21:47 +00:00
parent 02be5bb7a4
commit 551e914342

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>"