]> Dogcows Code - chaz/openbox/blobdiff - scripts/builtins.py
allow "event bindings" via ebind() for new windows/window enter/leave
[chaz/openbox] / scripts / builtins.py
index bce2b0f076803be8ee4d5e2649cbbe48fb5cbaea..29079126809e6922db6fc987d57ae4e6d57b4abe 100644 (file)
@@ -58,3 +58,20 @@ def resize(data):
                     data.press_clientwidth() + dx,
                     data.press_clientheight() + dy);
 
+def execute(bin, screen = 0):
+    Openbox_execute(openbox, screen, bin)
+
+def toggle_shade(data):
+    print "toggle_shade"
+
+def raise_win(data):
+    client = Openbox_findClient(openbox, data.window())
+    if not client: return
+    screen = Openbox_screen(openbox, OBClient_screen(client))
+    OBScreen_restack(screen, 1, client)
+
+def lower_win(data):
+    client = Openbox_findClient(openbox, data.window())
+    if not client: return
+    screen = Openbox_screen(openbox, OBClient_screen(client))
+    OBScreen_restack(screen, 0, client)
This page took 0.020896 seconds and 4 git commands to generate.