1
0
Fork 0
dotfiles/.local/bin/daemons/sbd-battery
2023-02-07 17:20:53 +01:00

6 lines
159 B
Bash
Executable file

#!/bin/sh
# battery status file is sent in as an argument from sb-battery
while inotifywait -e modify "$1/status"; do
pkill -RTMIN+3 dwmblocks || break
done