#!/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/")"