1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00

small fix, doc update

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@19 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-07-27 06:10:24 +00:00
parent 5dcbb18345
commit bb1a43486d
4 changed files with 9 additions and 6 deletions

6
README
View File

@ -76,8 +76,10 @@
draw_outline Draw outlines?
font Font name in X, xfontsel can be used to get a nice
font
gap_x Gap between right or left border of screen
gap_y Gap between top or bottom border of screen
gap_x Gap between right or left border of screen, same as
passing -x at command line
gap_y Gap between top or bottom border of screen, same as
passing -y at command line
no_buffers Substract (file system) buffers from used memory?
mail_spool Mail spool for mail checking
metar_station METAR station code for weather, see

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33.
.TH CONKY "1" "July 2005" "Conky 1.2 compiled Jul 25 2005" "User Commands"
.TH CONKY "1" "July 2005" "Conky 1.2 compiled Jul 27 2005" "User Commands"
.SH NAME
Conky
.SH SYNOPSIS

View File

@ -2008,9 +2008,9 @@ static void generate_text()
else if ( strcmp(&data.cldTypHgt[0].cloud_type[0], "FEW") == 0 )
snprintf(p, n, "Few clouds");
else if ( strcmp(&data.cldTypHgt[0].cloud_type[0], "SCT") == 0 )
snprintf(p, n, "Scattered");
snprintf(p, n, "Scattered clouds");
else if ( strcmp(&data.cldTypHgt[0].cloud_type[0], "BKN") == 0 )
snprintf(p, n, "Broken");
snprintf(p, n, "Broken clouds");
else if ( strcmp(&data.cldTypHgt[0].cloud_type[0], "OVC") == 0 )
snprintf(p, n, "Overcast");
else
@ -3448,7 +3448,7 @@ else
if (((s = getenv("LC_ALL")) && *s) ||
((s = getenv("LC_CTYPE")) && *s) ||
((s = getenv("LANG")) && *s)) {
if (strstr(s, "UTF-8"))
if (strstr(s, "UTF-8") || strstr(s, "utf-8"))
utf8_mode = 1;
}
if (!setlocale(LC_CTYPE, "")) {

View File

@ -80,6 +80,7 @@ alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12