to the bottom
This commit is contained in:
parent
1814947e47
commit
4d4e17d102
1 changed files with 8 additions and 8 deletions
|
@ -9,14 +9,6 @@ StateRemove = 0
|
||||||
StateAdd = 1
|
StateAdd = 1
|
||||||
StateToggle = 2
|
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):
|
def state_above(data, add=StateAdd):
|
||||||
"""Toggles, adds or removes the 'above' state on a window.
|
"""Toggles, adds or removes the 'above' state on a window.
|
||||||
The second paramater should one of: StateRemove, StateAdd, or
|
The second paramater should one of: StateRemove, StateAdd, or
|
||||||
|
@ -264,4 +256,12 @@ def send_to_prev_desktop(data, no_wrap=0, follow=1):
|
||||||
if follow:
|
if follow:
|
||||||
change_desktop(data, d)
|
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"
|
print "Loaded callbacks.py"
|
||||||
|
|
Loading…
Reference in a new issue