This commit is contained in:
iFargle 2024-01-02 23:31:44 +09:00
parent c9a4e6e010
commit 901e67adbd

View file

@ -54,9 +54,9 @@
whoami whoami
id id
source ~/.bashrc source ~/.bashrc
TIME=`${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise` TIME=`x /tmp/wttr.in .weather[0].astronomy[0].sunrise`
${pkgs.bash}/bin/echo "Time to run at: $TIME" echo "Time to run at: $TIME"
${pkgs.bash}/bin/echo "plasma-apply-colorscheme -platform offscreen Arc" | ${pkgs.at}/bin/at $TIME echo "plasma-apply-colorscheme -platform offscreen Arc" | at $TIME
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
}; };
@ -67,9 +67,9 @@
whoami whoami
id id
source ~/.bashrc source ~/.bashrc
TIME=`${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset` TIME=`fx /tmp/wttr.in .weather[0].astronomy[0].sunset`
${pkgs.bash}/bin/echo "Time to run at: $TIME" echo "Time to run at: $TIME"
${pkgs.bash}/bin/echo "plasma-apply-colorscheme -platform offscreen ArcDark" | ${pkgs.at}/bin/at $TIME echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at $TIME
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
}; };