måndag 8 september 2008

Conky configuration

Så här ser min nuvarande conky ut, den är vid det nedre högra hörnet av skärmen.
Ett utav oändligt många konfigurationer av Conky

Jag har normalt en lite svart, brandgul och röd bakgrundbild. Jag har satt bakgrunden till svart för att man ska tydligt se hur det ser ut. Tyvärr så laddar jag inte ned nått nu utan jag fick hem filen precis innan jag tog kortet... så down: står på 0 K/s :)
På bilden har jag suddat ut min externa ip adress ;)

Så här ser själva .conkyrc filen ut, den ska ligga under home mappen.

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
#own_window_hints sticky
#background no
maximum_width 220

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer right
use_xft yes

# Update interval in seconds
update_interval 2.0

# Minimum size of text area
minimum_size 210 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
#stippled_borders 8

# border margins
#border_margin 4

# border width
#border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color orange
# default_shade_color black
# default_outline_color black

# Text alignment, other possible values are commented
# alignment top_left
# alignment top_right
#alignment bottom_left
alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale no
xftfont TOuhod:size=8
xftalpha 0.8

TEXT

${color }${color yellow}Date: ${color }${time %e %B %G}
${color yellow}Time: ${color }${time %H:%M:%S}
${color yellow}Kern:${color }$kernel
${color yellow}UpTime: ${color }$uptime
${color yellow}EXTERNAL:${color }${execi 14400 wget -O - http://whatismyip.org/ | tail}

${color yellow}CPU:${color } ${cpu cpu0}%
${cpugraph 20,130 000000 FF2A2A}

${color yellow}Processes: ${color }$processes
${color yellow}Running: ${color }$running_processes

${color yellow}Highest CPU:
${color #FF2A2A} ${top name 1}${top cpu 1} %
${color } ${top name 2}${top cpu 2} %
${color } ${top name 3}${top cpu 3} %

${color yellow}Highest MEM:
${color #FF2A2A} ${top_mem name 1}${top_mem mem 1} %
${color } ${top_mem name 2}${top_mem mem 2} %
${color } ${top_mem name 3}${top_mem mem 3} %

${color yellow}MEM: ${color } $memperc% $mem/$memmax
${membar 3,100}
${color yellow}SWAP: ${color }$swapperc% $swap/$swapmax
${swapbar 3,100}

${color yellow}HOME: ${color }${fs_free /home}/${fs_size /home}
${fs_bar 3,100 /home}
${color yellow} Blandat: ${color }${fs_free /blandat}/${fs_size /blandat}
${fs_bar 3,100 /blandat}

${color yellow}Up: ${color }${upspeed eth1} k/s
${color yellow}TOTAL: ${color}${totalup eth1}
${upspeedgraph eth1 20,130 000000 FF2A2A}
${color yellow}Down: ${color }${downspeed eth1}k/s${color}
${color yellow}TOTAL: ${color}${totaldown eth1}
${downspeedgraph eth1 20,130 000000 FF2A2A}

${color yellow}CORE 1: $font${cpu cpu1}%
${color }${cpugraph cpu1 25,140 303030 FF2A2A}
${color yellow}CORE 2: $font${cpu cpu2}%
${color }${cpugraph cpu2 25,140 303030 FF2A2A}

Inga kommentarer: