Add config file

This commit is contained in:
Thary 2022-07-01 20:30:35 +03:00
parent 73f0a51cf7
commit 0032ce5de3

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):