summaryrefslogtreecommitdiff
path: root/themes/mutt/theme.cfg.in
blob: 3a6c1df7ee174bfbc3afcf7be2dc9db117f4c650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<Eterm-0.9>
# ^- This must be the first line of any Eterm config file!
# Format is:  <Eterm-VERSION>  where VERSION is replaced by
#                              the version it was written for,
#                              minus the "DR-" if any.
#
# This is a sample Eterm config file.
#
# As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your
# computer, your dog, your sex life, or anyone or anything else
# directly or indirectly through the use of, or inability to use,
# this program.  Use at your OWN risk.

# A begin to get things started.
begin main

# Define the color properties
  begin color

# Foreground, background, cursor, scrollbar, pointer colors
    foreground white
    background black
    cursor #ffff00
    cursor_text #880000
    pointer white

# video attribute can either be "normal" or "reverse"
    video normal

# Redefine the 16 basic colors, if you really feel the need
# First word is "color", next is the number (0-15, BD, or UL),
# then the values for red, green, and blue separated by spaces
# Numbers are base 10 unless preceded by "0x" (base 16) or '0'
# (base 8).  Alternatively, you can use color names or #xxxxxx
# format.

# The colors below are taken from Rasterman's .Xdefaults file.  They are intended to
# display ANSI art properly when combined with a good ANSI-art font (like vga or
# Rasterman's nexus font).
    color  0 0    0    0
    color  1 0xaa 0    0
    color  2 0    0210 0
    color  3 0xaa 0x55 0x22
    color  4 0    0    0xaa
    color  5 0xaa 0    0xaa
    color  6 0    0xaa 0xaa
    color  7 0xaa 0xaa 0xaa
    color  8 0x44 0x44 0x44
    color  9 0xff 0x44 0x44
    color 10 0x44 0xff 0x44
    color 11 0xff 0xff 0x44
    color 12 0x44 0x44 0xff
    color 13 0xff 0x44 0xff
    color 14 0x44 0xff 0xff
    color 15 #ffffff
    color bd #ffffff
    color ul #ffffff

# This ends the color section.  Any text after the word "end" is
# assumed to be a comment and ignored.
  end color

# The X11 attributes section.  Should be fairly self-explanatory,
# but if not, consult the X man page.
  begin attributes

# Geometry == widthxheight+x_offset+y_offset, offsets from top left
#             if +, bottom right if -
#    geometry 132x50+100+100
    title "%appname() -- Mutt Theme"
    name mutt
#    iconname mutt

# Set the fonts.  These must be monospace fonts.  The values shown are
# the Eterm defaults.  The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15).
    font default @DEF_FONT_IDX@
    font 0 @FONT0@
    font 1 @FONT1@
    font 2 @FONT2@
    font 3 @FONT3@
    font 4 @FONT4@
    font 5 10x20
    font 6 12x24
#    font bold 7x14
  end attributes

# The Multichar support options.  Same goes for these fonts as for the normal
# ones.  The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb
#  begin multichar
#    font 0 @MFONT0@
#    font 1 @MFONT1@
#    font 2 @MFONT2@
#    font 3 @MFONT3@
#    font 4 @MFONT4@
#    encoding @MULTICHAR_ENCODING@
#  end multichar

# Define the imageclasses.
  begin imageclasses

# You must define this before setting any images that use it.  This is the $PATH-style variable
# that determines where Eterm looks for image files.
    path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@PKGDATADIR@/pix/"

# If you want a different icon than the standard Eterm one, set this.
#   icon Eterm.xpm

# This is the background animator.  See the man page for the syntax.
#   anim 3 foo1 foo2 foo3

# Here we define an image.
    begin image

# The first thing you set when defining an image MUST be the type.  No type, no dice.  The type
# should be one of the following:  background, up_arrow, down_arrow, left_arrow, right_arrow,
#                                  trough, anchor, menu, or submenu
      type background

# The mode line.  This defines the startup mode for the image, as well as what modes are allowed.
# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
# (for viewport mode).  Syntax is "mode <startup_mode> allow <allowed_modes>".
      mode image allow image trans viewport auto

# Next you should set the state.  This is either normal, selected, or clicked.
      state normal

# Here you set the file.  You can also set the geometry string here if you follow the filename with
# an @ sign.  That way, you can include the geometries in your pixmaps.list file.
      file %random(`cat pixmaps.list`)

# Set the image border.  This is a portion of the image which will be kept at its actual size when
# scaling.  Use this for beveled images (buttons, etc.).
      border 0 0 0 0

# Th-th-th-th-that's all folks.
    end image

    begin image
      type trough
      mode image allow image trans viewport auto
      state normal
      color black #666666
      file bar_vertical_3.png
# Here is how you specify the geometry string separately.  See the man page for its syntax.
      geom :scale
      border 2 2 2 3
    end image
    begin image
      type anchor
      mode image allow image auto
      state normal
      color black #666666
      file bar_vertical_1.png
      geom :scale
      border 2 2 2 3
      state selected
      file bar_vertical_2.png
      geom :scale
      border 2 2 2 3
    end image
    begin image
      type thumb
      mode image allow image auto
      state normal
      color black #666666
      file thumb_1.png
      geom :scale
      border 3 3 3 3
      state selected
      file thumb_2.png
      geom :scale
      border 3 3 3 3
    end image
    begin image
      type up_arrow
      mode image allow image auto
      state normal
      color black #666666
      file button_arrow_up_1.png
      geom :scale
      border 2 2 2 2
      state selected
      file button_arrow_up_2.png
      geom :scale
      border 2 2 2 2
      state clicked
      file button_arrow_up_3.png
      geom :scale
      border 2 2 2 2
    end image
    begin image
      type down_arrow
      mode image allow image auto
      state normal
      color black #666666
      file button_arrow_down_1.png
      geom :scale
      border 2 2 2 2
      state selected
      file button_arrow_down_2.png
      geom :scale
      border 2 2 2 2
      state clicked
      file button_arrow_down_3.png
      geom :scale
      border 2 2 2 2
    end image
    begin image
      type menu
      mode image allow image auto
      state normal
      color black #999999
      file bar_horizontal_1.png
      geom 100x100+0+0:scale
      border 2 3 2 3
      state selected
      file bar_horizontal_2.png
      geom 100x100+0+0:scale
      border 2 3 2 3
    end image
    begin image
      type submenu
      mode image allow image auto
      state normal
      color black #999999
      file menu1.png
      geom 100x100+0+0:scale
      border 3 15 3 3
      padding 3 15 3 3
      state selected
      file menu2.png
      geom 100x100+0+0:scale
      border 3 15 3 3
      padding 3 15 3 3
      state clicked
      file menu3.png
      geom 100x100+0+0:scale
      border 3 15 3 3
      padding 3 15 3 3
    end image
    begin image
      type button_bar
      mode image allow image auto
      state normal
      color black #999999
      file bar_horizontal_1.png
      geom 100x100+0+0:scale
      border 2 3 2 2
      state disabled
      color white #333333
      cmod image 0xc0
      border 2 3 2 2
    end image
    begin image
      type button
      mode image allow image auto
      state normal
      color black #cccccc
      file bar_horizontal_1.png
      geom 100x100+0+0:scale
      border 2 3 2 2
      state selected
      file bar_horizontal_2.png
      geom 100x100+0+0:scale
      border 2 3 2 2
      state clicked
      file bar_horizontal_3.png
      geom 100x100+0+0:scale
      border 2 3 2 2
    end image
  end

%include "menus.cfg"

# This section *must* come after the menu definitions if you want
# menu actions to work.  C'est la vie. :-)
#
# Syntax:  bind [ { <modifiers> | anymod } ] { <key> | <keysym> | <button> } to { string | echo | menu } <parameter>
#
  begin actions
    bind ctrl button1 to string "\e]5;\a"
    bind ctrl button2 to string "\e[?30t"
    bind ctrl button3 to menu Eterm
    bind ctrl shift button3 to string "\e]6;14\a"
  end actions

# This section must also come after the menus if you want any buttons
# to launch menus.  (If not, it can go anywhere.)
  begin button_bar

# Specify a font.  The default buttonbar font is the default terminal
# font as defined in the attributes section above.
    font "-adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1"

# Add a button.  The syntax is:
#   button <text> [ icon <filename> ] action { string | echo | menu } <parameter>
#
    button Eterm action menu Eterm
    button Messages action menu Messages
    button Mailbox action menu Mailbox
    rbutton icon help.png action string "\e]6;73;Eterm -e man Eterm\a"
    rbutton icon exit.png action string "\e]6;70\a"
  end button_bar

# The XIM support options.
# input_method: set the name of your favorate input method program
# preedit_type: OverTheSpot or OffTheSpot or Root
#  begin xim
#    input_method Ami
#    preedit_type OverTheSpot
#  end xim

# Boolean variables.  The values can be "1", "on", or "true" for TRUE, or "0",
# "off", or "false" for FALSE.
  begin toggles

# If true, Eterm will un-iconify itself when it receives a beep (ASCII 0x07)
    map_alert on

# If true, Eterm will flash rather than sending a beep.
    visual_bell off

# If true, Eterm will prepend '-' to the shell name when calling it.
    login_shell true

# If true, Eterm will display the scroll bar
    scrollbar off

# If true, Eterm will attempt to make an entry in the utmp file to record the
# login information.  Eterm *must* run privileged to do this.
    utmp_logging on

# If true, Eterm will handle the Meta (Alt) + keypress to set the 8th bit.
# If false, Eterm will handle the Meta + keypress as an escape prefix. (default)
    meta8 false

# If true, Eterm will start iconified.
    iconic false

# If true, Eterm will jump to the bottom of the window when something is output
# to the terminal.
    home_on_output 1

# If true, Eterm will jump to the bottom of the window when a key is pressed.
    home_on_input 1

# If true, Eterm will put the scrollbar on the right of the window (default is left).
    scrollbar_right true

# If true, the scrollbar will have no trough.
    scrollbar_floating false

# If true, Eterm will run with no window borders.
    borderless false

# If true, Eterm will use a double-buffered background pixmap for drawing text.  This
# makes redraws faster by reducing exposes, but it uses more memory.  If you have the
# memory to spare, it's a good idea.
#    double_buffer true

  end toggles

  begin keyboard

# Use the supplied keysym to reduce/enlarge the font
    smallfont_key LessThan
    bigfont_key GreaterThan

# You can also associate a given keysym (0xff00 - 0xffff) with a string
#    keysym 0xffff "\r\n\e\007\t"

# Greek keyboard mode.  First the word "greek", then its boolean
# state, then its mode (either "iso" or "ibm").
#    greek off iso
  end keyboard

  begin misc

# The command to which to pipe print requests (printscreen)
    print_pipe "lpr"

# The number of lines in the scrollback buffer.  More lines, more memory needed.
    save_lines 1024

# The characters to use as word delimiters for double-click selection
    cut_chars "\t\\\`\\\"\'&() *,;<=>?@[]{|}"

# Defines the width of the border between the terminal window and the client window.
# (Default is 5).
    border_width 0

# Defines the number of pixels to add between lines (default is 0).
#    line_space 2

# Value to use for $TERM
    term_name xterm

# Program to exec (intended for use with themes)
    exec mutt

  end misc

end main