all repos — openbox @ b9ac2d30cf65fc3147f23d023942b3e6f8a4f29c

openbox fork - make it a bit more like ryudo

add an exit callback
Dana Jansens danakj@orodu.net
commit

b9ac2d30cf65fc3147f23d023942b3e6f8a4f29c

parent

8d99c55c6c2949860dfc39a31b5724f32fdd5b8b

1 files changed, 5 insertions(+), 1 deletions(-)

jump to
M scripts/callbacks.pyscripts/callbacks.py

@@ -114,8 +114,12 @@ return

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"""