Initial version 1.8.0 with no maemo fixes
[monky] / src / defconfig.h
1 #ifndef __DEFCONFIG_H
2 #define __DEFCONFIG_H
3
4 #define defconfig { \
5 "# Conky, a system monitor, based on torsmo\n", \
6 "#\n", \
7 "# Any original torsmo code is licensed under the BSD license\n", \
8 "#\n", \
9 "# All code written since the fork of torsmo is licensed under the GPL\n", \
10 "#\n", \
11 "# Please see COPYING for details\n", \
12 "#\n", \
13 "# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen\n", \
14 "# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)\n", \
15 "# All rights reserved.\n", \
16 "#\n", \
17 "# This program is free software: you can redistribute it and/or modify\n", \
18 "# it under the terms of the GNU General Public License as published by\n", \
19 "# the Free Software Foundation, either version 3 of the License, or\n", \
20 "# (at your option) any later version.\n", \
21 "#\n", \
22 "# This program is distributed in the hope that it will be useful,\n", \
23 "# but WITHOUT ANY WARRANTY; without even the implied warranty of\n", \
24 "# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n", \
25 "# GNU General Public License for more details.\n", \
26 "# You should have received a copy of the GNU General Public License\n", \
27 "# along with this program.  If not, see <http://www.gnu.org/licenses/>.\n", \
28 "#\n", \
29 "\n", \
30 "alignment top_left\n", \
31 "background no\n", \
32 "border_width 1\n", \
33 "cpu_avg_samples 2\n", \
34 "default_color white\n", \
35 "default_outline_color white\n", \
36 "default_shade_color white\n", \
37 "draw_borders no\n", \
38 "draw_graph_borders yes\n", \
39 "draw_outline no\n", \
40 "draw_shades no\n", \
41 "use_xft yes\n", \
42 "xftfont DejaVu Sans Mono:size=12\n", \
43 "gap_x 5\n", \
44 "gap_y 60\n", \
45 "minimum_size 5 5\n", \
46 "net_avg_samples 2\n", \
47 "no_buffers yes\n", \
48 "out_to_console no\n", \
49 "out_to_stderr no\n", \
50 "extra_newline no\n", \
51 "own_window yes\n", \
52 "own_window_class Conky\n", \
53 "own_window_type desktop\n", \
54 "stippled_borders 0\n", \
55 "update_interval 1.0\n", \
56 "uppercase no\n", \
57 "use_spacer none\n", \
58 "show_graph_scale no\n", \
59 "show_graph_range no\n", \
60 "\n", \
61 "TEXT\n", \
62 "${scroll 16 $nodename - $sysname $kernel on $machine | }\n", \
63 "$hr\n", \
64 "${color grey}Uptime:$color $uptime\n", \
65 "${color grey}Frequency (in MHz):$color $freq\n", \
66 "${color grey}Frequency (in GHz):$color $freq_g\n", \
67 "${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}\n", \
68 "${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}\n", \
69 "${color grey}CPU Usage:$color $cpu% ${cpubar 4}\n", \
70 "${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes\n", \
71 "$hr\n", \
72 "${color grey}File systems:\n", \
73 " / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}\n", \
74 "${color grey}Networking:\n", \
75 "Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}\n", \
76 "$hr\n", \
77 "${color grey}Name              PID   CPU%   MEM%\n", \
78 "${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}\n", \
79 "${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}\n", \
80 "${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}\n", \
81 "${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}\n", \
82 NULL }
83
84 #define print_defconfig() { \
85         const char **__sp, *__s[] = defconfig; \
86         for (__sp = __s; *__sp; __sp++) \
87                 printf("%s", *__sp); \
88 }
89
90 #endif /* __DEFCONFIG_H */