Fix battery notifications
This commit is contained in:
parent
1869c6b223
commit
68813f3af7
|
@ -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.
|
- Updated background colour in the tmux status bar.
|
||||||
- Switch from NixOS unstable to 24.05.
|
- Switch from NixOS unstable to 24.05.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix battery and charging notifications.
|
||||||
|
|
||||||
## 10th June 2024
|
## 10th June 2024
|
||||||
|
|
||||||
### Updated
|
### Updated
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
|
@ -329,7 +329,7 @@ in
|
||||||
services.cron = {
|
services.cron = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
systemCronJobs = [ "* * * * * opdavies /home/opdavies/.config/bin/notify-battery.sh" ];
|
systemCronJobs = [ "* * * * * opdavies /home/${username}/.local/bin/notify-battery" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.auto-cpufreq.enable = true;
|
services.auto-cpufreq.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue