diff options
| author | stkhan <personal@slickd.xyz> | 2022-06-26 14:05:37 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2022-06-26 14:05:37 +0000 |
| commit | b5288d19e08b0db7b1a5060980cd4ecbc8e3f8ca (patch) | |
| tree | aab4c575e62725bf170fa55885ad0001775f827b /wm | |
| parent | d9e4e7f8e3babfc415574b37f97bca821305ecb7 (diff) | |
new script, installs dwmblocks scripts
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 |