diff options
author | Michael Kantor <michael@mikekantor.xyz> | 2024-05-03 21:44:40 -0400 |
---|---|---|
committer | Michael Kantor <michael@mikekantor.xyz> | 2024-05-03 21:44:40 -0400 |
commit | 1cb735dd499258b4879cdd79dd7a1504f29b6f52 (patch) | |
tree | 1deb1264ecb210759b91ad1fed3c025ff07c4865 /cusmodules/wallpaper.py | |
parent | cd0cdb4cc333a1f8649d7abd9cff3357b192c5b2 (diff) |
Made qtile script for reloads in $HOME/git/qtile/bin/.
Diffstat (limited to 'cusmodules/wallpaper.py')
-rwxr-xr-x | cusmodules/wallpaper.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |