This commit is contained in:
iFargle 2024-01-02 23:22:21 +09:00
parent 9ecd4a4467
commit 220eb610e0

View file

@ -51,6 +51,8 @@
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = ''
whoami
id
echo "/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen Arc" | ${pkgs.at}/bin/at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`
'';
serviceConfig.Type = "oneshot";
@ -59,6 +61,8 @@
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = ''
whoami
id
echo "/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen ArcDark" | ${pkgs.at}/bin/at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`
'';
serviceConfig.Type = "oneshot";