Re-use dunst for battery notifications
This commit is contained in:
parent
196b793515
commit
8a6be4f1de
|
@ -13,6 +13,14 @@ let
|
|||
in
|
||||
{
|
||||
services = {
|
||||
cron = {
|
||||
enable = true;
|
||||
|
||||
systemCronJobs = [
|
||||
"* * * * * opdavies /home/opdavies/bin/notify-battery"
|
||||
];
|
||||
};
|
||||
|
||||
displayManager.defaultSession = "none+i3";
|
||||
|
||||
xserver = {
|
||||
|
@ -30,7 +38,8 @@ in
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
dunst
|
||||
acpi
|
||||
libnotify
|
||||
nitrogen
|
||||
];
|
||||
|
||||
|
@ -135,5 +144,11 @@ in
|
|||
load.enable = false;
|
||||
};
|
||||
};
|
||||
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
|
||||
settings.global.follow = "keyboard";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue