This commit is contained in:
iFargle 2024-01-02 23:35:55 +09:00
parent fe509d267f
commit 3d0823ea90

View file

@ -58,6 +58,7 @@
source ~/.bashrc
TIME=`cat /tmp/wttr.in | grep sunrise | head -n 1 | awk {'print $2" "$3'} | sed -e 's/"//g' | sed -e 's/,//'`
echo "Time to run at: $TIME"
echo "hello world 2"
echo "plasma-apply-colorscheme -platform offscreen Arc" | at $TIME
'';
serviceConfig.Type = "oneshot";
@ -73,6 +74,7 @@
source ~/.bashrc
TIME=`cat /tmp/wttr.in | grep sunset | head -n 1 | awk {'print $2" "$3'} | sed -e 's/"//g' | sed -e 's/,//'`
echo "Time to run at: $TIME"
echo "hello world 2"
echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at $TIME
'';
serviceConfig.Type = "oneshot";