X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fconfig.py;h=e27b8d6fe439cbbf630665f44fbbc90ee49cecf3;hb=a81b9674752bab92544f7d160734108a0b84007b;hp=1320c581b058aa2e384e76e5d69976b4ec58c4af;hpb=7b7ae097a0d389a35967fdab4ea310effcfc42c2;p=chaz%2Fopenbox diff --git a/scripts/config.py b/scripts/config.py index 1320c581..e27b8d6f 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -1,49 +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 - the theme used to decorate everything. -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, -# S - sticky button, C - close button -# If no 'L' is included in the string, one will be added to -# the end by Openbox. -titlebar_layout = "ILMC" - -# 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", \ +THEME = "/usr/local/share/openbox/styles/fieron2" +"""The theme used to decorate everything.""" + +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.""" + +DRAG_THRESHOLD = 3 +"""The amount of pixels that you have to drag the mouse before motion events +will start occuring.""" + +DESKTOP_NAMES = ["one", "two", "three", "four", "five", "six", "seven", \ "eight", "nine", "ten", "eleven", "twelve"] +"""The name of each desktop.""" -# number_of_desktops - the number of desktops/workspaces which can be scrolled -# between. -number_of_desktops = 4 +NUMBER_OF_DESKTOPS = 4 +"""The number of desktops/workspaces which can be scrolled between.""" ############################################################################# -### Options that can be modified by the user to change the default hooks' ### -### behaviors. ### -############################################################################# - -# 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"