X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fdefaults.py;h=8758a669cfae36ec7b0d5d88794fcd65f9091816;hb=bdbbfd6cff07559fa37a341b8625cb9b70f310fe;hp=38b00a4dccb3de43707c5c129a04b614e13569be;hpb=8ee2603a610255331c399bfcc155596ceefb8b82;p=chaz%2Fopenbox diff --git a/scripts/defaults.py b/scripts/defaults.py index 38b00a4d..8758a669 100644 --- a/scripts/defaults.py +++ b/scripts/defaults.py @@ -10,7 +10,9 @@ focus.FALLBACK = 1 # choose a default focus model focusmodel.setup_click_focus() # use focusmodel.setup_sloppy_focus() instead to - # make focus follow the cursor + # make focus follow the cursor, or bind things + # in some way like these functions do to make + # your own custom focus model. # set up the mouse buttons behavior.setup_window_clicks() behavior.setup_window_buttons() @@ -35,7 +37,7 @@ ob.kbind(["A-F4"], ob.KeyContext.All, callbacks.close) # focus bindings import stackedcycle # functions for doing stacked 'kde-style' cycling ob.kbind(["A-Tab"], ob.KeyContext.All, stackedcycle.next) -ob.kbind(["A-S-Tab"], ob.KeyContext.All, stackedcycle.previous +ob.kbind(["A-S-Tab"], ob.KeyContext.All, stackedcycle.previous) # if you want linear cycling instead of stacked cycling, comment out the focus # bindings above, and use these instead.