all repos — dotfiles @ 6363b8f04e4bdd904c6a2a45aa1fb15bd9e52d8f

linux dotfiles

i3blocks/disk

1 2 3 4 5
#!/bin/sh

avail=$(df -B 1 ~/ | awk 'NR==2 {printf "%0.1fGiB", $4/1024/1024/1024}')
icon="<span font='Font Awesome 5 Free'>\uf0a0</span>"
echo -e $icon $avail