Script for stopping stuff when qtile exits.
This commit is contained in:
parent
1694f157ea
commit
aa145d5130
2 changed files with 8 additions and 2 deletions
|
@ -16,8 +16,13 @@ wl_input_rules = {
|
|||
|
||||
@hook.subscribe.startup_once
|
||||
def autostart():
|
||||
home = os.path.expanduser('~/.config/qtile/autostart.sh')
|
||||
subprocess.Popen([home])
|
||||
autostart = os.path.expanduser('~/.config/qtile/autostart.sh')
|
||||
subprocess.Popen([autostart])
|
||||
|
||||
@hook.subscribe.shutdown
|
||||
def autostop():
|
||||
autostop = os.path.expanduser('~/.config/qtile/stop.sh')
|
||||
subprocess.Popen([autostop])
|
||||
|
||||
mod = "mod4"
|
||||
groups = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue