You are not logged in.
Here's my conky, plagiarised from all the good tips provided in this thread! - Thanks all
Russ
Offline
A simple conky to mach my wallpaper:
background no
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
update_interval 3.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
alignment bottom_left
gap_x 20
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 3
override_utf8_locale no
use_spacer none
TEXT
${font samanata}${offset 1260}
${font Radio Space Bold:size=20}${goto 1090}${color #26A9AD}RAM: ${memperc}%
${font Radio Space Bold:size=20}${goto 170}${color #7cb193}Temp: ${acpitemp}
${font Radio Space Bold:size=20}${goto 1120}${color #fef200}CPU: ${cpu cpu0}%
${font Radio Space Bold:size=20}${goto 150}${color #26A9AD}Battery: ${battery_percent C15E}%
${color #7cb193}${font Radio Space Bold:size=30}${goto 870}${time %l:%M %p}
${color #2B7578}${font Radio Space Bold:size=28}${goto 332}${time %b %d %y}${font Radio Space Bold:size=20}
${goto 730}${color #4B91BF}$nodename on $sysname $kernel
Really simple. Works great on screen res 1280x800. Hope you like it ;-)
http://archlinux.me/aymara/ ----> Newbie forever... ¬¬
Offline
I think it's time that I share my conky config. It's nowhere near finished, but I think it's getting there. I'm looking for a better monospaced font to use though (I'm using ProggyTiny right now, http://proggyfonts.com/).
Config: http://jwcxz.com/f/09-05-27.conkyrc
There are basically four external scripts at work. Two are for Amarok: if it is running, as.py displays the current track title, album, and artist (retrieved via DBUS) and ap.py displays a progress bar for the track. The other two are for the weather. Every 15 minutes (as directed by cron), a Python script retrieves weather data from weather.com and stores it to a temporary text file. Then, conky periodically invokes a shell script to grab parts of that text file and format them. This saves me from having to access the web more than once every 15 minutes.
-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers
Offline
A simple conky to mach my wallpaper:
http://i164.photobucket.com/albums/u5/a … -pipes.png
Really simple. Works great on screen res 1280x800. Hope you like it ;-)
Interesting!
Accidentally, My screen is exactly the same res as yours, ain't that destiny?:P
Wallpaper please;)
This silver ladybug at line 28...
Offline
Here's my conky, plagiarised from all the good tips provided in this thread! - Thanks all
http://westcom.no-ip.info/ub-pics/conky.pngRuss
conkyrc please?
Offline
ruscook wrote:Here's my conky, plagiarised from all the good tips provided in this thread! - Thanks all
http://westcom.no-ip.info/ub-pics/conky.pngconkyrc please?
Sorry I forgot! Here's the 2 conkrc files and the autostartscript.
.conkyrc2
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
text_buffer_size 1024
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=10
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Text alpha when using Xft
xftalpha 0.8
# on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 5
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
#maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 13
gap_y 10
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
TEXT
${font OpenLogos:size=60}B${font}
${font OpenLogos:size=14}z${font}${color1}Host: ${color1}${nodename}
${color7}${font openlogos:size=14}B ${font}${color1}Kernel:${color1}${alignr}$kernel
${voffset 2}${color7}${font}SYSTEM ${font}${color0}${hr 1}
${voffset 2}${color7}${font StyleBats:size=14}A${font}${color1} CPU0:${color #c000a0}${cpu cpu0}% ${color1}CPU1 Usage:${color #c000a0}${cpu cpu1}%${color7}${alignr}Freq:${color #c000a0}${freq}${color}MHz
${color black}${cpugraph 000000 c000a0}
${voffset 2}${color7}${font StyleBats:size=14}g${font}${color1} RAM: $memperc% $mem/ $memmax${alignr}${color7}${membar 10,60 1}
${voffset 2}${color7}${font StyleBats:size=14}j${font}${color1} SWAP: $swapperc% $swap/ $swapmax${alignr}${color7}${swapbar 10,60 1}
${color7}${font}NET ${font}${color0}${hr}
${voffset 2}${color7}${font PizzaDude Bullets:size=14}O${font}${color1} Up: ${upspeed eth0} kb/s ${alignr}${color7}${upspeedgraph eth0 12,120 0000ff ff0000}
${voffset 2}${color7}${font PizzaDude Bullets:size=14}U${font}${color1} Down: ${downspeed eth0} kb/s ${alignr}${color7}${downspeedgraph eth0 12,120 ff0000 0000ff}
${voffset 2}${color7}${font PizzaDude Bullets:size=14}T${font}${color1} Download: ${totaldown eth0} ${voffset -2}${color7}${font PizzaDude Bullets:size=14}N${font}${color1} Upload: ${alignr}${totalup eth0}
${color7}${font PizzaDude Bullets:size=14}a${font}${color1} Local Ip: ${alignr}${addr eth0}
${color7}${font}DISK ${color0}${hr}
${voffset 1}${color7}${font}${font Dejavu Sans:bold:size=10}${alignr} Free Used Size % Free
${voffset 6}${font Pie charts for maps:size=14}7${font}${color1} ${voffset -5}Root:${alignr}$color ${fs_free /}${color lightgrey} ${fs_used /} /$color ${fs_size /} - ${fs_free_perc /}%
${voffset 6}${fs_bar 12 /}
${voffset 6}${font Pie charts for maps:size=14}7${font}${color1} ${voffset -5}Home:${alignr}$color ${fs_free /home}${color lightgrey} ${fs_used /home}/$color ${fs_size /home} - ${fs_free_perc /home}%
${voffset 6}${fs_bar 12 /home}
${color7}${font}PROCESSES ${color0}${hr}
${color7}Running:$color $running_processes ${color7}${alignr}Total Processes:$color $processes ${color grey}
${color}Name PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color lightgrey} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
.conkyrc
# set to yes if you want Conky to be forked in the background
background no
# cpu_avg_samples 2
# net_avg_samples 2
text_buffer_size 1200
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=10
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Text alpha when using Xft
xftalpha 0.8
# on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 120
# update_interval 5
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
#maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#minimum_size 10 10
# minimum_size 185 0
#alignment top_left
alignment top_right
# alignment bottom_left
# alignment bottom_right
gap_x 350
gap_y 10
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
TEXT
${font OpenLogos:size=66}t${font}
${color7}${font StyleBats:size=14}q${font}${color1} UpTime:${color1}${alignr}$uptime
${font StyleBats:size=14}b${font}${color1} Arch Update: ${color1}${execi 300 ~/bin/archupdates.sh}
DATE ${hr}
${alignc 35}${font Arial Black:size=26}${time %I:%M %P}${font}
${alignc}${time %A %d %B}
${voffset 4}${font}${font DejaVu Sans Mono:size=8}${execpi 3600 DJS=`date +%_d`; cal -m | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color FCAF3E}'"$DJS"'${color0}'" "/}${font}
WEATHER ${hr}
${execpi 10800 conkyForecast -t /usr/share/conkyforecast/conkyForecast.template}
The following goes in my xfce4 session startup
#!/bin/sh
killall conky
conky -dc ~/.conkyrc2
conky -dc ~/.conkyrc
Offline
Thanks!
I cannot seem to find the PizzaDude font
Offline
Here's mine. It's pretty basic really, no fancy scripts. It still took me forever tweaking it to match my desktop, especially the way I set up the mpd info. Was a lot of frustrating trial and error.
Full screen shot here, Is at 1680 x 1050. or just the conky part linked to the pic.
My config is confusing with the alternating color codes. It frazzles my brain every time I go to change something.:rolleyes:
# conky config last updated 05/30/2009 (Allison)
background no
use_xft yes
xftfont DejaVu Sans Mono:size=10
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window no
own_window_transparent yes
own_window_colour 000000
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 2
border_margin 4
border_width 1
draw_borders no
default_color 303030
default_shade_color 1B1B1B
default_outline_color black
alignment top_right
maximum_width 345
gap_x 15
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer yes
mpd_host localhost
mpd_port 6600
text_buffer_size 256
TEXT
${voffset -4}${color #62DBDF}${font wqy-zenhei:size=12}宋莲丽 ${font DejaVu Sans Mono:size=10}${color #53B9BD}..... ${color #62DBDF}${alignr}${time %A %B %e %G}
${voffset 4}
${voffset -3}${color #62DBDF}MPD${if_mpd_playing}${color #53B9BD}........ ${color #62DBDF}${mpd_status}${else}${color #53B9BD}.... ${color #62DBDF}Not Running${endif}
${font wqy-zenhei:size=11}${color #CAAAAA}${if_mpd_playing}${scroll 33${mpd_title}}${else}${color #B5B5B5}${font DejaVu Sans Mono:size=10}Song Title${color #53B9BD}:${endif}${font DejaVu Sans Mono:size=10}${color #B5B5B5}${alignr}kbps${color #53B9BD}.... ${color #62DBDF}${mpd_bitrate}
${if_mpd_playing}${color #B5B5B5}By${color #53B9BD}: ${color #CAAAAA}${voffset -3}${font wqy-zenhei:size=11}${scroll 33${mpd_artist}}${font DejaVu Sans Mono:size=10}${alignr}${color #B5B5B5}Repeat${color #53B9BD}... ${color #62DBDF}${mpd_repeat} ${else}${color #B5B5B5}Artist${color #53B9BD}:${color #B5B5B5}${alignr}Repeat${color #53B9BD}... ${color #62DBDF}0 ${endif}
${color #B5B5B5}Length ${color #62DBDF}${mpd_length} ${color #B5B5B5}Elapsed ${color #62DBDF}${mpd_elapsed} ${color #B5B5B5}VOL ${color #62DBDF}${alignr}$mpd_vol%
${voffset -4}${color #62DBDF}System
${voffset 6}${color #B5B5B5}${sysname} Kernel${color #53B9BD}..........${color #B5B5B5}${execi 1000 cat /etc/sabayon-release} $kernel $machine
${color #B5B5B5}CPU${color #53B9BD}:${color #B5B5B5}0 ${color #53B9BD}.. ${color #B5B5B5}${alignr}${exec COUNT=$(cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //' | wc -l)
echo $(cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //' | uniq)}
${color #B5B5B5}CPU${color #53B9BD}:${color #B5B5B5}1 ${color #53B9BD}.. ${color #B5B5B5}${alignr}${exec COUNT=$(cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //' | wc -l)
echo $(cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //' | uniq)}
${color #B5B5B5}CPU${color #53B9BD}:${color #B5B5B5}0 ${color #62DBDF}${cpu cpu1}% ${color #18696C}${cpubar cpu1 5}
${color #B5B5B5}CPU${color #53B9BD}:${color #B5B5B5}1 ${color #62DBDF}${cpu cpu2}% ${color #18696C}${cpubar cpu2 5}
${color #B5B5B5}Load Average${color #53B9BD}.................. ${color #B5B5B5}${loadavg 1} ${color #53B9BD}/ ${color #B5B5B5}${loadavg 3}
${color #B5B5B5}Uptime${color #53B9BD}......................... ${color #B5B5B5}${alignr}${uptime}
${voffset -5}${color #62DBDF}RAM
${voffset 4}${color #62DBDF}Used${color #53B9BD}: ${color #62DBDF}$memperc% ${color #18696C}${membar 5}
${color #B5B5B5}Free${color #53B9BD}.............................. ${color #B5B5B5}${alignr}${memeasyfree}
${color #B5B5B5}Total${color #53B9BD}............................. ${color #B5B5B5}${alignr}${memmax}
${color #B5B5B5}Catched${color #53B9BD}........................... ${color #B5B5B5}${alignr}${cached}
${color #B5B5B5}Buffered${color #53B9BD}.......................... ${color #B5B5B5}${alignr}${buffers}
${color #B5B5B5}Unallocated${color #53B9BD}....................... ${color #B5B5B5}${alignr}${memfree}
${voffset -5}${color #62DBDF}Disks
${voffset 5}${color #B5B5B5}sda${color #53B9BD}.... ${color #B5B5B5}temp ${color #62DBDF}${execi 300 nc localhost 7634 | cut -c31-32 ;}°C ${color #B5B5B5}sdb${color #53B9BD}.... ${color #B5B5B5}temp ${color #62DBDF}${execi 300 nc localhost 7634 | cut -c66-67 ;}°C
${color #B5B5B5}Read${color #53B9BD}.... ${color #B5B5B5}${diskio_read /dev/sda} Write${color #53B9BD}.... ${color #B5B5B5}${diskio_write /dev/sda}
${voffset -5}${color #62DBDF}Partitions
${voffset 5}${color #B5B5B5}sda1${color #53B9BD}.... ${color #B5B5B5}free${color #53B9BD}: ${color #62DBDF}${fs_free_perc /boot}% ${color #18696C}${fs_bar 5 /boot}
${color #B5B5B5}sda3${color #53B9BD}.... ${color #B5B5B5}free${color #53B9BD}: ${color #62DBDF}${fs_free_perc /}% ${color #18696C}${fs_bar 5 /}
${color #B5B5B5}sdb4${color #53B9BD}.... ${color #B5B5B5}free${color #53B9BD}: ${color #62DBDF}${fs_free_perc /home/lianli/sdb4}% ${color #18696C}${fs_bar 5 /home/lianli/sdb4}
${color #B5B5B5}sda1${color #53B9BD}.... ${color #B5B5B5}Total${color #53B9BD}: ${color #B5B5B5}${fs_size /boot}${color #53B9BD} .... ${color #B5B5B5}Used${color #53B9BD}: ${color #B5B5B5}${alignr}${fs_used /boot}
${color #B5B5B5}sda3${color #53B9BD}.... ${color #B5B5B5}Total${color #53B9BD}: ${color #B5B5B5}${fs_size /}${color #53B9BD}..... ${color #B5B5B5}Used${color #53B9BD}: ${color #B5B5B5}${alignr}${fs_used /}
${color #B5B5B5}sdb4${color #53B9BD}.... ${color #B5B5B5}Total${color #53B9BD}: ${color #B5B5B5}${fs_size /home/lianli/sdb4}${color #53B9BD}..... ${color #B5B5B5}Used${color #53B9BD}: ${color #B5B5B5}${alignr}${fs_used /home/lianli/sdb4}
${color #B5B5B5}sda2${color #53B9BD}.... ${color #B5B5B5}Swap ${color #B5B5B5}Used${color #53B9BD}: ${color #62DBDF}${swapperc}% ${color #18696C}${swapbar}
${voffset -5}${color #62DBDF}USB Backup
${voffset 5}${if_mounted /mnt/sdc1}${color #B5B5B5}sdc1${color #53B9BD}..... ${color #B5B5B5}Total${color #53B9BD}: ${color #B5B5B5}${fs_size /mnt/sdc1}${color #53B9BD}.... ${color #B5B5B5}Used${color #53B9BD}: ${color #B5B5B5}${alignr}${fs_used /mnt/sdc1} ${else}${color #B5B5B5}External sdc1${color #53B9BD}................. ${color #B5B5B5}${alignr}Not Mounted ${endif}
${if_mounted /mnt/sdc3}${color #B5B5B5}sdc3${color #53B9BD}..... ${color #B5B5B5}Total${color #53B9BD}: ${color #B5B5B5}${fs_size /mnt/sdc3}${color #53B9BD}.... ${color #B5B5B5}Used${color #53B9BD}: ${color #B5B5B5}${alignr}${fs_used /mnt/sdc3} ${else}${color #B5B5B5}External sdc3${color #53B9BD}................. ${color #B5B5B5}${alignr}Not Mounted ${endif}
${voffset -5}${color #62DBDF}GPU - Nvidia
${voffset 5}${color #B5B5B5}Geforce 7900${color #53B9BD} ..... ${color #B5B5B5}512 MB${color #53B9BD} ...... ${color #B5B5B5}temp ${color #62DBDF}${execi 30 nvidia-settings -q [gpu:0]/GPUCoreTemp | grep '):' | awk '{print $4}' | sed 's/\.//'}°C
${color #B5B5B5}Geforce 6800${color #53B9BD} ..... ${color #B5B5B5}256 MB${color #53B9BD} ...... ${color #B5B5B5}temp ${color #62DBDF}${execi 30 nvidia-settings -q [gpu:1]/GPUCoreTemp | grep '):' | awk '{print $4}' | sed 's/\.//'}°C
${color #B5B5B5}Geforce MX 440${color #53B9BD} .... ${color #B5B5B5}64 MB${color #53B9BD} ...... ${color #B5B5B5}temp Null
${voffset -4}${color #62DBDF}Network
${voffset 4}${color #B5B5B5}Upload Kb/s ${upspeedf eth0} Download Kb/s ${downspeedf eth0}
${color #B5B5B5}Inbound${color #53B9BD}: ${color #FFFFFF}${tcp_portmon 1 32767 count} ${color #B5B5B5}Outbound${color #53B9BD}: ${color #FFFFFF}${tcp_portmon 32768 61000 count} ${color #B5B5B5}Total${color #53B9BD}: ${color #FFFFFF}${tcp_portmon 1 65535 count}
${voffset -4}${color #62DBDF}Processes
${voffset 4}Names${color #53B9BD}... ${color #62DBDF}PID CPU% MEM%
${color #B5B5B5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #B5B5B5}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #B5B5B5}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #62DBDF}Mem usage${color #53B9BD}...
${color #B5B5B5}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #B5B5B5}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #B5B5B5}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
Edit... slightly updated, added a few offsets with new background.
Last edited by Leigh (2009-06-01 07:15:08)
-- archlinux 是一个极好的 linux。
Offline
Thanks!
I cannot seem to find the PizzaDude font
I can't remember for sure where I got it from but I think this was one of the sites I tried on searching: http://www.fonts4free.net/pizzadude-bullets-font.html and http://www.fonts4free.net/openlogos-font.html and finally http://www.fontage.com/pages/pie4mp.html
Have fun!
Russ
Offline
Thanks! I found it
Offline
Don't forget to post your finished product screen shots and conkyrc.
Russ
Offline
Sure!
Here's my final conky:
And the .conkyrc:
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
text_buffer_size 1024
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=10
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
#own_window_transparent yes
#own_window_type normal
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Text alpha when using Xft
xftalpha 0.8
# on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 2
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 300 5
maximum_width 300
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 13
gap_y 80
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
TEXT
${font OpenLogos:size=50}B${font}
${color7}${font StyleBats:size=14}q ${font}${color1}Uptime:${color1}${alignr}$uptime
${color7}${font StyleBats:size=14}b ${font}${color1}Load Avg:${color1}${alignr}$loadavg
${voffset 2}${color7}${font Dejavu Sans:bold:size=10}SYSTEM ${font}${color0}${hr 1}
${voffset 2}${color7}${font StyleBats:size=14}A${font}${color1} Core 1: ${cpu cpu0}% ${color7}${font StyleBats:size=14}A${font}${color1} Core 2: ${cpu cpu1}% ${color7}${alignr}Freq: ${freq}MHz${color}
${voffset 2}${color7}${font StyleBats:size=14}A${font}${color1} Core 3: ${cpu cpu2}% ${color7}${font StyleBats:size=14}A${font}${color1} Core 4: ${cpu cpu3}%
${voffset 2}${color7}${font StyleBats:size=14}g${font}${color1} RAM: $memperc% $mem/ $memmax${alignr}${color7}${membar 10,60 1}
${voffset 2}${color7}${font Dejavu Sans:bold:size=10}CPU USAGE ${font}${color0}${hr 1}
${color black}${cpugraph 000022 c000a0}
${voffset 2}${color7}${font Dejavu Sans:bold:size=10}TEMPERATURE ${font}${color0}${hr 1}
${voffset 2}${font StyleBats:size=14}A${font} Core 1: ${platform coretemp.0 temp 1}°C${color}${alignr}${font StyleBats:size=14}A${font} Core 2: ${platform coretemp.1 temp 1}°C ${color}
${voffset 2}${font StyleBats:size=14}A${font} Core 3: ${platform coretemp.2 temp 1}°C${color}${alignr}${font StyleBats:size=14}A${font} Core 4: ${platform coretemp.3 temp 1}°C ${color}
${voffset 2}${font StyleBats:size=14}A${font} GPU: ${execi 30 nvidia-settings -q [gpu:0]/GPUCoreTemp | grep '):' | awk '{print $4}' | sed 's/\.//'}°C
${color7}${font Dejavu Sans:bold:size=10}NET ${font}${color0}${hr}
${voffset 2}${color7}${font PizzaDude Bullets:size=14}O${font}${color1} Up: ${upspeed eth0} kb/s ${alignr}${color7}${upspeedgraph eth0 12,120 0000ff ff0000}
${voffset 2}${color7}${font PizzaDude Bullets:size=14}U${font}${color1} Down: ${downspeed eth0} kb/s ${alignr}${color7}${downspeedgraph eth0 12,120 ff0000 0000ff}
${voffset 2}${color7}${font PizzaDude Bullets:size=14}T${font}${color1} Download: ${totaldown eth0} ${voffset -2}${color7}${alignr}${font PizzaDude Bullets:size=14}N${font}${color1} Upload: ${totalup eth0}
${color7}${font PizzaDude Bullets:size=14}a${font}${color1} Local Ip: ${alignr}${addr eth0}
${color7}${font PizzaDude Bullets:size=14}a${font}${color1} Public Ip: ${alignr}${execi 3600 /home/kalpik/conky/myip}
${color7}${font Dejavu Sans:bold:size=10}DISK ${color0}${hr}
${voffset 1}${color7}${font}${font Dejavu Sans:bold:size=10}${alignr} Free Used Size % Free
${voffset 6}${font Pie charts for maps:size=14}7${font}${color1} ${voffset -5}Root:${alignr}$color ${fs_free /}${color lightgrey} ${fs_used /} /$color ${fs_size /} - ${fs_free_perc /}%
${voffset 6}${fs_bar 12 /}
${color7}${font Dejavu Sans:bold:size=10}PROCESSES ${font}${color0}${hr}
${color7}Running:$color $running_processes ${color7}${alignr}Total Processes:$color $processes ${color grey}
${color}CPU Usage PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color}Mem Usage PID CPU% MEM%
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color lightgrey} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
${hr 1}
Offline
Nice kalpik, and a 4 core machine to boot - I'm suitably jealous
Russ
Offline
Heh.. the conky is just modified from the posts above me So i wont take any credit for that
But yes, its nice to have a quad core
Im planning to add 2 more gigs of RAM to it
Offline
my conky
# Written By BaSh
# http://www.deelab.org/bash/
#
# Writter By ugaciaka
# www.ugaciaka.wordpress.com
# For HardDisk Temperature need hddtemp is daemon
# Options
use_xft yes
background yes
xftfont terminus:size=8
#xftfont anorexia
#xftfont smoothansi:size=10
xftalpha 1
update_interval 1.0
total_run_times 0
#se metto yes ho lo sfarfallio di conky che mi copre le finestre, se metto no devo togliere le icone dal desktop in xfce
own_window yes
# normalmente con i DE
own_window_type override
# per openbox
#own_window_type desktop
#own_window_hints below,sticky,skip_taskbar,skip_pager,undecorated
own_window_transparent yes
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
no_buffers yes
cpu_avg_samples 1
net_avg_samples 2
override_utf8_locale yes
uppercase no
#use_spacer no
# colors
#default_color white
#default_shade_color white
#default_outline_color grey
#color0 white
#color0 black
color0 e0e0e0
color1 e0e0e0
color2 1aff14
color3 ed2424
# Position
alignment top_right
gap_x 30
gap_y 50
# Parameters
TEXT
${color #729FCF}${font zekton:size=9}SISTEMA${font} ${color1}$hr
${color0}CPU: ${exec uname -p}
${color0}Kernel: $sysname ${alignr}Versione: $kernel
${color0}Architettura: $machine ${alignr}Hostname: $nodename
${color #729FCF}${font zekton:size=9}TEMPERATURE${font} ${color1}$hr
${color0}CPU Temp: ${execi 30 sensors | awk '/temp2/ {print $2}'} ${alignr}Sys Temp: ${execi 30 sensors | awk '/temp1/ {print $2}'}
${color0}CPU Fan: ${execi 30 sensors | awk '/fan2/ {print $2}'} RPM
${color0}/dev/sda Temp: +${hddtemp /dev/sda}°C ${alignr}/dev/sdb Temp: +${hddtemp /dev/sdb}°C
${color #729FCF}${font zekton:size=9}PROCESSI${font} ${color1}$hr
${color0}Core0: ${cpu cpu0}% @ ${freq_g 0}GHz ${alignr}Core1: ${cpu cpu1}% @ ${freq_G 1}GHz
${color0}${cpugraph cpu0 30,140 000000 000000} ${alignr}${cpugraph cpu1 30,140 000000 000000}
${color0}Processo ${alignc} CPU% MEM%
${color0}${top name 1} ${alignc} ${top cpu 1} ${top mem 1}
${color0}${top name 2} ${alignc} ${top cpu 2} ${top mem 2}
${color0}${top name 3} ${alignc} ${top cpu 3} ${top mem 3}
${color #729FCF}${font zekton:size=9}MEMORIA${font} ${color1}$hr
${color0}RAM (${memperc}% Use): $mem/$memmax $membar
${color0}Swap (${swapperc}% Use): $swap/$swapmax $swapbar
${color #729FCF}${font zekton:size=9}PARTIZIONI${font} ${color1}$hr
${color0}root (${fs_free_perc /}% Free): ${color0}${fs_used /}${color0}/${color0}${fs_size /} ${color0}${fs_bar /}
${color0}home (${fs_free_perc /home}% Free): ${color0}${fs_used /home}${color0}/${color0}${fs_size /home} ${color0}${fs_bar /home}
${color0}tmp (${fs_free_perc /tmp}% Free): ${color0}${fs_used /tmp}${color0}/${color0}${fs_size /tmp} ${color0}${fs_bar /tmp}
${color0}pacman (${fs_free_perc /var/cache/pacman}% Free): ${color0}${fs_used /var/cache/pacman}${color0}/${color0}${fs_size /var/cache/pacman} ${color0}${fs_bar /var/cache/pacman}
${color0}ScambioWin (${fs_free_perc /mnt/ScambioWin}% Free): ${color0}${fs_used /mnt/ScambioWin}${color0}/${color0}${fs_size /mnt/ScambioWin} ${color0}${fs_bar /mnt/ScambioWin}
${color0}VirtualBox (${fs_free_perc /home/ugaciaka/.VirtualBox}% Free): ${color0}${fs_used /home/ugaciaka/.VirtualBox}${color0}/${color0}${fs_size /home/ugaciaka/.VirtualBox} ${color0}${fs_bar /home/ugaciaka/.VirtualBox}
${color #729FCF}${font zekton:size=9}WLAN0${font} ${color1}$hr
${color0}IP: ${addr wlan0} ${alignr}Gateway: ${gw_ip}
${color0}Segnale: ${wireless_link_qual_perc wlan0}%
${color0}Down: ${downspeedf wlan0} kB/s ${alignr}Up: ${upspeedf wlan0} kB/s
${color0}${downspeedgraph wlan0 30,140 000000 000000} ${alignr}${color0}${upspeedgraph wlan0 30,140 000000 000000}
${color #729FCF}${font zekton:size=9}APC${font} ${color1}$hr
${color0}Autonomia: ${execi 60 apcaccess | awk '/TIMELEFT/ {print $3}'} Minuti ${alignr}Batteria: ${execi 60 apcaccess | awk '/BCHARGE/ {print $3}'}%
${color0}Numero trasferimenti: ${execi 60 apcaccess | awk '/NUMXFERS/ {print $3}'}
I have never bought on ebay, the macbook I do not like, I do not need facebook or myspace or secondlife
I am not a nerd or lamer or troll or geek or hacker or cracker
and I have never voted to elect berlusconi
Offline
# conky config
# taskbar layout
# position
alignment top_center
background yes
gap_x 2
gap_y 2
#minimum_size 1668 20
# font
override_utf8_locale yes
use_xft yes
xftfont Terminus:size=8
xftalpha 0.8
# color
color0 1994d1
color1 63b6e0
default_color white
default_outline_color white
default_shade_color black
# misc
cpu_avg_samples 1
double_buffer yes
net_avg_samples 1
no_buffers yes
short_units yes
TEXT
${alignc}${offset 45}${color1}$nodename${color} ${color0}${sysname}-${machine} ${kernel} ${color}${texeci 18000 perl ~/scripts/arch-updates/list_upgradable.pl} | ${color0}CPU${color} ${font Terminus:size=8}@${font} ${freq_g}GHz ${cpu}% ${acpitemp}°C | $uptime_short | ${color0}RAM${color} ${mem} ${memperc}% | ${color0}SWAP${color} ${swap} ${swapperc}% | ${color0}WLAN${color} ${wireless_essid eth0} ${wireless_link_qual_perc eth0} ${color0}LAN${color0} ${font PizzaDude Bullets:size=8}U${font} ${color}${totaldown eth1}/${downspeed eth1} ${color0}${font PizzaDude Bullets:size=8}O${font} ${color}${totalup eth1}/${upspeed eth1} | ${execi 18000 weatherget -f ~/scripts/arch-updates/.conkyweatherrc --station-id=USMN0220 --standard} | ${color0}BATTERY${color} ${battery_short}
pink
Last edited by Mr Pink57 (2009-06-23 05:18:41)
Even a broken clock is right twice a day.
Diplomacy without force is like music without instruments.
Offline
aymara wrote:A simple conky to mach my wallpaper:
http://i164.photobucket.com/albums/u5/a … -pipes.png
Really simple. Works great on screen res 1280x800. Hope you like it ;-)
Interesting!
Accidentally, My screen is exactly the same res as yours, ain't that destiny?:PWallpaper please;)
Here you have the wallpaper (Sorry i didn't do it before!!) --> http://interfacelift.com/wallpaper_beta … mbing.html
http://archlinux.me/aymara/ ----> Newbie forever... ¬¬
Offline
leik > good job
Offline
Heh.. the conky is just modified from the posts above me So i wont take any credit for that
But yes, its nice to have a quad core
Im planning to add 2 more gigs of RAM to it
I get away with 2GB on my dual core, but I can see a 4core would need 4GB at least to really fly and run lots of apps.
Damn, I want a new road pushy, dual head screen, and 4 core system... Guess I want too many toys to get them all soon :-)
Russ
Offline
Hello!
To show Consonance (lightweight music manager) information in conky, I wrote the following script:
#!/bin/bash
while getopts "a?i?t?" Option; do
case $Option in
a )
ALBUM=`consonance -c | grep album`
echo "${ALBUM:7}"
;;
i )
INTERPRET=`consonance -c | grep artist`
echo "${INTERPRET:8}"
;;
t )
TITLE=`consonance -c | grep title`
echo "${TITLE:7}"
;;
* )
echo "Illegal option detected. [ERROR]"
exit 1
;;
esac
done
shift $(($OPTIND - 1))
Since Consonance currently only supports getting all information at once, and since string manipulation in bash is anything but funny, the script is pretty crappy at the moment - feel free to improve it!
The according part in your conkyrc looks like this:
${if_running consonance}${color #98c2c7}${font}CONSONANCE ${color0}${hr}
${font Rock Star 2.0:size=20}T${font}${alignc}${execi 5 ~/consonanceinfo.sh -i}
${font Rock Star 2.0:size=20}Y${font}${alignc}${execi 5 ~/consonanceinfo.sh -t}
${font Rock Star 2.0:size=20}K${font}${alignc}${execi 5 ~/consonanceinfo.sh -a}${endif}
You can find the Rock Star font here (direct link).
Here's the result:
Offline
Screen: click here
Conky: click here
Hey, can you share the desktop info script (in shell w/Arch logo in ASCII)? I have one that is quite outdated, that one looks far nicer, much appreciated if you can, thanks
Offline
Can someone help to use cut to display only the current and next month with cal?
${color3}${exec cal -3 -m}
Offline
pre_exec cal -3 | cut -c23-64
use theh pre so it only runs once.
Offline
Found it on some site and modified it to suit my needs.
Last edited by WarmMachine (2009-06-26 16:14:57)
Offline
Found it on some site and modified it to suit my needs.
how did you get the album art to work with conky ?
Archlinux x86_64 | post-engineering | last.fm
Offline