Update plasma theme switcher
This commit is contained in:
parent
da8a125043
commit
2903022c3f
1 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue