This commit is contained in:
iFargle 2024-01-02 22:20:30 +09:00
parent fc9ab5e61a
commit 09ec8941b8

View file

@ -50,13 +50,13 @@
light-theme = {
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = ''echo "plasma-apply-colorscheme -platform offscreen Arc" | ${pkgs.at} -u ${username} `${pkgs.fx} /tmp/wttr.in .weather[0].astronomy[0].sunrise`'';
script = ''echo "plasma-apply-colorscheme -platform offscreen Arc" | ${pkgs.at}/bin/at -u ${username} `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`'';
serviceConfig.Type = "oneshot";
};
dark-theme = {
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = ''echo "plasma-apply-colorscheme -platform offscreen ArcDark" | ${pkgs.at} -u ${username} `${pkgs.fx} /tmp/wttr.in .weather[0].astronomy[0].sunset`'';
script = ''echo "plasma-apply-colorscheme -platform offscreen ArcDark" | ${pkgs.at}/bin/at -u ${username} `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`'';
serviceConfig.Type = "oneshot";
};
};