X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fconfig.py;h=e27b8d6fe439cbbf630665f44fbbc90ee49cecf3;hb=6e2f3f9f8a2b4b83648c9c8b9993d321b3f60a79;hp=c3c43754b180139d7164e023159d13c98f6fe25e;hpb=745e840547b5443ecfb9b6f0a4f14b0d035d59c2;p=chaz%2Fopenbox diff --git a/scripts/config.py b/scripts/config.py index c3c43754..e27b8d6f 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -1,34 +1,36 @@ ############################################################################# -### Options that can be defined on startup that affect the behavior of ### -### openbox. ### +### Options that can be changed to adjust the behavior of 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 = "/usr/local/share/openbox/styles/fieron2" +"""The theme used to decorate everything.""" -# theme - the theme used to decorate everything. -theme = "/usr/local/share/openbox/styles/nyz" +TITLEBAR_LAYOUT = "DILMC" +"""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.""" +DOUBLE_CLICK_DELAY = 300 +"""The number of milliseconds in which 2 clicks are perceived as a +double-click.""" -############################################################################# -### Options that can be modified by the user to change the default hooks' ### -### behaviors. ### -############################################################################# +DRAG_THRESHOLD = 3 +"""The amount of pixels that you have to drag the mouse before motion events +will start occuring.""" -# 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 +DESKTOP_NAMES = ["one", "two", "three", "four", "five", "six", "seven", \ + "eight", "nine", "ten", "eleven", "twelve"] +"""The name of each desktop.""" +NUMBER_OF_DESKTOPS = 4 +"""The number of desktops/workspaces which can be scrolled between.""" + +############################################################################# print "Loaded config.py"