This commit is contained in:
iFargle 2024-01-02 23:06:21 +09:00
parent 96a296eb18
commit f45e26b839

View file

@ -41,7 +41,7 @@
path = [ pkgs.curl ];
script = "curl wttr.in?format=j1 > /tmp/wttr.in";
after = [ "networking-online.target" ];
serviceConfig.Type = "oneshot";
serviceConfig.Type = "simple";
onSuccess = [
"light-theme.service"
"dark-theme.service"
@ -54,7 +54,7 @@
source ~/.bashrc
echo "/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen Arc" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`
'';
serviceConfig.Type = "oneshot";
serviceConfig.Type = "simple";
};
dark-theme = {
enable = true;
@ -63,7 +63,7 @@
source ~/.bashrc
echo "/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen ArcDark" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`
'';
serviceConfig.Type = "oneshot";
serviceConfig.Type = "simple";
};
};