Improve notifications

This commit is contained in:
Geoffrey Frogeye 2025-06-14 12:04:20 +02:00
parent 1843c63924
commit a70cb66771
4 changed files with 11 additions and 68 deletions

View file

@ -239,20 +239,6 @@ in
command = "${pkgs.systemd}/bin/systemctl --user restart kanshi";
always = true;
}
{
command = "${
pkgs.writeShellApplication {
name = "batteryNotify";
runtimeInputs = with pkgs; [
coreutils
libnotify
];
text = builtins.readFile ./batteryNotify.sh;
# TODO Use batsignal instead?
# TODO Only on computers with battery
}
}/bin/batteryNotify";
}
];
workspaceLayout = "tabbed";
workspaceOutputAssign = lib.mkIf (builtins.length screenCombinations > 0) (