Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ewwbar: initialize eww-bat script variables
If BATTERY_PATH-does not exist, variables are initialized with *empty*-value. Empty/null value will generate following errors into logs: ghaf-host ewwbar-ctrl[xx]: /nix/store/hash-eww-bat/bin/eww-bat: line 12: [: : integer expression expected ghaf-host ewwbar-ctrl[xx]: (standard_in) 1: syntax error ghaf-host ewwbar-ctrl[xx]: /nix/store/hash-eww-bat/bin/eww-bat: line 29: [: : integer expression expected Signed-off-by: Tanel Dettenborn <[email protected]>
- Loading branch information