diff options
Diffstat (limited to 'cusmodules')
-rwxr-xr-x | cusmodules/colors.py | 2 | ||||
-rwxr-xr-x | cusmodules/wallpaper.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cusmodules/colors.py b/cusmodules/colors.py index 295fbd4..25a1f1a 100755 --- a/cusmodules/colors.py +++ b/cusmodules/colors.py @@ -35,7 +35,7 @@ def setColor(home, color_dir, choice, **kwargs): #run(['qtile', 'shell', '-c', 'restart()']) #run(['kill', '-SIGUSR1', os.popen('pidof qtile').read().strip('\n')]) - run(['qtile', 'shell', '-c', 'reload_config()']) + run([f'{home}/git/qtile/bin/qtile', 'shell', '-c', 'reload_config()']) run([f'{home}/.local/bin/pywalfox', 'update']) return 0 diff --git a/cusmodules/wallpaper.py b/cusmodules/wallpaper.py index 8f02e4d..ae1cd0d 100755 --- a/cusmodules/wallpaper.py +++ b/cusmodules/wallpaper.py @@ -160,7 +160,7 @@ if __name__ == '__main__': #subprocess.check_call(['qtile', 'shell', '-c', 'restart()']) #run(['kill', '-SIGUSR1', os.popen('pidof qtile').read().strip('\n')]) #run(['qtile', 'shell', '-c', 'restart()']) - run(['qtile', 'shell', '-c', 'reload_config()']) + run([f'{home}/git/qtile/bin/qtile', 'shell', '-c', 'reload_config()']) except: os.system('killall dwm') @@ -261,7 +261,7 @@ if __name__ == '__main__': #subprocess.check_call(['qtile', 'shell', '-c', 'restart()']) #run(['qtile', 'shell', '-c', 'restart()']) #run(['kill', '-SIGUSR1', os.popen('pidof qtile').read().strip('\n')]) - run(['qtile', 'shell', '-c', 'reload_config()']) + run([f'{home}/git/qtile/bin/qtile', 'shell', '-c', 'reload_config()']) #os.system('qtile shell -c "restart()"') except: |