Ok, so I posted my current set up a few pages back:
http://forums.linuxmint.com/viewtopic.p ... 20#p313482
I was wondering if I might be able to get some feedback on my conky config. I cannot recall or find where I originally found the conkyrc off which my conkyrc is based. As it is now though, each section (network, memory, weather, etc) is drawn in its own window with a separate conkyrc file and then all 5 are called up on start up with a simple shell script. Is there an easier way (perhaps with a lua script?) to configure this so that it's just one conkyrc file rather than 5?
here's the files:
.conkyrc
Code: Select all
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background no
use_xft yes
xftfont Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 50
maximum_width 240
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 61A8FF
alignment middle_right
gap_x 80
gap_y 100
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Output
##############################################
TEXT
${color9}${font Americana BT:size=16}${alignc}Cerebral Automation
${color9}${font Americana BT:size=13}Speed$alignr${freq_g} GHz
${color9}${font Americana BT:size=13}CPU:${alignr}${cpu cpu0}%${font}
${color9}${cpubar cpu0 8,130}
${color9}${font Americana BT:size=13}Temp:${alignr}${execi 4 sensors | grep -A 0 'Core 0' | cut -c15-18}°C${font}
${color9}${font Americana BT:size=13}CPU:${alignr}${cpu cpu1}%${font}
${color9}${cpubar cpu1 8,130}
${color9}${font Americana BT:size=13}Temp:${alignr}${execi 4 sensors | grep -A 0 'Core 1' | cut -c15-18}°C
.conkyrc-mem
Code: Select all
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background no
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 50
maximum_width 180
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 61A8FF
alignment top_left
gap_x 150
gap_y 55
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Output
##############################################
TEXT
${color9}${font Americana BT:size=16}${alignc}Memory
${font Americana BT:size=12}RAM:$alignr$mem/$memmax${font}
${membar 8,180}
${font Americana BT:size=12}Swap:$alignr$swap/$swapmax${font}
${swapbar 8,180}
.conkyrc-hd
Code: Select all
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background no
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 50
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 61A8FF
.conkyrc-net
Code: Select all
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background no
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 150 50
maximum_width 180
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 61A8FF
alignment middle_left
gap_x 150
gap_y -85
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Output
##############################################
TEXT
${color9}${font Americana BT:size=16}${alignc}Network
${color9}${font Americana BT:size=12}Down:${alignr}${downspeedf wlan0} kb/s${font}
${font Americana BT:size=12}Up:${alignr}${upspeedf wlan0} kb/s${font}${color}
.conkyrc-weather
Code: Select all
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background no
use_xft yes
xftfont Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 50 50
maximum_width 240
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 262729
alignment bottom_right
gap_x 20
gap_y 45
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Output
##############################################
TEXT
${voffset -50}$color4 ${font conkyWeather:size=36}${execi 3600 conkyForecast --location=USTX1312 --datatype=WF}${font :size=14}${offset 20}Temp: ${execi 3600 conkyForecast --location=USTX1312 --datatype=HT --imperial}${font}
$color2 ${font}Barometer Tendency: ${execi 600 conkyForecast --location=USTX1312 --datatype=BD}
$color2 Humidity: ${execi 600 conkyForecast --location=USTX1312 --datatype=HM}
$color2 ${font}Wind Speed: ${execi 600 conkyForecast --location=USTX1312 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=USTX1312 --hideunits --datatype=WD}
$color2 ${font}Wind Gusts: ${execi 600 conkyForecast --location=USTX1312 --datatype=WG}
$color2 Daylight: ${execi 600 conkyForecast --location=USTX1312 --datatype=SR} - ${execi 600 conkyForecast --location=USTX1312 --datatype=SS}
${alignc}$color8 / $color3 Forcast $color8 /
${color6}${execi 3600 conkyForecast --location=USTX1312 --datatype=DW --shortweekday --startday=1 --spaces=9 --endday=4}
${color1}${font ConkyWeather:size=24}${execi 3600 conkyForecast --location=USTX1312 --datatype=WF --startday=1 --endday=4 --spaces=3}
${font}${color6}${execi 3600 conkyForecast -i --location=USTX1312 --datatype=HT --startday=1 --endday=4 --spaces=7}
${font}${color5}${execi 3600 conkyForecast -i --location=USTX1312 --datatype=LT --startday=1 --endday=4 --spaces=7}
${color1}${font}${execi 3600 conkyForecast --location=USTX1312 --datatype=PC --startday=1 --endday=4 --spaces=8}
.startconky.sh
Code: Select all
#!/bin/bash
sleep 25 && # 0 good for Xfce - use 20 to 30 for Gnome
conky -c ~/.conkyrc &
sleep 25 &&
conky -c ~/.conkyrc-mem &
sleep 25 &&
conky -c ~/.conkyrc-hd &
sleep 25 &&
conky -c ~/.conkyrc-net &
sleep 25 &&
conky -c ~/.conkyrc-weather &
exit
Actually, I just found where I got it:
http://crunchbanglinux.org/forums/post/52343/#p52343
Still, any thoughts on consolidation, or any other suggestions for improvement? Thanks in advance.