diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-04 09:36:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-04 09:36:42 +0000 |
| commit | 7c8fa47e01513f3878bf61d721139e5fe3a454af (patch) | |
| tree | d6a8ea88398e589de27d49c3050a246a7a68a0d3 /scripts | |
| parent | 8a05ae261d640df3844fdae942556793c62bd073 (diff) | |
add commented stuff for doing linear cycling
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/defaults.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/defaults.py b/scripts/defaults.py index 7fd2273d..922cd6d6 100644 --- a/scripts/defaults.py +++ b/scripts/defaults.py @@ -1,5 +1,4 @@ import focus # add some default focus handling and cycling functions -import stackedcycle # functions for doing stacked 'kde-style' cycling import focusmodel # default focus models import behavior # defines default behaviors for interaction with windows import callbacks # a lib of functions that can be used as binding callbacks @@ -34,8 +33,15 @@ ob.mbind("Left", ob.MouseContext.Root, ob.MouseAction.Click, 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 ... +#import focuscycle +#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) # desktop changing bindings ob.kbind(["C-1"], ob.KeyContext.All, lambda(d): callbacks.change_desktop(d, 0)) |
