X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fconfig.py;h=e59360bee323aa41a23fba7bf6445cc42380c44e;hb=80a42d2b0c0831e99b2b5547e8ddc0122796d78a;hp=c3c43754b180139d7164e023159d13c98f6fe25e;hpb=745e840547b5443ecfb9b6f0a4f14b0d035d59c2;p=chaz%2Fopenbox diff --git a/scripts/config.py b/scripts/config.py index c3c43754..e59360be 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -3,32 +3,42 @@ ### openbox. ### ############################################################################# -# client_buttons - a list of the modifier(s) and buttons which are grabbed on -# client windows (for interactive move/resize, etc). -# examples: "A-2", "C-A-2", "W-1" -client_buttons = ["A-1", "A-2", "A-3"] - # theme - the theme used to decorate everything. -theme = "/usr/local/share/openbox/styles/nyz" +theme = "/usr/local/share/openbox/styles/fieron2" + +# titlebar_layout - the layout of the buttons/label on client titlebars, can be +# made up of the following: +# I - iconify button, L - text label, M - maximize button, +# D - all-desktops button, C - close button +# If no 'L' is included in the string, one will be added to +# the end by Openbox. +titlebar_layout = "DILMC" + +# double_click_delay - the number of milliseconds in which 2 clicks are +# perceived as a double-click. +double_click_delay = 300 +# drag_threshold - the amount of pixels that you have to drag the mouse before +# motion events will start occuring. +drag_threshold = 3 + +# desktop_names - the name of each desktop +desktop_names = ["one", "two", "three", "four", "five", "six", "seven", \ + "eight", "nine", "ten", "eleven", "twelve"] + +# number_of_desktops - the number of desktops/workspaces which can be scrolled +# between. +number_of_desktops = 4 ############################################################################# ### Options that can be modified by the user to change the default hooks' ### ### behaviors. ### ############################################################################# -# click_focus - '1' if clicking in a client will cause it to focus in the -# default hook functions; else '0'. -click_focus = 0 -# click_raise - '1' if clicking in a client will cause it to raise to the -# top of its stacking layer; else '0'. -click_raise = 0 -# enter_focus - '1' if entering a client window will cause it to focus in the -# default hook functions; else '0'. -enter_focus = 1 -# leave_unfocus - '1' if leaving a client window will cause it to unfocus in -# the default hook functions; else '0'. -leave_unfocus = 1 +# resize_nearest - 1 to resize from the corner nearest where the mouse is, 0 +# to resize always from the bottom right corner. +resize_nearest = 1 + print "Loaded config.py"