This commit is contained in:
iFargle 2024-01-02 22:31:22 +09:00
parent c0bcd4a6e5
commit 8e3f501e0c

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}/bin/at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`'';
script = ''echo "plasma-apply-colorscheme -platform offscreen Arc" | at `${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}/bin/at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`'';
script = ''echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`'';
serviceConfig.Type = "oneshot";
};
};