simplified xmobar

This commit is contained in:
afonsofrancof 2022-11-08 17:10:50 +00:00
parent fc668b20a3
commit 2747cfcdc0
5 changed files with 54 additions and 75 deletions

View file

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