1
0
Fork 0
dotfiles/.local/bin/daemons/sbd-battery

7 lines
159 B
Plaintext
Raw Normal View History

2023-02-06 22:22:50 +01:00
#!/bin/sh
# battery status file is sent in as an argument from sb-battery
while inotifywait -e modify "$1/status"; do
2023-02-07 17:19:53 +01:00
pkill -RTMIN+3 dwmblocks || break
2023-02-06 22:22:50 +01:00
done