Added disk util to xmobar
This commit is contained in:
parent
02be5bb7a4
commit
551e914342
1 changed files with 3 additions and 0 deletions
3
.config/xmobar/scripts/disk.sh
Executable file
3
.config/xmobar/scripts/disk.sh
Executable 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>"
|
Loading…
Reference in a new issue