Originally Posted by
folti
when merged, without arguments for weather report, conkyrc looks like this:
It is something that can be done ... but spacing (width) needs working on.
I have to go out now ... will come up with a better solution later.
In progress:
EDIT! Conky finished and new images of finished work:
One change I made was to put the cpugraph over the "Total CPU" bar, that why it has a white border. The graph is red the bar is blue.
The same can be done for the CPU bars 1 and 2, maker a graph for them in the same way.
If you don't like it change:
Code:
Total CPU:
${cpu cpu0}%${goto 40}${color 597DB2}${cpubar cpu0}${color}${goto 40}${cpugraph cpu0 -t 20,210 FF0000 FFFF33}
to
Code:
Total CPU:
${cpu cpu0}%${goto 40}${color 597DB2}${cpubar cpu0}${color}
${goto 40}${cpugraph cpu0 -t 20,210 FF0000 FFFF33}
The conky: Note the path that will need changing:
/media/5/conky/folti/folti_m.conky
Code:
# killall conky && conky -c /media/5/conky/folti/folti_m.conky &
### Begin Window Settings ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_class Conky
own_window_title folti
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type override
# own_window_argb_visual yes
### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 150
#minimum_size 270 0 ## width, height
#maximum_width 270 ## width
minimum_size 250 0 #310 700 #310 ## width, height
maximum_width 250 #310 ## width
gap_x 10 ### left &right
gap_y 10 ### up & down
alignment tr
#################################################### End Window Settings ###
### Font Settings ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont monofur:bold:size=12
#xftfont Helvetica LT Std:size=8
#xftfont WenQuanYi Micro Hei Mono:size=8
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes
draw_shades no #### To see it easier on light screens.
#default_shade_color black
draw_outline no #### Amplifies text if yes
default_outline_color black
uppercase no
###################################################### End Font Settings ###
### Color Settings #########################################################
default_shade_color gray
default_outline_color black
default_color DCDCDC #Gainsboro
color0 ffe595 #Teo Gold
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan #48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red #A52A2A #DarkRed
##################################################### End Color Settings ###
### Borders Section ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders yes #no
##################################################### End Borders Secton ###
### Miscellaneous Section ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no
# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 2048
# Subtract (file system) buffers from used memory?
no_buffers yes
# change GiB to G and MiB to M
short_units yes
# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2
# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
# max_user_text 16384
## default bar size
default_bar_size 210 20
## Specify a default width and height for graphs.
## Example: 'default_graph_size 0 25'. This is particularly useful for execgraph
## and execigraph as they do not take size arguments
## default_graph_size 220 100
top_name_width 8
short_units yes
pad_percents 2
############################################## End Miscellaneous Section ###
### LUA Settings ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load /media/5/Conky/LUA/dra2w-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
#lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.5
#digiThe all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1 # in seconds
# stuff after 'TEXT' will be formatted on screen
TEXT
${voffset 30}${font Helvetica LT Std:style=Condensed:size=60}${color 434343}${goto 40}${time %H}${goto 145}${color 434343}${time %M}${font Helvetica LT Std Condensed:size=15}${color 808080}${goto 230}${time %S}
${voffset 55}${color whitesmoke}${font Helvetica LT Std:size=8}${alignc}${time %A},${time %e} ${time %B} ${time %G}\
${image /media/5/conky/folti/images/base.png -p 12,30 -s 238x140}\
${image /media/5/conky/folti/images/base.png -p 12,190 -s 238x40}\
${image /media/5/conky/folti/images/flip_bg.png -p 30,10 -s 100x110}\
${image /media/5/conky/folti/images/flip_bg.png -p 130,10 -s 100x110}\
${execpi 1800 conkyForecast --location=HRXX0005 --template=/media/5/conky/folti/vreme.template}
${color CC9900}SYSTEM ${color}${sysname} on ${machine} ${color CC9900}${hr 2}
${color}${nodename} ${kernel}
${color CC9900}CPU ${hr 2}${color}
AMD Athlon(tm) 64 Socket 939
X2 Dual Core CPU 4200+
Total CPU:
${cpu cpu0}%${goto 40}${color 597DB2}${cpubar cpu0}${color}${goto 40}${cpugraph cpu0 -t 20,210 FF0000 FFFF33}
Core 1: ${freq 1} MHz Temprature: ${color} ${exec sensors|grep 'Core0'|awk '{print $3}'}
${cpu cpu1}%${goto 40}${color 597DB2}${cpubar cpu1}${color}
Core 2: ${freq 2} MHz Temprature: ${color} ${exec sensors|grep 'Core1'|awk '{print $3}'}
${cpu cpu2}%${goto 40}${color 597DB2}${cpubar cpu2}${color}
NAME${goto 90}PID${goto 150}CPU%${goto 215}MEM%
${color CCFFFF}${top name 1}${goto 90}${top pid 1}${goto 150}${top cpu 1}${goto 215}${top mem 1}
${top name 2}${goto 90}${top pid 2}${goto 150}${top cpu 2}${goto 215}${top mem 2}
${top name 3}${goto 90}${top pid 3}${goto 150}${top cpu 3}${goto 215}${top mem 3}
${top name 4}${goto 90}${top pid 4}${goto 150}${top cpu 4}${goto 215}${top mem 4}${color}
${color CC9900}MEMORY ${hr 2}${color}
RAM Used: ${mem}${goto 120}RAM Free: ${memfree}/ ${memmax}
RAM: ${memperc}%${goto 75}${color FF6600}${membar 6,175}${color}
Swap: ${swapperc}%${goto 75}${color FF6600}${swapbar 6,175}${color}
${color CC9900}DISK ${hr 2}${color}
sdc5 ${fs_type} (Root): ${fs_free_perc /}%${goto 132}${color FFFF33}${fs_bar 6,118 /}${color}
sdc1 NTFS (Data): ${fs_free_perc /media/data}%${goto 132}${color FFFF33}${fs_bar 6,118 /media/data}${color}
${color CC9900}NETWORK (${addr eth1}) ${hr 2}${color}
Down: ${color}${downspeed eth1} k/s ${alignr 10}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 25,100 000000 ff0000}${alignr 10}${upspeedgraph eth1
25,100 000000 00ff00}${color}
Total: ${totaldown eth1}${alignr 10}Total: ${totalup eth1}
Inbound: ${tcp_portmon 1 32767 count}${goto 105}Outbound: ${tcp_portmon 32768 61000 count}${alignr 10}Total: ${tcp_portmon 1 65535 count}
${color CC9900}LOGGING ${hr 2}${color}
${color 339900}${execi 30 tail -n3 /var/log/messages | fold -s -w48}${color}
And the /media/5/conky/folti/vreme.template - path will need changing as well:
Code:
${voffset -45}${goto 22}${font Helvetica LT Std:size=8}${color 909090}[--datatype=CN]
${font Helvetica LT Std:size=8}${color whitesmoke}${goto 24}[--datatype=CT]${voffset -10}${goto 200}${font Helvetica LT Std:size=25}${color d4d4d4}[--datatype=HT --hideunits]${font}
${font Helvetica LT Std:size=8}${color white}${goto 25}[--datatype=HT --hideunits --startday=1]/${color 707070}[--datatype=LT --hideunits --startday=1]${color white}${goto 70}[--datatype=HT --hideunits --startday=2]/${color 707070}[--datatype=LT --hideunits --startday=2]${color white}${goto 115}[--datatype=HT --hideunits --startday=3]/${color 707070}[--datatype=LT --hideunits --startday=3]${color white}${goto 160}[--datatype=HT --hideunits --startday=4]/${color 707070}[--datatype=LT --hideunits --startday=4]
${color 707070}${goto 25}[--datatype=DW --shortweekday --startday=1]${color 707070}${goto 70}[--datatype=DW --shortweekday --startday=2]${color 707070}${goto 115}[--datatype=DW --shortweekday --startday=3]${color 707070}${goto 160}[--datatype=DW --shortweekday --startday=4]
${voffset -10}${color 707070}${goto 205}[--datatype=DW --shortweekday --startday=5]
${voffset -23}${color white}${goto 205}[--datatype=HT --hideunits --startday=5]/${color 707070}[--datatype=LT --hideunits --startday=5]${image [--datatype=WI] -p 80,70 -s 113x113}${image [--datatype=WI --startday=1] -p 20,175 -s 43x43}${image [--datatype=WI --startday=2] -p 65,175 -s 43x43}${image [--datatype=WI --startday=3] -p 113,175 -s 43x43}${image [--datatype=WI --startday=4] -p 158,175 -s 43x43}${image [--datatype=WI --startday=5] -p 200,175 -s 43x43}
Bookmarks