avatar.rc
changeset 40 fbdae6975352
parent 39 46a3adff42b5
equal deleted inserted replaced
39:46a3adff42b5 40:fbdae6975352
     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). 
       
    20 #set avatar_max_width  = 110
       
    21 #set avatar_max_height = 40
       
    22 
       
    23 # Background color to use for transparent images.
       
    24 # In fact in range 0..65535, but looks like actually matter only
       
    25 # first 9 bits (what does 9th bit I do not know, but it definitely
       
    26 # changes resulting image a bit)
       
    27 set avatar_background = 255
       
    28 
       
    29 module load avatar
       
    30