[qtile] fixed loading of startup script

This commit is contained in:
Marcel Kapfer 2020-07-14 21:46:54 +02:00
parent 43ced43cf1
commit 9a34c39776
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -231,6 +231,8 @@ wmname = "LG3D"
@hook.subscribe.startup_once
def start_once():
"""Run after qtile is started"""
import os
import subprocess
subprocess.Popen('~/.config/qtile/startup.sh')
autostart_file = os.path.expanduser('~/.config/qtile/startup.sh')
subprocess.call([autostart_file])