Script for stopping stuff when qtile exits.
This commit is contained in:
parent
1694f157ea
commit
aa145d5130
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
**/autostart.sh
|
||||
**/stop.sh
|
||||
**/bookmarks
|
||||
**/lazy-lock.json
|
||||
**/.netrwhist
|
||||
|
@ -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…
Reference in New Issue
Block a user