X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=data%2Frc3;h=482fe11df0e02027e7ffea41fff33547e509844f;hb=07d48062395604c1dfeea214993d48476976f8e9;hp=6b35cb48202f41b58c2a90e8bf8c33d837e5630e;hpb=3348ff49eb443b4e1f87162b4a9de6c83c38777b;p=chaz%2Fopenbox diff --git a/data/rc3 b/data/rc3 index 6b35cb48..482fe11d 100644 --- a/data/rc3 +++ b/data/rc3 @@ -16,8 +16,24 @@ # focus new windows when they appear #focusNew = yes -# does focus follow the mouse pointer -#followMouse = yes +# does focus follow the mouse pointer when it enters a window +#followMouse = no + +# when no windows are left with focus, focus the last window on the desktop +# to previously have focus +#focusLast = yes + +# a special case of focusLast that applies when switching between desktops; if +# set, the previously focused window on the desktop is focused when switching +#focusLastOnDesktop = yes + +[desktops] + +# The number of virtual desktops to use +#number = 4 + +# A list of names for the desktops +names = ("one" "two" "three" "four") [engine] @@ -35,7 +51,7 @@ # I - iconify button # M - maximize button # C - close button -#titlebarLayout = "NDSLIMC" +#titlebarLayout = "NLIMC" # the font for the window titlebars #font.title = "arial-8:bold" @@ -83,6 +99,9 @@ kbind (A-F4) Close kbind (W-D) ToggleDecorations +kbind (A-Tab) NextWindow +kbind (S-A-Tab) PreviousWindow + [mouse] # the distance a drag must go before it is recognized @@ -113,8 +132,10 @@ mbind Titlebar Press Left Focus mbind Handle Press Left Focus mbind BLCorner Press Left Focus mbind BRCorner Press Left Focus -mbind Client Press Left Focus +mbind Client Press Left FocusRaise mbind Client Press Middle Focus +mbind Client Press Right Focus +mbind Frame Press A-Left Focus mbind Titlebar DoubleClick Left ToggleShade mbind Titlebar Click Up Shade @@ -140,77 +161,3 @@ mbind Frame Click C-A-Up SendToNextDesktopWrap mbind Frame Click C-A-Down SendToPreviousDesktopWrap mbind Root Click Left execute "xterm" - -[foo] - -mbind Titlebar, Handle { - Left press Focus - Middle press Lower - Left click Raise - Right click Lower - Left drag Move -} - -mbind Titlebar { - Up press Shade - Down press Unshade - Left dclick ToggleShade -} - -mbind Frame { - A-Left click Raise - A-Left drag Move - A-Right click Lower - A-Right drag Resize - A-Up click NextDesktopWrap - A-Down click PreviousDesktopWrap - C-A-Up click SendToNextDesktopWrap - C-A-Down click SendToPreviousDesktopWrap -} - -mbind BLCorner, BRCorner { - Left press Focus - Left drag Resize -} - -mbind Client { - Left press Focus - Middle press Focus -} - -mbind Root { - Left click execute "xterm" - Up click NextDesktopWrap - Down click PreviousDesktopWrap - A-Up click NextDesktopWrap - A-Down click PreviousDesktopWrap -} - -mbind Maximize { - Left click ToggleMaximizeFull - Middle click ToggleMaximizeVert - Right click ToggleMaximizeHorz -} - - -mbind Iconify { - Left click Iconify -} - -mbind Icon { - Left dclick Close -} - -mbind Close { - Left click Close - Middle click Kill -} - -mbind AllDesktops { - Left click ToggleOmnipresent -} - -mbind Shade { - Left click ToggleShade -} -