test
This commit is contained in:
parent
96a296eb18
commit
f45e26b839
1 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@
|
||||||
path = [ pkgs.curl ];
|
path = [ pkgs.curl ];
|
||||||
script = "curl wttr.in?format=j1 > /tmp/wttr.in";
|
script = "curl wttr.in?format=j1 > /tmp/wttr.in";
|
||||||
after = [ "networking-online.target" ];
|
after = [ "networking-online.target" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "simple";
|
||||||
onSuccess = [
|
onSuccess = [
|
||||||
"light-theme.service"
|
"light-theme.service"
|
||||||
"dark-theme.service"
|
"dark-theme.service"
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
source ~/.bashrc
|
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`
|
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 = {
|
dark-theme = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
source ~/.bashrc
|
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`
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue