21 lines
459 B
Nix
21 lines
459 B
Nix
{ pkgs, ... }: {
|
|
# 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"
|
|
];
|
|
};
|
|
};
|
|
# }}}
|
|
}
|