mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
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.
This commit is contained in:
parent
b5925045a3
commit
0035a69a9c
@ -3,4 +3,4 @@
|
||||
# Refresh the dwmbar.
|
||||
# Right now, now this is done is by killing the sleep in the bar script.
|
||||
|
||||
kill "$(pstree -lp | grep -- -dwmbar\([0-9] | sed "s/.*sleep(\([0-9]\+\)).*/\1/")"
|
||||
pkill -P "$(pgrep -ox dwmbar)" sleep
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user