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; enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ]; path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = '' 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` 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"; serviceConfig.Type = "oneshot";
@ -59,6 +61,8 @@
enable = true; enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ]; path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = '' 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` 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"; serviceConfig.Type = "oneshot";