]> Dogcows Code - chaz/openbox/blobdiff - scripts/defaults.py
use otk objects in the ob scripts by importing otk
[chaz/openbox] / scripts / defaults.py
index 6bb776ea07317e96b443c1a08ea0de27dcf4ca10..10c980ea988fbbac2db26f1f4564bd5c7c487d3a 100644 (file)
@@ -22,6 +22,10 @@ ob.mbind("Left", ob.MouseContext.Root, ob.MouseAction.Click,
 
 ob.kbind(["A-F4"], ob.KeyContext.All, callbacks.close)
 
+# focus bindings
+ob.kbind(["A-Tab"], ob.KeyContext.All, focus.focus_next_stacked)
+ob.kbind(["A-S-Tab"], ob.KeyContext.All, focus.focus_prev_stacked)
+
 # desktop changing bindings
 ob.kbind(["C-1"], ob.KeyContext.All, lambda(d): callbacks.change_desktop(d, 0))
 ob.kbind(["C-2"], ob.KeyContext.All, lambda(d): callbacks.change_desktop(d, 1))
This page took 0.019984 seconds and 4 git commands to generate.