This commit is contained in:
iFargle 2024-01-02 22:10:47 +09:00
parent 5eaaa1ebcb
commit 6618873109

View file

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