This commit is contained in:
iFargle 2024-01-02 23:28:24 +09:00
parent c30e1f16d9
commit b42e101370

View file

@ -54,7 +54,9 @@
whoami
id
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`
TIME=`${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`
echo "Time to run at: $TIME"
echo "plasma-apply-colorscheme -platform offscreen Arc" | sudo ${pkgs.at}/bin/at $TIME
'';
serviceConfig.Type = "oneshot";
};
@ -65,7 +67,9 @@
whoami
id
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`
TIME=`${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`
echo "Time to run at: $TIME"
echo "plasma-apply-colorscheme -platform offscreen ArcDark" | sudo ${pkgs.at}/bin/at $TIME
'';
serviceConfig.Type = "oneshot";
};