X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fdefaults.py;h=2e5c536d930fdbafe139ddd97da82798d1af94ea;hb=6e2f3f9f8a2b4b83648c9c8b9993d321b3f60a79;hp=6467cf8ea0a0a3303572e3d644b59c8ea630ea75;hpb=220b5c40f91c6509951ccd0d506a9bd77d9d6bac;p=chaz%2Fopenbox diff --git a/scripts/defaults.py b/scripts/defaults.py index 6467cf8e..2e5c536d 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() @@ -39,7 +41,7 @@ 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. -#import focuscycle +#import focuscycle # functions for doing linear cycling #focuscycle.RAISE_WINDOW = 0 # don't raise windows when they're activated #ob.kbind(["A-Tab"], ob.KeyContext.All, focuscycle.next) #ob.kbind(["A-S-Tab"], ob.KeyContext.All, focuscycle.previous)