Conky

Here’s my Conky – Thanks to m6 for passing along his files.
Conky

Necessary Files
conky-rdf.sh
emerge-progress.sh
emerge-current.sh
lastsync.pl

I’ve placed them in my ~/.conky directory.
You’ll also need to:

emerge media-fonts/terminus-font

#.conkyrc uberpenguin.net
background yes
use_xft yes
xftfont Terminus:size=8
xftalpha 0.8

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

mail_spool $MAIL
update_interval 5.0
total_run_times 0

# Create own window instead of using desktop (requiblack in nautilus)
own_window no

# If own_window is yes, you may use type normal, desktop or override
own_window_type normal

# Use pseudo transparency with own_window?
own_window_transparent yes
own_window_colour hotpink
double_buffer yes

# Minimum size of text area
minimum_size 280 3

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 1

# border margins
border_margin 0

# border width
border_width 0

# Default colors and also border colors
default_color white
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
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 0

no_buffers yes

uppercase no

cpu_avg_samples 2

net_avg_samples 2

override_utf8_locale no

use_spacer no

# 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

# stuff after 'TEXT' will be formatted on screen

TEXT
${color light grey}Machine: $sysname
${color light grey}Date: ${time %a, } ${color }${time %B %e %G} - ${color }${time %H:%M:%S}
${color light grey}Uptime: ${color }$uptime
${color light grey}Kernel: ${color }$kernel
${color light grey}CPU0 Usage:$color ${cpu cpu0}% ${color #000000}${cpubar cpu0}
${color light grey}CPU1 Usage:$color ${cpu cpu1}% ${color #000000}${cpubar cpu1}
${color light grey}Load: ${color }$loadavg
${color light grey}Processes: ${color }$processes  ${color light grey}Running: ${color }$running_processes
${color light grey}Memory Usage: $mem
${color #000000}${membar}

${color grey}File System:
${color grey} / $color${fs_used /}/${fs_size /}
${color grey} /home $color${fs_used /home}/${fs_size /home}
${color grey} /storage $color${fs_used /mnt/external}/${fs_size /mnt/external}

${color light grey}Portage:
${color light grey} Last Sync $color ${execi 300 /home/deface/.conky/lastsync.pl}
${color light grey} Current Progress ${color #000000}${execibar 30 /home/deface/.conky/emerge-progress.sh}
${color light grey} Current Package $color ${execi 30 /home/deface/.conky/emerge-current.sh}
${color light grey} Current Status $color ${execi 30 /home/deface/.conky/emerge-status.sh}

${color light grey}GLSA:$color
${execi 3000 /home/deface/.conky/conky-rdf.sh}

${color light grey}Audacious:
$audacious_title
${color light grey}$audacious_bar
${color light grey}${alignc}$audacious_status

Top:
${color}Name              PID     CPU%   MEM%
${color #000000} ${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 lightgrey} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${color lightgrey} ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
${color lightgrey} ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
${color lightgrey} ${top name 9} ${top pid 9} ${top cpu 9} ${top mem 9}
${color lightgrey} ${top name 10} ${top pid 10} ${top cpu 10} ${top mem 10}

${color #000000}Port(s)${alignr}#Connections
$color Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color #000000}Connections ${alignr} Local Service/Port$color
 ${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 lport 0}
 ${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 lport 1}
 ${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 lport 2}
 ${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 lport 3}
 ${tcp_portmon 1 65535 rhost 4} ${alignr} ${tcp_portmon 1 65535 lport 4}
 ${tcp_portmon 1 65535 rhost 5} ${alignr} ${tcp_portmon 1 65535 lport 5}
 ${tcp_portmon 1 65535 rhost 6} ${alignr} ${tcp_portmon 1 65535 lport 6}
 ${tcp_portmon 1 65535 rhost 7} ${alignr} ${tcp_portmon 1 65535 lport 7}
 ${tcp_portmon 1 65535 rhost 8} ${alignr} ${tcp_portmon 1 65535 lport 8}
 ${tcp_portmon 1 65535 rhost 9} ${alignr} ${tcp_portmon 1 65535 lport 9}
 ${tcp_portmon 1 65535 rhost 10} ${alignr} ${tcp_portmon 1 65535 lport 10}
 ${tcp_portmon 1 65535 rhost 11} ${alignr} ${tcp_portmon 1 65535 lport 11}
 ${tcp_portmon 1 65535 rhost 12} ${alignr} ${tcp_portmon 1 65535 lport 12}
 ${tcp_portmon 1 65535 rhost 13} ${alignr} ${tcp_portmon 1 65535 lport 13}
 ${tcp_portmon 1 65535 rhost 14} ${alignr} ${tcp_portmon 1 65535 lport 14}
 ${tcp_portmon 1 65535 rhost 15} ${alignr} ${tcp_portmon 1 65535 lport 15}
 ${tcp_portmon 1 65535 rhost 16} ${alignr} ${tcp_portmon 1 65535 lport 16}
 ${tcp_portmon 1 65535 rhost 17} ${alignr} ${tcp_portmon 1 65535 lport 17}
 ${tcp_portmon 1 65535 rhost 18} ${alignr} ${tcp_portmon 1 65535 lport 18}
 ${tcp_portmon 1 65535 rhost 19} ${alignr} ${tcp_portmon 1 65535 lport 19}
 ${tcp_portmon 1 65535 rhost 20} ${alignr} ${tcp_portmon 1 65535 lport 20}

Leave a Comment