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
|
**/autostart.sh
|
||||||
|
**/stop.sh
|
||||||
**/bookmarks
|
**/bookmarks
|
||||||
**/lazy-lock.json
|
**/lazy-lock.json
|
||||||
**/.netrwhist
|
**/.netrwhist
|
||||||
|
@ -16,8 +16,13 @@ wl_input_rules = {
|
|||||||
|
|
||||||
@hook.subscribe.startup_once
|
@hook.subscribe.startup_once
|
||||||
def autostart():
|
def autostart():
|
||||||
home = os.path.expanduser('~/.config/qtile/autostart.sh')
|
autostart = os.path.expanduser('~/.config/qtile/autostart.sh')
|
||||||
subprocess.Popen([home])
|
subprocess.Popen([autostart])
|
||||||
|
|
||||||
|
@hook.subscribe.shutdown
|
||||||
|
def autostop():
|
||||||
|
autostop = os.path.expanduser('~/.config/qtile/stop.sh')
|
||||||
|
subprocess.Popen([autostop])
|
||||||
|
|
||||||
mod = "mod4"
|
mod = "mod4"
|
||||||
groups = [
|
groups = [
|
||||||
|
Loading…
Reference in New Issue
Block a user