Update plasma theme switcher

This commit is contained in:
albert 2024-06-13 14:27:02 +09:00
parent da8a125043
commit 2903022c3f
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -56,9 +56,11 @@
SUNSET=`date -d \`cat /tmp/wttr.sunset\` +%s`
CURRENT=`date +%s`
if [ $CURRENT -gt $SUNRISE -a $CURRENT -lt $SUNSET ] ; then
/run/current-system/sw/bin/plasma-apply-colorscheme -system offscreen Arc
# /run/current-system/sw/bin/plasma-apply-colorscheme -system offscreen Arc
/run/current-system/sw/bin/plasma-apply-colorscheme Arc
else
/run/current-system/sw/bin/plasma-apply-colorscheme -system offscreen ArcDark
# /run/current-system/sw/bin/plasma-apply-colorscheme -system offscreen ArcDark
/run/current-system/sw/bin/plasma-apply-colorscheme ArcDark
fi
echo "set-theme.service - Complete"
'';