This commit is contained in:
iFargle 2024-01-02 22:19:08 +09:00
parent 4210974efe
commit fc9ab5e61a

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