StateAdd = 1
StateToggle = 2
-def restart(data=0, other = ""):
- """Restarts Openbox, optionally starting another window manager."""
- ob.openbox.restart(other)
-
-def exit(data=0):
- """Exits Openbox."""
- ob.openbox.shutdown()
-
def state_above(data, add=StateAdd):
"""Toggles, adds or removes the 'above' state on a window.
The second paramater should one of: StateRemove, StateAdd, or
if follow:
change_desktop(data, d)
+def restart(data=0, other = ""):
+ """Restarts Openbox, optionally starting another window manager."""
+ ob.openbox.restart(other)
+
+def exit(data=0):
+ """Exits Openbox."""
+ ob.openbox.shutdown()
+
print "Loaded callbacks.py"