Update theming for KDE
This commit is contained in:
parent
5b294d219d
commit
7510fba021
1 changed files with 5 additions and 1 deletions
|
@ -51,9 +51,13 @@
|
|||
if [ ! -f /tmp/wttr.sunrise ] ; then
|
||||
systemctl --user start get-theme-times.service
|
||||
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