Skip to content
An Alternative to MacOS Mojave Dynamic Theme and Wallpaper Changer for KDE Plasma 5
Python
Branch: master
Clone or download
Latest commit fd72e5e Sep 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
.gitignore Update .gitignore Sep 8, 2019
LICENSE Initial commit Sep 5, 2019
README.md
light.py Update light.py Sep 5, 2019
light_dark.py Update light_dark.py Sep 7, 2019
main.py Update main.py Sep 11, 2019
night.py Update night.py Sep 6, 2019
scheduler.py Update scheduler.py Sep 15, 2019
setup.py Update setup.py Sep 7, 2019

README.md

KDynamic: An Alternative to MacOS Mojave Dynamic Theme and Wallpaper Changer for KDE Plasma 5

Description

KDynamic is a multiple python script which makes whole system theme light or dark by specified hours using cron scheduler

KDynamic uses native KDE Desktop Environment terminal commands so nothing unfamiliar

Configuration

KDynamic need some paths;

  • Where your favorite light plasma theme located
  • Where your favorite dark plasma theme located
  • Where your favorite wallpapers which categorized by you

to make your desktop like these

light theme

light_dark isDark=False

light_dark isDark=True

night theme

but don't worry setup.py will make this boring stuff for you

~/$ git clone https://github.com/ybgirgin3/KDynamic.git
~/$ cd KDynamic
~/$ python3 setup.py

What you need to do for make program run ?

  • First things first you need to pick up some wallpapers for each of theme maybe from unsplash.com or somewhere you love

  • Move images to the specified folders

  • Make needed changes into the txt file

after installation done and moved favorite wallpapers carefully run

~/$ python3 scheduler.py

this will add a schedule to Cron and it's will not use your cpu while doing nothing*

## ...And what to do for make program run at startup automatically ?

In KDE Plasma you need to go autostart directory

~/$ cd ~/.config/autostart

In this folder you need to move the file which named kdynamic.desktop and of course you need to change some values in it

After all things done you need to make 'main.py' file executable by;

~/$ sudo chmod +x main.py

command and when you restart your system program will run at startup

No need to move kdynamic.desktop file to autostart anymore

program will already run automatically with Cron

This script created with python3

Script includes print functions so you can see what's going on while this little script running if you want

for this run program manually;

~/$ python3 main.py

UPDATE V2

Program will not run in background anymore. Running will happen with Cron the Task Scheduler

You can’t perform that action at this time.