mirror of https://github.com/tiyn/dotfiles
parent
4a03447355
commit
b7c6843135
@ -1,13 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# inspired by by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
|
||||||
|
|
||||||
status() { \
|
|
||||||
echo "$(memory)|$(cpu)|$(disk /)|$(volume)|$(battery BAT0)|$(internet)|$(clock)"
|
|
||||||
}
|
|
||||||
while :; do
|
|
||||||
xsetroot -name "$(status | tr '\n' ' ')"
|
|
||||||
|
|
||||||
sleep 1m
|
|
||||||
done
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Refresh the dwmbar.
|
|
||||||
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
|
||||||
|
|
||||||
kill "$(pstree -lp | grep -- -dwmbar\([0-9] | sed "s/.*sleep(\([0-9]\+\)).*/\1/")"
|
|
Loading…
Reference in new issue