diff options
| author | Suleyman Farajli <suleyman@farajli.net> | 2025-11-04 23:04:15 +0400 |
|---|---|---|
| committer | Suleyman Farajli <suleyman@farajli.net> | 2025-11-04 23:04:15 +0400 |
| commit | 5489258118ca855ee49f08b52d2789b6e1eabf3f (patch) | |
| tree | 69833e0cb04ee9487e14c62b6456d6d0f8f7f38d | |
| parent | 677664ecf04abca13091595a3c4b99f187f85ceb (diff) | |
fix(dcheck_battery): use `-s` instead of `-c` when calling `notification send`
| -rwxr-xr-x | daemons/dcheck_battery | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/dcheck_battery b/daemons/dcheck_battery index 627acbf..343bc4a 100755 --- a/daemons/dcheck_battery +++ b/daemons/dcheck_battery @@ -8,7 +8,7 @@ while true; do # Only notify if battery is low AND not charging if [ "${status}" = "Discharging" ] && [ "${percent}" -lt 7 ]; then - nsend -c "Battery" "Critically low: ${percent}%" + nsend -s "Battery" "Critically low: ${percent}%" fi sleep 120 |
