Remove notify-battery script with i3-battery-popup

https://github.com/rjekker/i3-battery-popup
This commit is contained in:
Oliver Davies 2025-01-09 22:00:00 +00:00
parent 5160384b10
commit f982861233
7 changed files with 23 additions and 68 deletions
nix/modules/nixos

View file

@ -20,14 +20,6 @@ in
config = mkIf config.features.desktop.i3.enable {
services = {
cron = {
enable = true;
systemCronJobs = [
"* * * * * opdavies ${pkgs.notify-battery}/bin/notify-battery"
];
};
displayManager.defaultSession = "none+i3";
xserver = {
@ -108,6 +100,7 @@ in
exec_always --no-startup-id caffeine
exec_always --no-startup-id ${pkgs.autorandr}/bin/autorandr --change
exec_always --no-startup-id ${pkgs.i3-battery-popup}/bin/i3-battery-popup -n
smart_borders on
smart_gaps on