Fix battery notifications

This commit is contained in:
Oliver Davies 2024-06-11 23:45:00 +01:00
parent 1869c6b223
commit 68813f3af7
3 changed files with 6 additions and 1 deletions

View file

@ -14,6 +14,10 @@ Instead of grouping changes by tag, they are grouped by the date they are releas
- Updated background colour in the tmux status bar.
- Switch from NixOS unstable to 24.05.
### Fixed
- Fix battery and charging notifications.
## 10th June 2024
### Updated

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail

View file

@ -329,7 +329,7 @@ in
services.cron = {
enable = true;
systemCronJobs = [ "* * * * * opdavies /home/opdavies/.config/bin/notify-battery.sh" ];
systemCronJobs = [ "* * * * * opdavies /home/${username}/.local/bin/notify-battery" ];
};
services.auto-cpufreq.enable = true;