mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
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.
7 lines
144 B
Bash
Executable File
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
|