10 lines
311 B
Nix
10 lines
311 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home.packages = [
|
|
(pkgs.writeShellScriptBin "dunstify-battery-notification" ''
|
|
msgTag="battery-notify"
|
|
${pkgs.dunst}/bin/dunstify -a "batteryNotify" -u critical -i battery-notify -h string:x-dunst-stack-tag:$msgTag "Battery Status" "$(battery-status)" -t 5000
|
|
'')
|
|
];
|
|
}
|