mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 12:10:03 +00:00
xftfont is renamed to font
whether the font setting specifies an X or an Xft font depends on the use_xft setting.
This commit is contained in:
parent
b7a80fa449
commit
87415d6e36
@ -72,9 +72,10 @@ local function handle(setting, value)
|
||||
elseif not num_setting[setting] then
|
||||
if setting == 'alignment' and value:len() == 2 then
|
||||
value = alignment_map(value:sub(1,1)) .. '_' .. alignment_map(value:sub(2,2));
|
||||
end;
|
||||
if colour_setting[setting] and value:match('^[0-9a-fA-F]+$') then
|
||||
elseif colour_setting[setting] and value:match('^[0-9a-fA-F]+$') then
|
||||
value = '#' .. value;
|
||||
elseif setting == 'xftfont' then
|
||||
setting = 'font';
|
||||
end;
|
||||
value = quote(value);
|
||||
end;
|
||||
|
@ -1043,13 +1043,4 @@
|
||||
1 and 0.
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<command>
|
||||
<option>xftfont</option>
|
||||
</command>
|
||||
</term>
|
||||
<listitem>Xft font to use.
|
||||
<para /></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
Loading…
Reference in New Issue
Block a user