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

7 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