chore(xmobar): truncated mpris2 output and updated scripts

This commit is contained in:
Afonso Franco 2024-09-12 21:42:04 +01:00
parent 10288c1356
commit d83b2600ec
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
5 changed files with 19 additions and 7 deletions

View file

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