diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2022-03-08 08:36:16 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2022-03-08 08:36:16 +0100 |
| commit | f626d6a2ccd748b38788bd79a55085d0c6aa580a (patch) | |
| tree | e040c1557c5b2bf7e2003f23e20a4a4f17617d26 /battery-checknow | |
| parent | 926f38a941da5f917971e609f0c03d9b69c92535 (diff) | |
| download | scripts-f626d6a2ccd748b38788bd79a55085d0c6aa580a.tar.gz scripts-f626d6a2ccd748b38788bd79a55085d0c6aa580a.zip | |
fixed battery status file
Diffstat (limited to '')
| -rwxr-xr-x | battery-checknow | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/battery-checknow b/battery-checknow index 0ab4001..ed18565 100755 --- a/battery-checknow +++ b/battery-checknow | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # Check battery state, save result to a file. Pop up notification if changed. | 3 | # Check battery state, save result to a file. Pop up notification if changed. |
| 4 | # Requires: battery-status, notify-battery | 4 | # Requires: battery-status, notify-battery |
| 5 | 5 | ||
| 6 | file="$XDG_DATA_HOME/batterystatus" | 6 | file="${XDG_DATA_HOME:-$HOME/.local/share}/batterystatus" |
| 7 | low=20 | 7 | low=20 |
| 8 | crit=15 | 8 | crit=15 |
| 9 | 9 | ||
