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

View file

@ -53,7 +53,8 @@
script = '' script = ''
whoami whoami
id 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` source ~/.bashrc
echo "/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen Arc" | sudo ${pkgs.at}/bin/at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
}; };
@ -63,7 +64,8 @@
script = '' script = ''
whoami whoami
id 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` source ~/.bashrc
echo "/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen ArcDark" | sudo ${pkgs.at}/bin/at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
}; };