1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

switching to dwmblocks

This commit is contained in:
TiynGER
2020-05-28 01:54:46 +02:00
parent 4a03447355
commit b7c6843135
5 changed files with 6 additions and 24 deletions

View File

@@ -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

View File

@@ -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/")"