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

View file

@ -56,7 +56,7 @@
whoami whoami
id id
source ~/.bashrc source ~/.bashrc
TIME=`x /tmp/wttr.in .weather[0].astronomy[0].sunrise` 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 "Time to run at: $TIME"
echo "plasma-apply-colorscheme -platform offscreen Arc" | at $TIME echo "plasma-apply-colorscheme -platform offscreen Arc" | at $TIME
''; '';
@ -71,7 +71,7 @@
whoami whoami
id id
source ~/.bashrc source ~/.bashrc
TIME=`fx /tmp/wttr.in .weather[0].astronomy[0].sunset` 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 "Time to run at: $TIME"
echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at $TIME echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at $TIME
''; '';