dotfiles.nix/home/dark-mode-notify-service.nix

21 lines
459 B
Nix
Raw Normal View History

2022-09-17 23:02:51 +00:00
{ pkgs, ... }: {
2022-09-15 21:17:21 +00:00
# dark-mode-notify configuration
# {{{
launchd.agents.dark-mode-notify = {
enable = true;
config = {
Label = "ke.bou.dark-mode-notify";
KeepAlive = true;
StandardErrorPath = null;
StandardOutPath = null;
ProgramArguments = [
"${pkgs.dark-mode-notify}/bin/dark-mode-notify"
"${pkgs.fish}/bin/fish"
"-c"
"set-background-to-env DARKMODE"
];
};
};
# }}}
}