diff options
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ def autostart(): holiday = cusmodules.holiday.main() os.system(f'{home}/.config/qtile/cusmodules/wallpaper.py {holiday}') subprocess.Popen(f'{home}/.config/qtile/autostart.sh') + qtile_pid = os.getpid() + + with open('/tmp/qtile.pid', 'w') as f: + f.write(str(qtile_pid)) @hook.subscribe.shutdown def shutdown(): |