By: Crinos512

By: Crinos512
[UPDATED: 12 Sept. 2009]

Here is an update of what some call the CrinosConky. Now this may look like a normal conky file displaying info on the desktop, but trust me: It isn’t!

Desktop
~ click image for full size ~

Looks the same doesn’t it. NOT QUITE! All of the changes are under the hood. I’ve gone out of my way to offload as much processing into scripts as possible. I started doing this before the release of Conky 1.7.1. The main benefit was changes to each script did not need conky to be restarted to update. Conky 1.7.1 has made that unnecessary, but I believe there is something to be gained in efficiency by letting bash run commands directly rather than through conky.

…”Where seeing is believing!” (I like that quote!)

.conkyrc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/conky -d -c
##    .conkyrc configuration
alignment top_left
background yes
border_inner_margin 0
border_outer_margin 0
# http://htmlhelp.com/cgi-bin/color.cgi
color0 555555			#
color1 483D8B			# Dark Slate Blue
color2 B8860B			# Dark goldenrod
color3 4682B4			# Steelblue
color4 8B0000			# Dark red
color5 008080			# Teal
color6 333333			# Gray20
color7 C8C8FF			#  (COOL)
color8 FFFFCC			#  (WARM)
color9 FCCCCC			#  (HOT)
cpu_avg_samples 2
default_color F8F8FF          # Ghost white
default_outline_color 000000  # Black
default_shade_color 000000    # Black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 5
gap_y 10
max_specials 1024
max_user_text 4000
maximum_width 380
minimum_size 850
net_avg_samples 2
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_colour 000000      # Black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
pad_percents 2
short_units yes
stippled_borders 3
text_buffer_size 8000
total_run_times 0
update_interval 1.0
uppercase no
use_spacer right
use_xft yes
xftalpha 0.75
xftfont Liberation Sans:size=8
#
#After this begins text to be formatted on screen
TEXT
${execpi 3600 ~/.conky/conkyparts/conkytemplate.sh}
${execpi 3600 ~/.conky/conkyparts/conkyheader.sh}
${execpi 60 ~/.conky/conkyparts/conkycalender.sh}
${execp ~/.conky/conkyparts/conkycore.sh}
${execp ~/.conky/conkyparts/conkymemory.sh}
${execpi 3600 ~/.conky/conkyparts/conkygraphics.sh}
${execp ~/.conky/conkyparts/conkydevices.sh}
${execp ~/.conky/conkyparts/conkynetwork.sh}
${execp ~/.conky/conkyparts/conkyTV.sh}
${execpi 3600 conkyForecast --location=USOK0233 --template=/home/crinos/.conky/conkyparts/weather.template}

Here are links to the above scripts:

conkytemplate.sh
conkyheader.sh
conkycalender.sh
conkycore.sh
conkymemory.sh
conkygraphics.sh
conkydevices.sh
conkynetwork.sh
conkyTV.sh
conkyForecast
and
weather.template