author | Myhailo Danylenko <isbear@ukrpost.net> |
Sat, 07 May 2011 14:50:13 +0300 | |
changeset 34 | 298a97c09a49 |
parent 24 | 7aa499342e2b |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
# All options can be changed in runtime, so, feel free to experiment |
|
3 |
||
4 |
# Directory, where avatars will be saved. Note, that without saving |
|
5 |
# avatar current implementation cannot show it. Avatars are saved by |
|
6 |
# their id (sha1sum of png data), and symlinked by jids. I.e. |
|
7 |
# 12345...679.png contains png data |
|
8 |
# foo@bar.org is symlink to 12345...679.png |
|
9 |
set avatar_directory = ~/.mcabber/avatars |
|
10 |
||
11 |
# Set this to your terminal's font character dimensions in pixels. |
|
12 |
# This will allow to retain real png image proportions. |
|
13 |
set avatar_font_height = 16 |
|
14 |
set avatar_font_width = 8 |
|
15 |
||
16 |
# Maximum width and height in characters. Can be omitted, then these |
|
17 |
# will be autodetected based on COLUMNS and LINES variables (they |
|
18 |
# must exist in mcabber's environment, i.e. you should export them |
|
19 |
# or you will be limited to 80x25). |
|
24
7aa499342e2b
Use new interface to obtain available screen space
Myhailo Danylenko <isbear@ukrpost.net>
parents:
23
diff
changeset
|
20 |
#set avatar_max_width = 110 |
7aa499342e2b
Use new interface to obtain available screen space
Myhailo Danylenko <isbear@ukrpost.net>
parents:
23
diff
changeset
|
21 |
#set avatar_max_height = 40 |
0 | 22 |
|
3
c920fcf835c7
Added background for transparent images
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
23 |
# Background color to use for transparent images. |
c920fcf835c7
Added background for transparent images
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
24 |
# In fact in range 0..65535, but looks like actually matter only |
c920fcf835c7
Added background for transparent images
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
25 |
# first 9 bits (what does 9th bit I do not know, but it definitely |
c920fcf835c7
Added background for transparent images
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
26 |
# changes resulting image a bit) |
c920fcf835c7
Added background for transparent images
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
27 |
set avatar_background = 255 |
c920fcf835c7
Added background for transparent images
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
28 |
|
23
2b7060ce1152
New module loading scheme
Myhailo Danylenko <isbear@ukrpost.net>
parents:
3
diff
changeset
|
29 |
module load avatar |
0 | 30 |