From 0e71af11a27631e45c0160842e4498507420eff0 Mon Sep 17 00:00:00 2001 From: stkhan Date: Fri, 31 Mar 2023 19:42:29 -0500 Subject: bar and blocks --- wm/someblocks/dwmblocks-du | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 wm/someblocks/dwmblocks-du (limited to 'wm/someblocks/dwmblocks-du') diff --git a/wm/someblocks/dwmblocks-du b/wm/someblocks/dwmblocks-du new file mode 100755 index 0000000..ed5f791 --- /dev/null +++ b/wm/someblocks/dwmblocks-du @@ -0,0 +1,5 @@ +#!/bin/sh +icon='💾' +cmd=$(df -h --output='pcent' /home | sed 1g | tr -d '\n ') + +echo $icon $cmd -- cgit v1.2.3