Merge pull request #1 from tharyThary/config

Add config file
This commit is contained in:
KarimullinArthur 2022-07-01 22:45:09 +05:00 committed by GitHub
commit f0791a5ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,13 @@
import os import os
import random import random
import sys
home = os.path.expanduser('~')
sys.path.insert(0, home+"/.config")
#sys.path.insert(0, '.config/wallpyper')
from wallpyper import config
PATH = '/home/arthur/img/Wallpapers/wallpyper/'# path to media (wallpaper)
PATH = config.path_to_wallpapers
files = os.listdir(PATH) files = os.listdir(PATH)
def run(command,output=False): def run(command,output=False):