Move to src/ and rename for packaging
This commit is contained in:
		
							parent
							
								
									5316c1a93c
								
							
						
					
					
						commit
						4a029b54d9
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								src/__main__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								src/__main__.py
									
									
									
									
									
										Normal 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()
 | 
				
			||||||
		Loading…
	
		Reference in a new issue