Add config file
This commit is contained in:
parent
73f0a51cf7
commit
0032ce5de3
1 changed files with 7 additions and 1 deletions
8
func.py
8
func.py
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue