all repos — dotfiles @ 6ffd07d7e4a4a8215fe4a35bc814e6e69eded044

linux dotfiles

update i3blocks/disk
Prithu Goswami prithugoswami524@gmail.com
Mon, 30 Dec 2019 16:06:16 +0530
commit

6ffd07d7e4a4a8215fe4a35bc814e6e69eded044

parent

d74a1f7b56c3ab88fa37e519bdf497642577e730

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M i3blocks/diski3blocks/disk

@@ -1,5 +1,6 @@

#!/bin/sh -avail=$(df -B 1 ~/ | awk 'NR==2 {printf "%0.1fGiB", $4/1024/1024/1024}') +home_avail=$(df -B 1 ~/ | awk 'NR==2 {printf "%0.1fGiB", $4/1024/1024/1024}') +root_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 +echo -e "$icon$home_avail"