add an exit callback
This commit is contained in:
parent
8d99c55c6c
commit
b9ac2d30cf
1 changed files with 5 additions and 1 deletions
|
@ -114,9 +114,13 @@ def focus(data):
|
|||
data.client.focus()
|
||||
|
||||
def restart(data, other = ""):
|
||||
"""Restarts openbox, optionally starting another window manager."""
|
||||
"""Restarts Openbox, optionally starting another window manager."""
|
||||
ob.openbox.restart(other)
|
||||
|
||||
def exit(data):
|
||||
"""Exits Openbox."""
|
||||
ob.openbox.shutdown()
|
||||
|
||||
def raise_win(data):
|
||||
"""Raises the window on which the event occured"""
|
||||
if not data.client: return
|
||||
|
|
Loading…
Reference in a new issue