1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00

* Added --quiet patch (thanks sceptik)

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1123 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2008-06-03 21:01:40 +00:00
parent 7ff7c1083c
commit 8f8d5c1c8c
6 changed files with 26 additions and 4 deletions

View File

@ -271,6 +271,9 @@ Ryan Twitchell <tryan2 at rochester dot rr dot com>
Mikko Sysikaski <sisu at users dot sourceforge dot net>
prss.c and prss.h
Sceptik <sceptik at users dot sourceforge dot net>
--quiet patch
Stepan Zastupov <redchrom at gmail dot com>
WiFi signal level detection support on FreeBSD

View File

@ -2,6 +2,7 @@
2008-06-03
* Added NVIDIA Graficcard support patch (thanks meissna)
* Added --quiet patch (thanks sceptik)
2008-05-30
* Simplified docs for color0-9 config settings and variables.

4
README
View File

@ -90,6 +90,10 @@ OPTIONS
Prints version and exits
-q | --quiet
Run Conky in 'quiet mode' (ie. no output)
-a | --alignment=ALIGNMENT
Text alignment on screen, {top,bottom,middle}_{left,right,mid-
dle} or none

View File

@ -6,6 +6,13 @@
<para></para></listitem>
</varlistentry>
<varlistentry>
<term><command><option>-q | --quiet</option></command></term>
<listitem>
Run Conky in 'quiet mode' (ie. no output)
<para></para></listitem>
</varlistentry>
<varlistentry>
<term><command><option>-a | --alignment=</option></command><option>ALIGNMENT</option></term>
<listitem>

View File

@ -82,6 +82,10 @@ Command line options override configurations defined in configuration file.
\fB\*(T<\fB\-v | \-V | \-\-version\fR\*(T>\fR
Prints version and exits
.TP
\fB\*(T<\fB\-q | \-\-quiet\fR\*(T>\fR
Run Conky in 'quiet mode' (ie. no output)
.TP
\fB\*(T<\fB\-a | \-\-alignment=\fR\*(T>\fR\*(T<\fBALIGNMENT\fR\*(T>
Text alignment on screen, {top,bottom,middle}_{left,right,middle} or none

View File

@ -8591,7 +8591,7 @@ static void load_config_file(const char *f)
}
/* : means that character before that takes an argument */
static const char *getopt_string = "vVdt:u:i:hc:"
static const char *getopt_string = "vVqdt:u:i:hc:"
#ifdef X11
"x:y:w:a:f:"
#ifdef OWN_WINDOW
@ -8679,13 +8679,16 @@ int main(int argc, char **argv)
}
current_config = strndup(optarg, max_user_text);
break;
case 'q':
freopen("/dev/null", "w", stderr);
break;
case 'h':
printf("Usage: %s [OPTION]...\n"
"Conky is a system monitor that renders text on desktop or to own transparent\n"
"window. Command line options will override configurations defined in config\n"
"Conky is a system monitor that renders text on desktop or to own transparent\n"
"window. Command line options will override configurations defined in config\n"
"file.\n"
" -v, --version version\n"
" -q, --quiet quiet mode\n"
" -c, --config=FILE config file to load\n"
" -d, --daemonize daemonize, fork to background\n"
" -h, --help help\n"