Move to src/ and rename for packaging

This commit is contained in:
Emma Nora Theuer 2024-06-03 21:39:48 +02:00
parent 5316c1a93c
commit 4a029b54d9

12
src/__main__.py Normal file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
import wallman_lib
def main():
validator = wallman_lib.ConfigValidity()
logic = wallman_lib.WallpaperLogic()
validator.validate_config()
logic.set_wallpaper_by_time()
logic.schedule_wallpapers()
if __name__ == "__main__":
main()