This commit is contained in:
iFargle 2024-01-03 18:06:13 +09:00
parent bc9612dc52
commit e06e767c48

View file

@ -52,9 +52,9 @@
SUNSET=`date -d \`cat /tmp/wttr.sunset\` +%s` SUNSET=`date -d \`cat /tmp/wttr.sunset\` +%s`
CURRENT=`date +%s` CURRENT=`date +%s`
if [ $CURRENT -gt $SUNRISE -a $CURRENT -lt $SUNSET ] ; then if [ $CURRENT -gt $SUNRISE -a $CURRENT -lt $SUNSET ] ; then
plasma-apply-colorscheme -platform offscreen Arc /run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen Arc
else else
plasma-apply-colorscheme -platform offscreen ArcDark /run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen ArcDark
fi fi
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";