WallPyPer/main.py
2022-07-02 20:34:01 +05:00

20 lines
383 B
Python
Executable File

#!/usr/bin/python3
from apscheduler.schedulers.background import BlockingScheduler
from func import *
def start():
try:
kill()
except FileNotFoundError:
setWallPaper()
setWallPaper()
if __name__ == '__main__':
start()
sched = BlockingScheduler()
sched.add_job(start,'interval',minutes=configParsing()['value'])
sched.start()