diff options
Diffstat (limited to 'wm')
| -rw-r--r-- | wm/dwmblocks/Makefile | 1 | ||||
| -rwxr-xr-x | wm/dwmblocks/dwmblocks-du | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/wm/dwmblocks/Makefile b/wm/dwmblocks/Makefile index 75109ac..21d9bce 100644 --- a/wm/dwmblocks/Makefile +++ b/wm/dwmblocks/Makefile @@ -28,6 +28,7 @@ clean: install: dwmblocks mkdir -p ${DESTDIR}${PREFIX}/bin cp -f dwmblocks ${DESTDIR}${PREFIX}/bin + cp -f dwmblocks-* ${DESTDIR}${PREFIX}/bin chmod 755 ${DESTDIR}${PREFIX}/bin/dwmblocks uninstall: diff --git a/wm/dwmblocks/dwmblocks-du b/wm/dwmblocks/dwmblocks-du new file mode 100755 index 0000000..ed5f791 --- /dev/null +++ b/wm/dwmblocks/dwmblocks-du @@ -0,0 +1,5 @@ +#!/bin/sh +icon='💾' +cmd=$(df -h --output='pcent' /home | sed 1g | tr -d '\n ') + +echo $icon $cmd |