Examples of autostart/stop for qtile.
This commit is contained in:
parent
41d357206a
commit
f8e32f4fc7
3 changed files with 7 additions and 0 deletions
|
@ -114,11 +114,13 @@ else:
|
|||
|
||||
@hook.subscribe.startup_once
|
||||
def autostart():
|
||||
# see examples/autostart.sh
|
||||
autostart=os.getenv('XDG_CONFIG_HOME') + '/qtile/autostart.sh'
|
||||
subprocess.run([autostart])
|
||||
|
||||
@hook.subscribe.shutdown
|
||||
def autostop():
|
||||
# see examples/autostop.sh
|
||||
autostop=os.getenv('XDG_CONFIG_HOME') + '/qtile/autostop.sh'
|
||||
subprocess.run([autostop])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue