This commit is contained in:
iFargle 2024-01-02 23:30:34 +09:00
parent 119ad6e8c8
commit c9a4e6e010

View file

@ -55,8 +55,8 @@
id id
source ~/.bashrc source ~/.bashrc
TIME=`${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" ${pkgs.bash}/bin/echo "Time to run at: $TIME"
echo "plasma-apply-colorscheme -platform offscreen Arc" | sudo ${pkgs.at}/bin/at $TIME ${pkgs.bash}/bin/echo "plasma-apply-colorscheme -platform offscreen Arc" | ${pkgs.at}/bin/at $TIME
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
}; };
@ -68,8 +68,8 @@
id id
source ~/.bashrc source ~/.bashrc
TIME=`${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" ${pkgs.bash}/bin/echo "Time to run at: $TIME"
echo "plasma-apply-colorscheme -platform offscreen ArcDark" | sudo ${pkgs.at}/bin/at $TIME ${pkgs.bash}/bin/echo "plasma-apply-colorscheme -platform offscreen ArcDark" | ${pkgs.at}/bin/at $TIME
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
}; };