mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-03 04:28:35 +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:
parent
5dcbb18345
commit
bb1a43486d
6
README
6
README
@ -76,8 +76,10 @@
|
|||||||
draw_outline Draw outlines?
|
draw_outline Draw outlines?
|
||||||
font Font name in X, xfontsel can be used to get a nice
|
font Font name in X, xfontsel can be used to get a nice
|
||||||
font
|
font
|
||||||
gap_x Gap between right or left border of screen
|
gap_x Gap between right or left border of screen, same as
|
||||||
gap_y Gap between top or bottom border of screen
|
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?
|
no_buffers Substract (file system) buffers from used memory?
|
||||||
mail_spool Mail spool for mail checking
|
mail_spool Mail spool for mail checking
|
||||||
metar_station METAR station code for weather, see
|
metar_station METAR station code for weather, see
|
||||||
|
2
conky.1
2
conky.1
@ -1,5 +1,5 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33.
|
.\" 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
|
.SH NAME
|
||||||
Conky
|
Conky
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
6
conky.c
6
conky.c
@ -2008,9 +2008,9 @@ static void generate_text()
|
|||||||
else if ( strcmp(&data.cldTypHgt[0].cloud_type[0], "FEW") == 0 )
|
else if ( strcmp(&data.cldTypHgt[0].cloud_type[0], "FEW") == 0 )
|
||||||
snprintf(p, n, "Few clouds");
|
snprintf(p, n, "Few clouds");
|
||||||
else if ( strcmp(&data.cldTypHgt[0].cloud_type[0], "SCT") == 0 )
|
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 )
|
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 )
|
else if ( strcmp(&data.cldTypHgt[0].cloud_type[0], "OVC") == 0 )
|
||||||
snprintf(p, n, "Overcast");
|
snprintf(p, n, "Overcast");
|
||||||
else
|
else
|
||||||
@ -3448,7 +3448,7 @@ else
|
|||||||
if (((s = getenv("LC_ALL")) && *s) ||
|
if (((s = getenv("LC_ALL")) && *s) ||
|
||||||
((s = getenv("LC_CTYPE")) && *s) ||
|
((s = getenv("LC_CTYPE")) && *s) ||
|
||||||
((s = getenv("LANG")) && *s)) {
|
((s = getenv("LANG")) && *s)) {
|
||||||
if (strstr(s, "UTF-8"))
|
if (strstr(s, "UTF-8") || strstr(s, "utf-8"))
|
||||||
utf8_mode = 1;
|
utf8_mode = 1;
|
||||||
}
|
}
|
||||||
if (!setlocale(LC_CTYPE, "")) {
|
if (!setlocale(LC_CTYPE, "")) {
|
||||||
|
@ -80,6 +80,7 @@ alignment bottom_left
|
|||||||
#alignment bottom_right
|
#alignment bottom_right
|
||||||
|
|
||||||
# Gap between borders of screen and text
|
# Gap between borders of screen and text
|
||||||
|
# same thing as passing -x at command line
|
||||||
gap_x 12
|
gap_x 12
|
||||||
gap_y 12
|
gap_y 12
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user