[qtile] fixed loading of startup script
This commit is contained in:
parent
43ced43cf1
commit
9a34c39776
1 changed files with 3 additions and 1 deletions
|
@ -231,6 +231,8 @@ wmname = "LG3D"
|
||||||
@hook.subscribe.startup_once
|
@hook.subscribe.startup_once
|
||||||
def start_once():
|
def start_once():
|
||||||
"""Run after qtile is started"""
|
"""Run after qtile is started"""
|
||||||
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
subprocess.Popen('~/.config/qtile/startup.sh')
|
autostart_file = os.path.expanduser('~/.config/qtile/startup.sh')
|
||||||
|
subprocess.call([autostart_file])
|
||||||
|
|
Loading…
Reference in a new issue