Update theming for KDE
This commit is contained in:
parent
5b294d219d
commit
7510fba021
1 changed files with 5 additions and 1 deletions
|
@ -50,10 +50,14 @@
|
|||
echo "set-theme.service - Checking for theme settings"
|
||||
if [ ! -f /tmp/wttr.sunrise ] ; then
|
||||
systemctl --user start get-theme-times.service
|
||||
fi
|
||||
fi
|
||||
echo "Getting dates:"
|
||||
SUNRISE=`date -d \`cat /tmp/wttr.sunrise\` +%s`
|
||||
echo "Sunrise: $SUNRISE"
|
||||
SUNSET=`date -d \`cat /tmp/wttr.sunset\` +%s`
|
||||
echo "Sunset: $SUNSET"
|
||||
CURRENT=`date +%s`
|
||||
echo "Current: $CURRENT"
|
||||
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 Arc
|
||||
|
|
Loading…
Reference in a new issue