Improve notifications
This commit is contained in:
parent
1843c63924
commit
a70cb66771
4 changed files with 11 additions and 68 deletions
|
@ -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) (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue