Conky Showoff thread

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
chi-kitory

Re: Conky Showoff thread

Post by chi-kitory »

Sector11

Re: Conky Showoff thread

Post by Sector11 »

Image

Code: Select all

alignment tl
background no
border_inner_margin 0
border_width 0
default_color FFFFFF
default_outline_color black
default_shade_color black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 10 # left-right
gap_y 10 # up-down
minimum_size 250 0
no_buffers yes
override_utf8_locale yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window yes
pad_percents 2
short_units yes
stippled_borders 0
top_name_width 5
update_interval 1
uppercase no
use_spacer right
use_xft yes
xftalpha 1.0 #0.2
xftfont Sans Mono:size=8

TEXT
${goto 15}${nodename}
${goto 15}|
${goto 12}+----System
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- OS${goto 125}${sysname}
${goto 15}|${goto 38}+-- Kernel ${goto 125}${kernel}
${goto 15}|${goto 38}+-- Machine${goto 125}${machine}
${goto 15}|
${goto 12}+----Memory
${goto 15}|${goto 38}+-- Total${goto 125}${memmax}
${goto 15}|${goto 38}+-- In Use${goto 125}${mem} (${memperc}%)
${goto 15}|${goto 38}+-- Free${goto 125}${memfree}
${goto 15}|${goto 38}+-- Up to${goto 125}${memeasyfree} freed easily
${goto 15}|${goto 38}+-- Swap
${goto 15}|${goto 60}+-- Total${goto 125}${swapmax}
${goto 15}|${goto 60}+-- Used${goto 125}${swap} - ${swapperc}%
${goto 15}|${goto 60}+-- Free${goto 125}${swapfree}
${goto 15}|
${goto 12}+----Status
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU${goto 125}${cpu cpu0}% - ${freq_g}GHz
${goto 15}|${goto 38}+-- Ram${goto 125}${memperc}%
${goto 15}|${goto 38}+-- LoadAvg${goto 125}${loadavg}
${goto 15}|${goto 38}+-- Disk${goto 125}${fs_used_perc /}% Used
${goto 15}|${goto 38}+-- Diskio ${goto 125}${diskio}
${goto 15}|${goto 60}+-- Read${goto 125}${diskio_read}
${goto 15}|${goto 60}+-- Write${goto 125}${diskio_write}
${goto 15}|
${goto 12}+----Storage
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- /ROOT${goto 125}${fs_free /} / ${fs_size /}
${goto 15}|${goto 38}+-- /HOME${goto 125}${fs_free /home} / ${fs_size /home}
${goto 15}|${goto 38}+-- /Media5${goto 125}${fs_free /media/5} / ${fs_size /media/5}
${goto 15}|${goto 38}+-- /Media6${goto 125}${fs_free /media/6} / ${fs_size /media/6}
${goto 15}|${goto 38}+-- /Media7${goto 125}${fs_free /media/7} / ${fs_size /media/7}
${goto 15}|
${goto 12}+----Processes
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Total${goto 125}${processes}
${goto 15}|${goto 38}+-- Running${goto 125}${running_processes}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU
${goto 15}|${goto 40}|${goto 60}+-- ${top name 1}${goto 125}${top cpu 1}${top mem 1}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 2}${goto 125}${top cpu 2}${top mem 2}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 3}${goto 125}${top cpu 3}${top mem 3}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- MEM
${goto 15}|${goto 60}+-- ${top_mem name 1}${goto 125}${top_mem cpu 1}${top_mem mem 1}
${goto 15}|${goto 60}+-- ${top_mem name 2}${goto 125}${top_mem cpu 2}${top_mem mem 2}
${goto 15}|${goto 60}+-- ${top_mem name 3}${goto 125}${top_mem cpu 3}${top_mem mem 3}
${goto 15}|
${goto 12}+----Net
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- eth0${goto 125}${addr eth0}
${goto 15}|${goto 38}+-- Up
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${upspeedf eth0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totalup eth0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Down
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${downspeedf eth0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totaldown eth0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Email${goto 125}0 | 0
${goto 15}|
${goto 12}+----Time / Date Calcs
${goto 40}|
${goto 38}+-- Time${goto 125}${time %R:%S}
${goto 38}+-- Date${goto 125}${time %a, %d %b %y}
${goto 38}+-- Uptime${goto 125}${uptime}
cra1g321

Re: Conky Showoff thread

Post by cra1g321 »

meskarune wrote:Image]
Nice conky and desktop, you should post some screenshots on the 'Unofficial Post Your Linux Mint Desktop Thread'

http://forums.linuxmint.com/viewtopic.p ... start=4160
meskarune

Re: Conky Showoff thread

Post by meskarune »

Sector11 wrote:Image

Code: Select all

alignment tl
background no
border_inner_margin 0
border_width 0
default_color FFFFFF
default_outline_color black
default_shade_color black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 10 # left-right
gap_y 10 # up-down
minimum_size 250 0
no_buffers yes
override_utf8_locale yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window yes
pad_percents 2
short_units yes
stippled_borders 0
top_name_width 5
update_interval 1
uppercase no
use_spacer right
use_xft yes
xftalpha 1.0 #0.2
xftfont Sans Mono:size=8

TEXT
${goto 15}${nodename}
${goto 15}|
${goto 12}+----System
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- OS${goto 125}${sysname}
${goto 15}|${goto 38}+-- Kernel ${goto 125}${kernel}
${goto 15}|${goto 38}+-- Machine${goto 125}${machine}
${goto 15}|
${goto 12}+----Memory
${goto 15}|${goto 38}+-- Total${goto 125}${memmax}
${goto 15}|${goto 38}+-- In Use${goto 125}${mem} (${memperc}%)
${goto 15}|${goto 38}+-- Free${goto 125}${memfree}
${goto 15}|${goto 38}+-- Up to${goto 125}${memeasyfree} freed easily
${goto 15}|${goto 38}+-- Swap
${goto 15}|${goto 60}+-- Total${goto 125}${swapmax}
${goto 15}|${goto 60}+-- Used${goto 125}${swap} - ${swapperc}%
${goto 15}|${goto 60}+-- Free${goto 125}${swapfree}
${goto 15}|
${goto 12}+----Status
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU${goto 125}${cpu cpu0}% - ${freq_g}GHz
${goto 15}|${goto 38}+-- Ram${goto 125}${memperc}%
${goto 15}|${goto 38}+-- LoadAvg${goto 125}${loadavg}
${goto 15}|${goto 38}+-- Disk${goto 125}${fs_used_perc /}% Used
${goto 15}|${goto 38}+-- Diskio ${goto 125}${diskio}
${goto 15}|${goto 60}+-- Read${goto 125}${diskio_read}
${goto 15}|${goto 60}+-- Write${goto 125}${diskio_write}
${goto 15}|
${goto 12}+----Storage
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- /ROOT${goto 125}${fs_free /} / ${fs_size /}
${goto 15}|${goto 38}+-- /HOME${goto 125}${fs_free /home} / ${fs_size /home}
${goto 15}|${goto 38}+-- /Media5${goto 125}${fs_free /media/5} / ${fs_size /media/5}
${goto 15}|${goto 38}+-- /Media6${goto 125}${fs_free /media/6} / ${fs_size /media/6}
${goto 15}|${goto 38}+-- /Media7${goto 125}${fs_free /media/7} / ${fs_size /media/7}
${goto 15}|
${goto 12}+----Processes
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Total${goto 125}${processes}
${goto 15}|${goto 38}+-- Running${goto 125}${running_processes}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU
${goto 15}|${goto 40}|${goto 60}+-- ${top name 1}${goto 125}${top cpu 1}${top mem 1}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 2}${goto 125}${top cpu 2}${top mem 2}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 3}${goto 125}${top cpu 3}${top mem 3}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- MEM
${goto 15}|${goto 60}+-- ${top_mem name 1}${goto 125}${top_mem cpu 1}${top_mem mem 1}
${goto 15}|${goto 60}+-- ${top_mem name 2}${goto 125}${top_mem cpu 2}${top_mem mem 2}
${goto 15}|${goto 60}+-- ${top_mem name 3}${goto 125}${top_mem cpu 3}${top_mem mem 3}
${goto 15}|
${goto 12}+----Net
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- eth0${goto 125}${addr eth0}
${goto 15}|${goto 38}+-- Up
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${upspeedf eth0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totalup eth0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Down
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${downspeedf eth0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totaldown eth0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Email${goto 125}0 | 0
${goto 15}|
${goto 12}+----Time / Date Calcs
${goto 40}|
${goto 38}+-- Time${goto 125}${time %R:%S}
${goto 38}+-- Date${goto 125}${time %a, %d %b %y}
${goto 38}+-- Uptime${goto 125}${uptime}
nice! I like this a lot
User avatar
Daveleh
Level 3
Level 3
Posts: 100
Joined: Wed Feb 24, 2010 3:15 pm
Location: Swindon, UK

Conky Showoff thread

Post by Daveleh »

Hi All, I am trying to adapt my conky config to include a calendar but I am having a slight problem, the first line of dates is offset and out of line.

This is my .conkyrc:

Code: Select all

use_xft yes
xftfont OpenLogos DejaVu Sans Mono:size=9

update_interval 2
total_run_times 0
double_buffer yes
text_buffer_size 3072

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

minimum_size 300 300
maximum_width 300 300


default_color white
draw_shades yes

color0 white
color1 E07A1F
color2 green
# colours
color3 white
# light blue
color4 6892C6
# orange
color5 E77320
# green
color6 78BF39
# red
color7 CC0000

alignment top_left
gap_x 10
gap_y 5

no_buffers no
net_avg_samples 2

override_utf8_locale yes

no_buffers yes

TEXT
${offset 4}${voffset -3}${color ffffff}${font URW Gothic L:size=60}${time %I}
${offset 100}${voffset -125}${color ffffff}${font URW Gothic L:size=32}${time :%M}
${offset 165}${voffset -73}${color #9ebcd7}${font URW Gothic L:size=13}${time %S}${color}
${offset 165}${voffset -7}${color ffffff}${font URW Gothic L:size=13}${time :%P}${color}


${font DejaVu Sans Mono:size=11}${execpi 300 ~/conky/calendar.sh}

${color3}${font}${execpi 600 conkyGoogleCalendar --username=uname@gmail.com --password=pword --daysahead=7 --limit=10 --template=/usr/share/conkygooglecalendar/example/conkyGoogleCalendar.template}
And this is my calendar.sh, taken from a previous post:

Code: Select all

#!/bin/bash
# calendar.sh
# copyright 2010 by Mobilediesel
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.

#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.

#You should have received a copy of the GNU General Public License
#along with this program.  If not, see <http://www.gnu.org/licenses/>.

date=$(date '+%F')
DAY=${date:8:2}
# m="-m" # uncomment this line for starting the week on Monday instead of Sunday.
cal=$(cal $m)
prev=$(cal $m $(date '+%-m %Y' --date="${date:0:7}-15 -1 month")|sed 's/ *$//;/^$/d'|tail -1)
next=$(cal $m $(date '+%-m %Y' --date="${date:0:7}-15 +1 month")|sed '/^ *&/d;1,2d;s/^ *//'|head -1)
if [ ${#next} == 19 ] ;then next=$'\n'"\${color grey} $next"
else next="\${color grey}  $next"
fi
if [ ${#prev} == 20 ]; then prev="$prev"$'\n '
else prev="$prev  "
fi
dates=$(remind -s|cut -d ' ' -f1|uniq|cut -d '/' -f3|sed "/$DAY/d")
current=$(echo "${cal:42}"|sed -e '/^ *$/d' -e 's/^ *1\>/1/')
for i in $dates; do
current=$(echo "$current"|sed -e "s/\<${i/#0/}\>/\${color green}&\${color 99ccff}/")
done
current=$(echo "$current"|sed -e "s/\<${DAY/#0/}\>/\${color white}&\${color 99ccff}/" -e 's/ *$//')
echo -e "\${color grey}${cal:0:21}\${color 808080}${cal:21:21}\${color grey}$prev\${color 99ccff}$current$next"
But this is what I get:
calendar.png
I have tried changing font and font sizes but to no avail. Any help would be appreciated

Regards
Daveleh
Cornwall, UK

Go on - walk1000miles.co.uk

Mint 19.3 xfce fully updated on an Acer Aspire 5349 laptop with 4Gb memory and 750Gb HDD
mmesantos1

Re: Conky Showoff thread

Post by mmesantos1 »

Ok so I edited the Conky from OMG Ubuntu which was Conky meets Faenza, so I made a Mint version called Conky meets Awoken just incase someone wanted it. :)

Note: Follow readme for instructions, all I did was follow it to the letter and it worked fine.

Download Link: http://ubuntuone.com/p/Svv/
Screenshot-2.png
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Conky Showoff thread

Post by willie42 »

I like that conky setup. I want to dabble a bit in trying to create one but I just dont know yet where or how to really start. AT sent me some sites and some help and I am still looking at them.
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
vrkalak

Re: Conky Showoff thread

Post by vrkalak »

willie42 wrote:I like that conky setup. I want to dabble a bit in trying to create one but I just dont know yet where or how to really start. AT sent me some sites and some help and I am still looking at them.
Used to be the Conky-Hardcore site, but not it is Conky-Pitstop >> http://conky-pitstop.wikidot.com/

Conky-Pitstop has everything you ever wanted to know about Conky, but was afraid to ask. :mrgreen:
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Conky Showoff thread

Post by willie42 »

Cool, I will do some more reading. I have downloaded Conky Wizard and played with it some. :D I have looked at the other link that AT sent me. Just been playing with the wizard :shock: that for some reason didnt come out right.......oh well...
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
Habitual

Re: Conky Showoff thread

Post by Habitual »

**cough cough** Conky Wizard is cheating. :)
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Conky Showoff thread

Post by willie42 »

Habitual, you could sorta make a how too on how to properly create conkys from scratch and if its good just maybe Oscar will be kind enough to sticky it so everyone can know how... I am def interesting in learning how and I am sure there are alot of folks out there that could benefit from what knowledge you can bring to the table to help us rookies out :D :lol: :mrgreen:
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
Aging Technogeek

Re: Conky Showoff thread

Post by Aging Technogeek »

I second willie42's suggestion.

I have never concocted a conky from scratch myself. I just find one that is close to what I want and edit it.

I would truly appreciate any one who could post a good tutorial on conky construction.
Habitual

Re: Conky Showoff thread

Post by Habitual »

Well, you DID ask. :)

Everything I learned, I did what everyone else does, download someone's code and start chopping and hacking. Sort of the "Machete Method" of coding.

I went from no knowledge of conky to this elaborate, if not excessive layout in just about 1 month. But I had some free time (was unemployed, and highly motivated - read:bored) seen here... That's 10 separate widgets running. I call them widgets. :)

http://i771.removed/albums/xx360/E52226 ... 1_2010.png

Here are some pointers that will help anyone further their quest for conky-nirvana.

Start here: http://conky-pitstop.wikidot.com/
Bookmark this http://conky.sourceforge.net/docs.html
Install screenruler
Install gcolor2

I always separate my widgets in their own directories. Save your sanity!
I always start with a/the same pre-defined template and build out from there.
Here's mine. I use it for EVERY new widget.

Code: Select all

# Static and Variable Values used by Habitual/John Jones

# Static Values
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_xft yes
draw_outline no
draw_borders no
uppercase no
draw_shades no
draw_shades yes
double_buffer yes
border_width 0
text_buffer_size 2048
default_color white
update_interval 1.0

# Variable Values # These values are the ONLY thing that change from widget to widget
alignment bm
gap_x 5
gap_y 44
minimum_size 50 1
maximum_width 100

TEXT
The only values specific to your system are
alignment bm
gap_x 5
gap_y 44
minimum_size 50 1
maximum_width 100
Just remember Y points vertically and therefore changes the vertical alignments from the top and bottom edge of the screen.

So when someone says "I want/need to see my /home partition" and offers up some code like

Code: Select all

/home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
I just add that code to the area below "TEXT" in my predefined template, save it and shut down all widgets with "killall -9 conky" in terminal
then run the code.
conky -c /path/to/widget (from terminal for debugging purposes)

Sometimes you have to make such little adjustments and why mess up a working widget?
I just add someone's offered snippet to my pre-defined template and save and run it.

NEVER, EVER just add someone's code to your existing working conky, it is a guaranteed failure.
Create a new "widget" and run it, when it's "perfect" (that almost never is the case) then leave it alone.

Use gedit to make adjustments to your code. Leave gedit open while editing.
Because if/when you make a change in gedit and save the file, conky will re-load the saved configuration and you can "see" the changes take affect.
Also, gedit has this neat little feature, "undo" (Ctrl+[zZ]) that you can "backout" of multiple changes (even after saving and running) all the way back to the very first change.
Make subtle changes and save then view the result.

Only change 1 aspect of your code at a time. I always start with placement issues.
If you want to change the placement and color, or color and size of graph bars, get the placement just right (or vice versa) and change then the other.
Too many changes can really send you reaching for a gun|bottle|delete button

Use "goto" and avoid the "alignX" if you can.
goto placement offers exact positioning
AlignX offers relative positioning.

So if your screen resolution is 1440x900 and you need to have something about 1\4 of the way from the left edge of the screen
then ${goto 360} places the code at exactly 1\4th of the way from the left-edge of the screen.

That should get anyone started. I can (hopefully) edit this post and add any more tidbits to this "How To get started with Conky".

If anyone gets stuck you can reach me at Void dot RecycleBin at gmail dot com
Sometimes it's just easier than digging through forum posts for specific help. That always drove me crazy|crazier.

HTH.
User avatar
Daveleh
Level 3
Level 3
Posts: 100
Joined: Wed Feb 24, 2010 3:15 pm
Location: Swindon, UK

Re: Conky Showoff thread

Post by Daveleh »

Thank you Habitual, that was very interesting to read.

Regards
Daveleh
Cornwall, UK

Go on - walk1000miles.co.uk

Mint 19.3 xfce fully updated on an Acer Aspire 5349 laptop with 4Gb memory and 750Gb HDD
vrkalak

Re: Conky Showoff thread

Post by vrkalak »

Excellent post, Habitual

Nice little How-to (tutorial) about using Conky.

As one of the Admins of Conky-Pitstop, I appreciate that you mentioned the site and found it useful. 8)

Looking at your screenshot with your 10 Conkys on it ... I can immediately tell on who's Conky scripts you fashioned it after. :lol:
Habitual

Re: Conky Showoff thread

Post by Habitual »

vrkalak:

CPS is the first place I send anybody that wants to learn more about conky.
Why re-invent the wheel? I always say.

mad props!
Habitual

Re: Conky Showoff thread

Post by Habitual »

vrkalak wrote: ... I can immediately tell on who's Conky scripts you fashioned it after. :lol:
Well, with that many widgets, to me, they all start to look alike.

Nowadays, I only run a calendar and weather widget.
daquirm

Re: Conky Showoff thread

Post by daquirm »

Hi,
I was pretty unhappy with all these huge configs which turn your desktop into circus, so I wrote very minimalistic config for Conky to keep things simple and to match it with minimalistic distros like the Mint Fluxbox/Crunchbang etc. It basically does 3 things, it shows basic HW info, it shows weather info and it checks whether Exaile is playing something and if it is, it switches weather info for music info, to keep the panel really minimalistic and thin.
I want to make the look little bit more scifi, are there any other conky weather fonts to check, since the default one doesn't really match the font well?

whole panel:
Selection_004.png
switching between weather and exaile info:
Conky_left_weather.png
Conky_left_exaile.png
requirements:
neuropol and weather font, conky, conky forecast, conky exaile, exaile and startup script like this one:

Code: Select all

#!/bin/sh
sleep 5 &&
conky &
sleep 16 &&
conky -c .conkyrcx &
sleep 18 &&
sh /home/mint/.xcompmgr-switcher.sh &
.conkyrc file like this:

Code: Select all

background yes
use_xft yes
xftfont neuropol:size=9
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 350 40
maximum_width 350
draw_shades yes
draw_outline no
draw_borders no 
draw_graph_borders no
default_color grey
default_shade_color black
alignment bottom_left
gap_x 70
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
use_spacer right
color1 4C4C4C
color2 red
##############################################
#  Output
##############################################

TEXT
$color1$nodename - $sysname$color $hr$color2
CPU Usage:$color $alignr$cpu%$color2
RAM Usage:$color$alignr$mem of $memmax$color2
Desktop: $alignr$color$desktop_name$color2
and .conkyrcx file like this:

Code: Select all

background yes
use_xft yes
xftfont neuropol:size=9
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 350 40
maximum_width 370
draw_shades yes
draw_outline no
draw_borders no 
draw_graph_borders no
default_color grey
default_shade_color black
alignment bottom_right
gap_x 70
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
use_spacer right
color1 4C4C4C
color2 red
##############################################
#  Output
##############################################
TEXT
${if_running exaile}$else$color1
${goto 0}Weather in ${execi 3600 conkyForecast --location=EZXX0012 --datatype=CN} $color$hr$color2
${goto 0}$color2${voffset 0}${font conky weather:size=28}${execi 3600 conkyForecast --location=EZXX0012 --datatype=WF}${goto 130}${execi 3600 conkyForecast --location=EZXX0012 --datatype=WF -s 1}${goto 260}${execi 3600 conkyForecast --location=EZXX0012 --datatype=WF -s 2}$color2${font neuropol:size=8}
${goto 40}${voffset -35}Today ${time %d. %m.}${goto 170}${execi 3600 conkyForecast --location=EZXX0012 --datatype=DW -s 1}${goto 300}${execi 3600 conkyForecast --location=EZXX0012 --datatype=DW -s 2}$color
${goto 44}${font neuropol:size=9}${execi 3600 conkyForecast --location=EZXX0012 --datatype=HT -u -x} / ${execi 3600 conkyForecast --location=EZXX0012 --datatype=HT -s 0 -u -x}${goto 174}${execi 3600 conkyForecast --location=EZXX0012 --datatype=LT -s 1 -u -x} / ${execi 3600 conkyForecast --location=EZXX0012 --datatype=HT -s 1 -u -x}${goto 304}${execi 3600 conkyForecast --location=EZXX0012 --datatype=LT -s 2 -u -x} / ${execi 3600 conkyForecast --location=EZXX0012 --datatype=HT -s 2 -u -x}
$endif
${if_running exaile}${if_match "${execi 5 conkyExaile --datatype=ST}"!="Stopped"}$color1 Exaile playin' $color$hr$color2
 ${execi 5 conkyExaile --datatype=AR -n} - ${execi 5 conkyExaile --datatype=TI -n} 
 ${execi 5 conkyExaile --datatype=AL -n}$color
 Track ${execi 5 conkyExaile --datatype=TN -n}$alignr$color${execi 1 conkyExaile --datatype=PT -n} / ${execi 5 conkyExaile --datatype=LE -n}$color1$else$color1
${goto 0}Weather in ${execi 3600 conkyForecast --location=EZXX0012 --datatype=CN} $color$hr$color2
${goto 0}$color2${voffset 0}${font conky weather:size=28}${execi 3600 conkyForecast --location=EZXX0012 --datatype=WF}${goto 130}${execi 3600 conkyForecast --location=EZXX0012 --datatype=WF -s 1}${goto 260}${execi 3600 conkyForecast --location=EZXX0012 --datatype=WF -s 2}$color2${font neuropol:size=8}
${goto 40}${voffset -35}Today ${time %d. %m.}${goto 170}${execi 3600 conkyForecast --location=EZXX0012 --datatype=DW -s 1}${goto 300}${execi 3600 conkyForecast --location=EZXX0012 --datatype=DW -s 2}$color
${goto 44}${font neuropol:size=9}${execi 3600 conkyForecast --location=EZXX0012 --datatype=HT -u -x} / ${execi 3600 conkyForecast --location=EZXX0012 --datatype=HT -s -1 -u -x}${goto 174}${execi 3600 conkyForecast --location=EZXX0012 --datatype=LT -s 1 -u -x} / ${execi 3600 conkyForecast --location=EZXX0012 --datatype=HT -s 1 -u -x}${goto 304}${execi 3600 conkyForecast --location=EZXX0012 --datatype=LT -s 2 -u -x} / ${execi 3600 conkyForecast --location=EZXX0012 --datatype=HT -s 2 -u -x}

${endif}${endif}
Feel free to post any suggestions, comments. It'll be cool if conky displayed the coverart from last.fm. If someone knows how to do that, pls reply.
Last edited by daquirm on Sat Jan 08, 2011 2:09 am, edited 1 time in total.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Conky Showoff thread

Post by willie42 »

very nice daquirm....very clean and clear. I will be starting on mine this week when i am off work. :D
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
lead67
Level 3
Level 3
Posts: 128
Joined: Thu Nov 13, 2008 2:16 am
Location: san mateo, california

Re: Conky Showoff thread

Post by lead67 »

Hello Daquirm, may I kindly ask to help run your scripts or how do i make it work? i am new to linux and learning but if you can tell me steps, i know that i can have on mine, too.
thanks
Mobo-EP-43-DS3L
CPU-Core 2 Quad Q9550 2.83GHz
RAM- 4gigs (2x1GB) ballistix 2.2v
PSU- Thermaltake 850W
HDD- 1 WD 120 gig/1 Seagate 120 gig
Linux Mint Isadora 9 64bits video driver 195.36.15
Vista Home premium
EVGA GTX 260 SC 896GB DDR3 driver 257.21
Locked

Return to “Compiz, Conky, Docks & Widgets”