X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=lua_scripts%2Fpiechart.lua;h=5320cce5dc21b517c602c7ed3e3efe5e4bcaabfc;hb=bd8c0fc134e004eebb40d6b0e74c2c860c24fb91;hp=e9c04645db02e181ab6f04f80590a8953a837c2e;hpb=2d2a163728283108eb78c11d7b02bf5c54d88ea4;p=monky diff --git a/lua_scripts/piechart.lua b/lua_scripts/piechart.lua index e9c0464..5320cce 100644 --- a/lua_scripts/piechart.lua +++ b/lua_scripts/piechart.lua @@ -31,7 +31,7 @@ line_space -- vertical space between two lines, default=10 pixels extend_line -- grow up the line (true/false) if length of text> line_length, default=true nb_decimals -- number of decimals for numbers, default=1 show_text -- display text (true/false), default=true -font_name -- font, default "Droid Sans Mono" +font_name -- font, default "Nokia Pure" font_size -- font size, default=12 font_color -- font color (for gradient) or nil (for constant color), default = nil font_alpha -- font alpha, default=1 @@ -68,7 +68,7 @@ function conky_main_pie() -- ------------------PARAMETERS TO SET----------------------- --theses parameters are called many times so I put them into variables - local font_name,font_size="Droid Sans Mono",14 + local font_name,font_size="Nokia Pure",14 local col0,col1,col2=0xFFFFCC,0xCCFF99,0x99FF00 local colbg=0x99CCFF @@ -365,7 +365,7 @@ function draw_pie(t) if t.line_space==nil then t.line_space=10 end if t.line_width==nil then t.line_width=1 end if t.extend_line==nil then t.extend_line=true end - if t.txt_font==nil then t.txt_font="Droid Sans Mono" end + if t.txt_font==nil then t.txt_font="Nokia Pure" end if t.font_size==nil then t.font_size=12 end --if t.font_color==nil then t.font_color=0xFFFFFF end if t.font_alpha==nil then t.font_alpha = 1 end