Add config file

This commit is contained in:
Thary 2022-07-01 20:30:35 +03:00
parent 73f0a51cf7
commit 0032ce5de3
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,13 @@
import os
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)
def run(command,output=False):