Daniel Guldberg Aaes 0035a69a9c
Updated refbar
This is a super idea for updating the bar instead of having an insane whileloop there is running ever 0.5s!!!!

But I do believe that this is a cleaner solution, and better than parsing the whole `pstree` when we can simply kill the sleep function this way.
2019-06-09 14:05:27 +02:00

7 lines
144 B
Bash
Executable File

#!/bin/sh
# Refresh the dwmbar.
# Right now, now this is done is by killing the sleep in the bar script.
pkill -P "$(pgrep -ox dwmbar)" sleep