]> icculus.org git repositories - mikachu/openbox.git/blob - scripts/config.py
use an icon smaller than the surface if possible
[mikachu/openbox.git] / scripts / config.py
1 #############################################################################
2 ### Options that can be changed to adjust the behavior of Openbox.        ###
3 #############################################################################
4
5 THEME = "/usr/local/share/openbox/styles/fieron2"
6 """The theme used to decorate everything."""
7
8 #TITLEBAR_LAYOUT = [ "icon", "title", "alldesktops", "iconify", "maximize", "close" ]
9 TITLEBAR_LAYOUT = "NTIMC"
10 """The layout of the buttons/label on client titlebars, can be made up of the
11 following:
12     I - iconify button
13     L - text label
14     M - maximize button,
15     D - all-desktops button
16     C - close button
17 If no 'L' is included in the string, one will be added to the end by
18 Openbox."""
19
20 DOUBLE_CLICK_DELAY = 300
21 """The number of milliseconds in which 2 clicks are perceived as a
22 double-click."""
23
24 DRAG_THRESHOLD = 3
25 """The amount of pixels that you have to drag the mouse before motion events
26 will start occuring."""
27
28 DESKTOP_NAMES = ["one", "two", "three", "four", "five", "six", "seven", \
29                  "eight", "nine", "ten", "eleven", "twelve"]
30 """The name of each desktop."""
31
32 NUMBER_OF_DESKTOPS = 4
33 """The number of desktops/workspaces which can be scrolled between."""
34
35 DEFAULT_ICON_WIDTH = 16
36 """The width of the default icon."""
37 DEFAULT_ICON_HEIGHT = 16
38 """The height of the default icon."""
39 DEFAULT_ICON = \
40 "\377\377\377\0SSS\377\251\251\251\377\251\251\251\377\251\251\251\377\251"+\
41 "\251\251\377\251\251\251\377\251\251\251\377\251\251\251\377\251\251\251"+\
42 "\377\251\251\251\377\251\251\251\377\216\216\216\377bbb\377\366\366\366\0"+\
43 "\377\377\377\0\377\377\377\0SSS\377\377\377\377\377\377\377\377\377\377\377"+\
44 "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\376\376\376\377"+\
45 "\376\376\376\377\373\373\373\377\371\371\370\377\302\302\302\377\244\244"+\
46 "\244\377EEE\377\377\377\377\0\377\377\377\0SSS\377\377\377\377\377\377\377"+\
47 "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\376\376\376\377"+\
48 "\374\374\374\377\372\372\372\377\367\367\367\377\365\365\365\377\265\265"+\
49 "\265\377``_\377\30\30\30\377\377\377\377\0\377\377\377\0SSS\377\377\377\377"+\
50 "\377\377\377\377\377\377\377\377\377\376\376\376\377\374\374\374\377\372"+\
51 "\372\372\377\367\367\367\377\365\365\365\377\363\363\362\377\361\361\360"+\
52 "\377\356\356\355\377\354\354\351\377jjj\377\377\377\377\0\377\377\377\0S"+\
53 "SS\377\377\377\377\377\377\377\377\377\375\375\375\377\373\373\373\377\371"+\
54 "\371\370\377\366\366\366\377\364\364\363\377\362\362\361\377\357\357\356"+\
55 "\377\355\355\354\377\352\352\351\377\350\350\347\377mmm\377\377\377\377\0"+\
56 "\377\377\377\0SSS\377\376\376\376\377\373\373\373\377\371\371\370\377\366"+\
57 "\366\366\377\364\364\363\377\362\362\361\377\357\357\356\377\355\355\354"+\
58 "\377\352\352\351\377\350\350\347\377\346\346\343\377\344\344\341\377lll\377"+\
59 "\377\377\377\0\377\377\377\0SSS\377\375\375\375\377\370\370\367\377\365\365"+\
60 "\364\377\363\363\362\377\360\360\357\377\356\356\355\377\354\354\351\377"+\
61 "\352\352\347\377\347\347\344\377\345\345\342\377\342\342\337\377\340\340"+\
62 "\335\377lll\377\377\377\377\0\377\377\377\0SSS\377\373\373\373\377\363\363"+\
63 "\362\377\360\360\357\377\356\356\355\377\354\354\351\377\351\351\350\377"+\
64 "\347\347\344\377\345\345\342\377\342\342\337\377\340\340\335\377\336\336"+\
65 "\332\377\333\333\330\377llk\377\377\377\377\0\377\377\377\0SSS\377\372\372"+\
66 "\372\377\357\357\356\377\355\355\352\377\353\353\350\377\350\350\345\377"+\
67 "\346\346\343\377\343\343\340\377\341\341\336\377\337\337\333\377\335\335"+\
68 "\331\377\332\332\326\377\330\330\324\377kkj\377\377\377\377\0\377\377\377"+\
69 "\0SSS\377\370\370\370\377\353\353\350\377\350\350\345\377\346\346\343\377"+\
70 "\343\343\340\377\341\341\336\377\337\337\333\377\335\335\331\377\332\332"+\
71 "\326\377\330\330\324\377\325\325\321\377\323\323\317\377kkk\377\377\377\377"+\
72 "\0\377\377\377\0SSS\377\367\367\367\377\347\347\344\377\345\345\342\377\342"+\
73 "\342\337\377\340\340\335\377\336\336\332\377\333\333\327\377\331\331\325"+\
74 "\377\326\326\322\377\324\324\320\377\322\322\315\377\320\320\313\377jjj\377"+\
75 "\377\377\377\0\377\377\377\0SSS\377\366\366\365\377\342\342\337\377\340\340"+\
76 "\335\377\336\336\332\377\333\333\330\377\331\331\325\377\326\326\322\377"+\
77 "\324\324\320\377\322\322\315\377\320\320\313\377\315\315\310\377\314\314"+\
78 "\307\377llk\377\377\377\377\0\377\377\377\0SSS\377\364\364\364\377\337\337"+\
79 "\333\377\334\334\331\377\332\332\326\377\330\330\324\377\326\326\321\377"+\
80 "\323\323\317\377\321\321\314\377\316\316\311\377\315\315\307\377\314\314"+\
81 "\306\377\314\314\306\377jjj\377\377\377\377\0\377\377\377\0SSS\377\344\344"+\
82 "\343\377\316\316\312\377\312\312\306\377\304\304\300\377\302\302\276\377"+\
83 "\301\301\274\377\274\274\267\377\267\267\263\377\266\266\261\377\265\265"+\
84 "\261\377\265\265\260\377\263\263\256\377[[[\377\377\377\377\0\377\377\377"+\
85 "\0SSS\377AAA\377;;;\377998\377554\377554\377552\377110\377..-\377..-\377"+\
86 "---\377--,\377+++\377333\377\377\377\377\0\377\377\377\0\377\377\377\0\377"+\
87 "\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377"+\
88 "\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"+\
89 "\0\377\377\377\0\377\377\377\0\377\377\377\0"
90 """The icon which will be used when an application doesn't supply one. This
91    was generated by making the icon in gimp (with an alpha channel!) and saving
92    it as a C source file."""
93
94 #############################################################################
95
96 print "Loaded config.py"