LinuxVillage

Projects and resources (En) => Contributing to FOSS => Discussion démarrée par: konaexpress le 18 mars 2013 à 16:26:29

Titre: Conky Scripts + Photos
Posté par: konaexpress le 18 mars 2013 à 16:26:29
Well..........

Someone had to start this thread.

Here is a plain and simple one that I got from Crunchbang and changed.

   # 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.
#

# Enjoy! :)
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
#own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color #FFFFFF
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 12
gap_y 56
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
##############################################
#  Output
##############################################
TEXT
S Y S T E M    I N F O
${hr}
Host:$alignr$nodename
Uptime:$alignr$uptime
RAM:$alignr$mem/$memmax
Swap usage:$alignr$swap/$swapmax
Disk usage:$alignr${fs_used /}/${fs_size /}
CPU usage:$alignr${cpu cpu0}%


(http://farm9.staticflickr.com/8379/8568201389_dec1b5e39d.jpg) (http://www.flickr.com/photos/mynetbookos/8568201389/)
Screen shot 2013-03-18 at 8.58.44 AM (http://www.flickr.com/photos/mynetbookos/8568201389/#) by The Kona Express (http://www.flickr.com/people/mynetbookos/), on Flickr 

@ Taco.22, do you have a copy of that conky script that shows time zones in it.
Titre: Re : Conky Scripts
Posté par: melodie le 18 mars 2013 à 20:15:19
Very nice, simple and lean! But how come the cpu is 0% use in there ? That seems strange.

Titre: Re : Re : Conky Scripts
Posté par: konaexpress le 18 mars 2013 à 20:29:07
But how come the cpu is 0% use in there ? That seems strange.



hhhhhmmmmmmm...................don't know.
Titre: Re : Conky Scripts
Posté par: melodie le 18 mars 2013 à 20:34:48
You could check what "htop" returns, and you could try having a look in ~/.xsession-errors where maybe some information about conky behavior may be available.

Titre: Re : Re : Conky Scripts
Posté par: djohnston le 18 mars 2013 à 21:12:49
But how come the cpu is 0% use in there ? That seems strange.

The conkyrc is correct. On something as lean and mean as Crunchbang, the CPU will alternate between 0 and 1% at rest. That is normal. His screenshot just caught it at the 0% mark.

Titre: Re : Conky Scripts
Posté par: djohnston le 18 mars 2013 à 21:23:55
Here's the conkyrc used for DebWeb. It was based on one Taco.22 created with time zone displays. I changed some colors and added ZRAM usage display.

# set to yes if you want Conky to be forked in the background
background yes
use_xft yes
xftfont sans:size=10
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 500 5
maximum_width 242
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
   
default_color Gold
default_shade_color black
default_outline_color white

alignment top_right
gap_x 4
gap_y 2
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${color orange}${hr 2}
${color}${alignc}System
${color orange}${hr 2}   
${color}$sysname $kernel
${time %A %b %d, %Y %I:%M %p %Z}
Uptime: $uptime
Processes: $processes ${alignr}Running:$running_processes
${color orange}${hr 2}
${color}CPU: ${alignr}${cpu}%
${color green}${cpubar 6 cpu1}
${color}RAM: $mem of $memmax  ${alignr}$memperc%
${color green}${membar 6}
${color}SWAP: $swap of $swapmax  ${alignr}$swapperc%
${color green}${swapbar 6}
${color}Root: ${fs_used} of ${fs_free}${alignr}${fs_used_perc /}%
${color green}${fs_bar 6 /}
${color}${goto 50}AVAILABLE${goto 150}USED
ZRAM: ${exec cat /proc/swaps |grep zram |cut -f 2}KB         ${goto 150}${exec cat /proc/swaps |grep zram |cut -f 3}KB
${color orange}${hr 2}
${color}${alignc}Network
${color orange}${hr 2}
${color}${alignc}  eth0 ${addr eth0}
Inbound $alignr ${downspeed eth0} kb/s
${downspeedgraph eth0 00ff00 00ff00}
Outbound $alignr ${upspeed eth0} kb/s
${upspeedgraph eth0 00ff00 00ff00}
${color orange}${hr 2}
${color}${alignc}Timezones:
${color orange}${hr 2}
${color}London ${alignr}${tztime Europe/London %-I:%M %p}
Paris ${alignr}${tztime Europe/Paris %-I:%M %p}
Calcutta ${alignr}${tztime Asia/Kolkata %-I:%M %p}
Tokyo ${alignr}${tztime Asia/Tokyo %-I:%M %p}
Sydney ${alignr}${tztime Australia/Sydney %-I:%M %p}
Honolulu ${alignr}${tztime US/Hawaii %-I:%M %p}
Los Angeles ${alignr}${tztime America/Los_Angeles %-I:%M %p}
New York ${alignr}${tztime America/New_York %-I:%M %p}
${color orange}${hr 2}

(http://i48.tinypic.com/347e78w.jpg)

Titre: Re : Re : Conky Scripts
Posté par: konaexpress le 18 mars 2013 à 21:45:13
Here's the conkyrc used for DebWeb. It was based on one Taco.22 created with time zone displays. I changed some colors and added ZRAM usage display.


(http://i48.tinypic.com/347e78w.jpg)

Thats a nice one.
Titre: Re : Re : Re : Conky Scripts
Posté par: konaexpress le 18 mars 2013 à 21:48:03
The conkyrc is correct. On something as lean and mean as Crunchbang, the CPU will alternate between 0 and 1% at rest. That is normal. His screenshot just caught it at the 0% mark.

I will have to take a look at this, she maybe correct as I am using my small Bobcat distro and not CB at the moment of this screen capture. It is based off of Madbox so I would think it should use more ram and CPU.
Titre: Re : Conky Scripts
Posté par: djohnston le 18 mars 2013 à 21:57:30
After a second look, she is right. You left out a set of curly braces. Here's mine:

${color}CPU: ${alignr}${cpu}%

Here's yours:

CPU usage:$alignr${cpu cpu0}%

Yours should be:

CPU usage:${alignr}${cpu cpu0}%

See if that works. If not, try:

CPU usage:${alignr}${cpu0 cpu1}%

I can't remember the syntax for displaying more than one CPU.
Titre: Re : Conky Scripts
Posté par: konaexpress le 18 mars 2013 à 22:14:48
Nope, it is working as you can tell by this screenshot.

(http://farm9.staticflickr.com/8377/8569078941_511ea557c9_z.jpg) (http://www.flickr.com/photos/mynetbookos/8569078941/)
Screen shot 2013-03-18 at 2.10.17 PM (http://www.flickr.com/photos/mynetbookos/8569078941/#) by The Kona Express (http://www.flickr.com/people/mynetbookos/), on Flickr

I just can't do the 3 finger shuffle fast enough to get the screen shot before the CPU dumps down.
Titre: Re : Conky Scripts
Posté par: djohnston le 18 mars 2013 à 22:35:52
Okay. So, you made no changes? It was already working?
Titre: Re : Re : Conky Scripts
Posté par: konaexpress le 18 mars 2013 à 23:02:48
Okay. So, you made no changes? It was already working?

Yea, no changes. I was playing with my Conky Manager so I could edit the file to what you had when I noticed that the CPU meter was moving. It spiked at about  6% and dropped like a rock, I think it is the Gambas runtime doing that.
Titre: Re : Conky Scripts + Photos
Posté par: melodie le 19 mars 2013 à 00:52:41
Well done!

I would like to have a conky with the content of djohnston's, and the transparency as the one kona has done (to put into the next OB Bento to come, and for my own use in Arch as well). Do you think it possible ?

Titre: Re : Conky Scripts + Photos
Posté par: djohnston le 19 mars 2013 à 07:21:14
Both have transparency. It's the following line that does it:

own_window_transparent yes

Titre: Re : Conky Scripts + Photos
Posté par: patrick013 le 23 mars 2013 à 04:18:55
SCORPIO


(http://s17.postimg.org/77ltfc5ff/conky.jpg) (http://postimg.org/image/77ltfc5ff/)


Couldn't get HD temp to work, it's on a flash drive.     But on a HD it would.
Have to clean up the script if anyone wants it.
Titre: Re : Conky Scripts + Photos
Posté par: djohnston le 23 mars 2013 à 07:17:14
Patrick,

Is that the standard Scorpio conky, or did you modify it?
Titre: Re : Re : Conky Scripts + Photos
Posté par: patrick013 le 23 mars 2013 à 07:29:15
Patrick,

Is that the standard Scorpio conky, or did you modify it?

I put Taco's conky on the top of my conky.
Each computer is different so I don't think it'll
ever be a standard Scorpio conky.   hwmon's
all have different numbers and so forth.

regards,

patrick
Titre: Re : Re : Conky Scripts + Photos
Posté par: djohnston le 23 mars 2013 à 20:07:52
Have to clean up the script if anyone wants it.

Why not post it? You've already posted a screenshot. Might as well have the code to go along with it.  ;)
Titre: Re : Conky Scripts + Photos
Posté par: konaexpress le 24 mars 2013 à 01:20:28
Yep, post it up bud......
Titre: Re : Re : Conky Scripts + Photos
Posté par: patrick013 le 24 mars 2013 à 02:19:04
Yep, post it up bud......

Took out about 30 lines of commented out unused lines.


    # set to yes if you want Conky to be forked in the background
    background yes
    use_xft yes
    xftfont sans:size=8
    xftalpha 0.5
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 500 5
    maximum_width 180
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
   
    default_color white
    default_shade_color red
    default_outline_color grey
    alignment top_right
    gap_x 24
    gap_y 48
    no_buffers yes
    uppercase no
    cpu_avg_samples 1
    override_utf8_locale no

    TEXT
    ${alignc 8}${font sans:size=15}Scorpio${font}
    ${alignc 28}${font sans:size=20}Openbox${font}
   
    ${alignc}${font sans:size=13}${time %H:%M:%S}${font}
    ${alignc -10}${Time %A %m %d %Y}
   
    ${font sans:size=10}Paris ${alignr}${tztime Europe/Paris %H:%M:%S}${font}
    ${font sans:size=10}Tokyo ${alignr}${tztime Asia/Tokyo %H:%M:%S}${font}
    ${font sans:size=10}New York ${alignr}${tztime America/New_York %H:%M:%S}${font}
    ${font sans:size=10}LA ${alignr}${tztime America/Los_Angeles %H:%M:%S}${font}
       
    ${image ~/.conky/computer.png -p 65,108 -s 64x64}       
    ${font sans:size=8}$alignc${color tan2}$kernel
    ${color white}$hr
    ${color tan}${cpubar 10,0}
    ${color grey}CPU Usage:$alignr${color tan}$cpu %
    ${color grey}CPU Temp:$alignr${color tan}${hwmon 2 temp 2}  C
    ${color grey}Sys Temp:$alignr${color tan}${hwmon 0 temp 1}  C
    ${color grey}Fan:$alignr${color tan}${hwmon 1 fan 1}  rpm
    ${color white}$hr
    ${color grey}RAM Usage:${alignr}${color tan}$memperc %
    ${color grey}Total RAM:$alignr${color tan}$memmax
    ${color grey}SWAP Usage:${alignr}${color tan}$swapperc %
    ${color grey}Tot SWAP:$alignr${color tan}$swapmax
    ${color white}$hr
    ${color grey}HD usage:${alignr}${color tan}${fs_used_perc /} %
    ${color grey}Total HD:$alignr${color tan}${fs_size /}
    ${color grey}HD Temp${alignr}${color tan}${execi 60 hddtemp -n /dev/sda} C
    ${color white}$hr
    ${color grey}Network:${color lightblue}$alignr${downspeed eth0}
    ${color white}$hr
    ${color grey}Uptime:${color DarkOrange1}${alignr}$uptime_short

Titre: Re : Conky Scripts + Photos
Posté par: djohnston le 24 mars 2013 à 03:39:25
Cool. Now I'm gonna steal it and file a copyright on it. If you continue to use it, I'll sue.  :D  ;D
Titre: Re : Re : Conky Scripts + Photos
Posté par: patrick013 le 24 mars 2013 à 20:18:15
Cool. Now I'm gonna steal it and file a copyright on it. If you continue to use it, I'll sue.  :D  ;D

You'll never get the codecs, they're still binary.         :D
Titre: Re : Re : Re : Conky Scripts + Photos
Posté par: patrick013 le 10 avril 2013 à 20:50:00
Seriously....... I do like having all of that info on the screen.   I have noticed that some distros have it and others do not.  Personal preference I guess.

Glad you liked it.   Not too big and not too small hopefully.
After many years sometime the fan burns out so that is
nice to check on once in awhile.

regards,

Patrick
Titre: Re : Conky Scripts + Photos
Posté par: Slystone le 10 avril 2013 à 23:47:28
Why not make a screenshot of the whole desktop so we can have a look at the wall and other stuff?
Otherwise I'll post my own sometimes later.

Here's an old one (but I still use this template) : http://en.zimagez.com/zimage/screenshot488.php# (http://en.zimagez.com/zimage/screenshot488.php#)
And here's the code:
background        no
update_interval        1.0
double_buffer        yes

use_xft            yes
override_utf8_locale
xftfont            Sans:size=8
xftalpha        0.8

own_window        yes
own_window_transparent    yes
own_window_type        override
own_window_hints    undecorated,below,sticky,skip_taskbar,skip_pager
#on_bottom        yes

minimum_size        280 5
maximum_width 240
draw_shades        no
draw_outline        no
draw_borders        no
draw_graph_borders    no
stippled_borders    0
border_margin        6
border_width        0

default_color        505050
default_shade_color    black
default_outline_color    white
color1        505050
color2        8BAEE8

alignment top_right
gap_x            6
gap_y            20

no_buffers        yes

TEXT
${color1}Utilisateur :$color ${exec whoami}
${color1}Kernel : $color$kernel
$stippled_hr
${color1}Uptime : $color$uptime ${alignr}${color1}Load : $color$loadavg
${color1}CPU : $color${freq}MHz / $cpu% ${color2}${cpubar}
$color${cpugraph FFFFFF 81A1D3}
${color1}Mémoire RAM : $color$mem / $memmax
     $memperc % ${color2}${membar}
${color1}Utilisation du Swap : $color$swap / $swapmax
     $swapperc %  ${color2}${swapbar}
${color1}Batterie : $color${battery_percent BAT1} % ${color2}${battery_bar BAT1}
${color1}Processus : $color$processes ${color1}En cours : $color$running_processes
$stippled_hr
${color1}Disque dur : $color${exec hddtemp -n /dev/sda}°C ${alignr}${color1}Activité : $color${diskio /dev/sda}/s
${color1}Système   : $color${fs_used /} / ${fs_size /}
     $color${fs_used_perc /}% ${color2}${fs_bar /}
${color1}Images  : $color${fs_used /media/Images} / ${fs_size /media/Images}
     $color${fs_used_perc /media/Images}% ${color2}${fs_bar /media/Images}
${color1}Audio  : $color${fs_used /media/Audio} / ${fs_size /media/Audio}
     $color${fs_used_perc /media/Audio}% ${color2}${fs_bar /media/Audio}
${color1}University  : $color${fs_used /media/University} / ${fs_size /media/University}
     $color${fs_used_perc /media/University}% ${color2}${fs_bar /media/University}
${color1}Vids  : $color${fs_used /media/Vids} / ${fs_size /media/Vids}
     $color${fs_used_perc /media/Vids}% ${color2}${fs_bar /media/Vids}

${color1}IP Distante : $color${execi 60 wget -O - http://ip.tupeux.com | tail}
$stippled_hr
${color1}Ethernet : $color${addr eth0}
${color1}Download : $color${downspeed eth0} kiB/s ${alignr}${color1}Upload : $color${upspeed eth0} kiB/s
${color1}Total : $color${totaldown eth0} ${alignr}${color1}Total : $color${totalup eth0}
$stippled_hr
${color1}${alignc}Port(s) ouvert(s) : ${color #8BAEE8}${tcp_portmon 1 65535 count}$color
${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} $alignr${tcp_portmon 1 65535 lservice 5}
$stippled_hr
${color1}Processeur$alignr${color}${color #8BAEE8}(%)  PID    CPU${color}
${color #FFFFFF}${top name 1} $alignr${top pid 1} ${top cpu 1}
${color #CACACA}${top name 2} $alignr${top pid 2} ${top cpu 2}
${color #A2A2A2}${top name 3} $alignr${top pid 3} ${top cpu 3}
${color #787878}${top name 4} $alignr${top pid 4} ${top cpu 4}

${color1}Mémoire$alignr${color}${color #8BAEE8}(%)  PID    MEM${color}
${color #FFFFFF}${top_mem name 1} $alignr${top_mem pid 1} ${top_mem mem 1}
${color #CACACA}${top_mem name 2} $alignr${top_mem pid 2} ${top_mem mem 2}
${color #A2A2A2}${top_mem name 3} $alignr${top_mem pid 3} ${top_mem mem 3}
${color #787878}${top_mem name 4} $alignr${top_mem pid 4} ${top_mem mem 4}

${color #8BAEE8}${execi 120 ~/.conky/meteo.sh FRXX0020}Météo à ${execi 120 ~/.conky/meteo2.sh "Ville"}
${color}Aujourd'hui : ${execi 120 ~/.conky/meteo2.sh "Température aujourd'hui"}  ${font weather:size=40}${voffset -18}${execi 120 ~/.conky/meteo2.sh "Conditions aujourd'hui"}${font}${voffset -11}
${color #CACACA}Vent : ${execi 120 ~/.conky/meteo2.sh "Vent aujourd'hui"}
${color #A2A2A2}Lever du soleil : ${execi 120 ~/.conky/meteo2.sh "Lever du soleil"}
${color #787878}Coucher du soleil : ${execi 120 ~/.conky/meteo2.sh "Coucher du soleil"}
${color #FFFFFF}Demain : ${execi 120 ~/.conky/meteo2.sh "Température demain"}  ${font weather:size=32}${voffset -10}${execi 120 ~/.conky/meteo2.sh "Conditions demain"}${font}
$stippled_hr
${color #882B0D}BBC News Front Page:

${color #882B0D}${execi 300 /home/sylvain/scripts/conky-rss.sh http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml 10 1}
Titre: Re : Conky Scripts + Photos
Posté par: patrick013 le 10 avril 2013 à 23:56:53
(http://s23.postimg.org/w3sxr5l07/ob_screenshot.jpg) (http://postimg.org/image/w3sxr5l07/)
Titre: Re : Conky Scripts + Photos
Posté par: Taco.22 le 11 avril 2013 à 03:06:15
Is that tint2 at the top?  Looks cool!  What does the Scorpion icon represent?
Titre: Re : Re : Conky Scripts + Photos
Posté par: patrick013 le 11 avril 2013 à 05:02:22
Is that tint2 at the top?  Looks cool!  What does the Scorpion icon represent?

The Scorpion icon is actually the lxpanel menu.
I had tint but got tired of it.   Sometimes I put
tint on the bottom and lxpanel on the top with
bunches of icons.
Titre: Re : Conky Scripts + Photos
Posté par: djohnston le 11 avril 2013 à 05:03:57
@Slystone,

I like the weather display. Can you share meteo.sh?

Titre: Re : Re : Conky Scripts + Photos
Posté par: Slystone le 15 avril 2013 à 15:03:05
@Slystone,

I like the weather display. Can you share meteo.sh?

Well, it all comes from there: http://doc.ubuntu-fr.org/conky#la_meteo
It's a French website, but you should have plenty of help on other sites, for example: http://www.upubuntu.com/2012/03/how-to-install-conkyforecast-conky.html (http://www.upubuntu.com/2012/03/how-to-install-conkyforecast-conky.html)
Have fun!
Titre: Re : Conky Scripts + Photos
Posté par: djohnston le 15 avril 2013 à 22:54:48
Thanks, Slystone. I found the shell scripts at http://doc.ubuntu-fr.org/conky_scripts_temps_et_meteo#la_meteo (http://doc.ubuntu-fr.org/conky_scripts_temps_et_meteo#la_meteo).
Titre: Re : Conky Scripts + Photos
Posté par: patrick013 le 09 juin 2013 à 01:25:19
Here's one with a desktop window, can be resized, undecorated,
mini'd to the panel, and moved.    Should work with all hardware,
nothing fancy was used.    Works like a little info box.

(http://i43.tinypic.com/4uaqlj.png)

minimum_size 175
temperature_unit celsius
net_avg_samples 1
cpu_avg_samples 1
background yes
update_interval 0.7
double_buffer yes
draw_borders no
#border_width 2
draw_shades no
draw_outline no
draw_graph_borders no
default_shade_color 999999
default_outline_color 999999


own_window yes
own_window_transparent no
#own_window_hints undecorated, below, sticky, skip_taskbar, skip_pager
own_window_title System Info
own_window_type normal
gap_x 20
gap_y 0
alignment ml

use_xft yes
xftfont Monospace:size=10:weight=bold
default_color 444444
color2 777777
color1 cccccc

no_buffers yes

TEXT
${color2}RAM $alignr${color1}$mem${color2}/$memmax

HDD $alignr${color1}${fs_used /}${color2}/${fs_size /}

CPU  ${color2}${freq_g 0} Ghz$alignr${color1}${cpu cpu0}% 

${color2}SYSTEM TEMP  $alignr${color1}$acpitemp C${color2} 

${color2}DISK I/O$alignr${color1}$diskio${color2}

NETWORK$alignr${color1}$downspeed
Titre: Re : Re : Conky Scripts + Photos
Posté par: melodie le 09 juin 2013 à 02:21:46
Here's one with a desktop window, can be resized, undecorated,
mini'd to the panel, and moved.    Should work with all hardware,
nothing fancy was used.    Works like a little info box.

It is a very nice little conky! :)

Titre: Re : Conky Scripts + Photos
Posté par: Taco.22 le 09 juin 2013 à 02:37:40
Looks very neat  8)
Titre: Re : Conky Scripts + Photos
Posté par: patrick013 le 09 juin 2013 à 03:03:08
Thanks, glad you might find some use for it.
Titre: Re : Conky Scripts + Photos
Posté par: djohnston le 09 juin 2013 à 04:52:40
Citer
${color2}DISK I/O$alignr${color1}$diskio${color2}

Disk I/O is one I don't remember seeing before. Thanks.

Titre: Re : Conky Scripts + Photos
Posté par: Seditio le 28 mai 2014 à 12:10:34
Bump!

(http://i.imgur.com/Wy1GVHh.png)

Requires a 1920px screen length, lm_sensors and hddtemp.
The GPU temperature requires AMD proprietary drivers. (Trying to find a solution for open-source.

###################################################################################################
###  Conky theme inspired by http://gnome-look.org/content/show.php/conky+gray?content=155967  ####
###  By Seditio                                                                                ####
###################################################################################################

double_buffer yes
own_window_class conky
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 150
draw_borders no
draw_graph_borders no
draw_shades yes
gap_x 0
gap_y 5
alignment top_middle
update_interval 1
default_color  ffffff
own_window_colour 000000
use_xft yes
xftfont sans:size=10
override_utf8_locale yes
use_spacer none
minimum_size 1920 0
TEXT
${goto 5}Date: ${color 5792FF}${font sans:size=10}${time %d/%m/%y}${color}${font}  Time: ${color 5792FF}${font sans:size=10}${time %H:%M}${color}${font}  |  Kernel: ${color 5792FF}${font sans:size=10}$kernel${color}${font}  Uptime: ${color 5792FF}${font sans:size=10}${uptime}${color}${font}  System Load: ${color 5792FF}${font sans:size=10}${loadavg}${color}${font}  Processes: ${color 5792FF}${font sans:size=10}${processes}${color}${font}  |  CPU: ${color 5792FF}${font sans:size=10}${cpu}%${color}${font}  RAM: ${color 5792FF}${font sans:size=10}${memperc}%${color}${font}  |  ${color}${font}HDD:${color 5792FF}${font sans:size=10} ${fs_used_perc /}% ${fs_used /} / ${fs_size /}  ${color}|  ${color}${font}Temp: ${color 82BA00}CPU: ${color}${color 5792FF}${execi 60 sensors | grep "Core 2" | cut -c18-19}°C ${color 82BA00}GPU: ${color 5792FF}${execi 60 aticonfig --od-gettemperature | grep Temperature | cut -c43-44}°C ${color 82BA00}HDD: ${color 5792FF}${font sans:size=10}${execi 60 sudo hddtemp --numeric /dev/sdc}°C${color}${font}  | ${color} ${if_existing /proc/net/route eno1}Network:  ${color 82BA00}IP : ${color 5792FF}${font sans:size=10}${exec wget http://www.telize.com/ip -q -O -}${color}${font}  ${color 82BA00}Up :${color} ${color 5792FF}${upspeed eno1} ${color}  ${color 82BA00}Down :${color} ${color 5792FF}${downspeed eno1} ${color} ${color 82BA00}Total :${color} ${color 5792FF}${totaldown eno1}${color}${else}${if_existing /proc/net/route eno1}${color 82BA00}${font sans:size=10}Up :${color}${font} ${color 5792FF}${upspeed eno1}${color}  ${color 82BA00}${font sans:size=10}Down :${color}${font} ${color 5792FF}${downspeed eno1}${color} ${color 82BA00}${font sans:size=10}Total down :${color}${font} ${color 5792FF}${totaldown eno1}${color}${endif}${else}Network Unavailable${endif}${endif}