I am using Arch for some time and I like to tinker with code, even though I am not a professional programmer.
Setting up battery notification for i3 was quite a hassle, but your video on youtube and your code examples were what got me going in the end.
I don't know if it's relevant, but I may have encountered just one inconsistency in one of your scripts, CHARGINGNOTIFY, at least when using it on my machine : when plugging the battery in or out, the notification won't show, and when I ran:
/usr/bin/su rainer -c /home/rainer/.local/bin/chargingnotify 1,
```
-eq unary operator expected
./chargingnotify: line 11: [: -eq: unary operator expected
./chargingnotify: line 13: [: -eq: unary operator expected
The solution was to put the respective lines into double brackets, like so:
[[ $BATTERY_CHARGING -eq 0 ]];
[[ $BATTERY_CHARGING -eq 1 ]];
and only then plugin notification would appear ....
I found the solution [here](https://stackoverflow.com/questions/57984248/eq-unary-operator-expected) on stackoverflow.
I wasn't sure if it was a good idea to file an issue, since arch users are probably expected to be able to help themselves with small issues ... :-)