# .conkyrc by henriqueSousaB
# Baseado nas ideias de CunchBang Linux forums
http://crunchbanglinux.org
# v. 1.0
#OBS: SALVE ESTE ARQUIVO NO SEU DIRETÓRIO HOME, COM UM PONTO ANTES EX: .conkyrc, SERÁ NECESSÁRIO BAIXAR ALGUMAS FONTES PARA MOSTRAR OS ICONES.
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2068
# Update interval in seconds
update_interval 2
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
background no
own_window yes
own_window_transparent yes
own_window_type override
own_window_type desktop
own_window_type normal #use this if you want a nice shadow to appear around conky
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 500 0
maximum_width 300
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color white
#default_shade_color yellow
#default_outline_color grey
own_window_colour 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
# same thing as passing -x at command line
gap_x 15
gap_y 40
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase yes
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 4
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
TEXT
SYSTEM ${hr 1}
${alignc 24}${font Arial Black:size=12}${nodename}${font}
${alignc -8} Notebook STI IS1442
${voffset 2}${font Arial Black:style=Bold:size=12}#!${font} CrunchBang Linux ${alignr}08.10.01
${font OpenLogos:size=20}K${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${color green}${cpubar cpu1 10,110}${color}
${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${color green}${cpubar cpu2 10,110}${color}
${font StyleBats:size=16}A${font} CPU3: ${cpu cpu3}% ${alignr}${color green}${cpubar cpu3 10,110}${color}
${font StyleBats:size=16}A${font} CPU4: ${cpu cpu4}% ${alignr}${color green}${cpubar cpu4 10,110}${color}
${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 10,110}
${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 10,110}
${font Webdings:size=16}~${font} Bateria: ${battery_percent BAT0}% ${alignr}${battery_bar 10,110 BAT0}
#TEMPERATURA CPU E MB
Temp. CPU:${color red}${execi 1 /usr/bin/sensors | grep temp2 | cut -c11-20;}${color}${alignr}Temp. MB :${color red}${execi 1 /usr/bin/sensors | grep temp1 | cut -c11-20;}${color}
${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}
#
DATA ${hr 1}
${alignc 19}${font Arial Black:size=20}${time %H:%M}${font}
${voffset 2}${alignc}${time %A, %d %B %Y}
#
REDE ${hr 1}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0}${alignr}${upspeedgraph wlan0 10,110 black black}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0}${alignr}${downspeedgraph wlan0 10,110 black black}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
#
${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0}${alignr}${upspeedgraph eth0 10,110 black black}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0}${alignr}${downspeedgraph eth0 10,110 black black}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown etho}
${endif}
#
${voffset -10}DISCOS${hr 1}
#Root Diretory
${voffset 4}${font kg fractions:size=14}r${font} ${voffset -5}/:
${voffset 4}${fs_size /}/${fs_used /}${alignr}${fs_bar 10,110 /}
#Home Diretory
${voffset 4}${font kg fractions:size=14}r${font} ${voffset -5}Home:
${voffset 4}${fs_size /home/henrique}/${fs_used /home/henrique}${alignr}${fs_bar 10,110 /home/henrique/}
#Backup Diretory
${voffset 4}${font kg fractions:size=14}r${font} ${voffset -5}Backup:
${voffset 4}${fs_size /media/henrique/backup/}/${fs_used /media/henrique/backup/}${alignr}${fs_bar 10,110 /media/henrique/backup/}
PROCESSOS ${hr 1}
Name ${alignr} PID CPU% MEM%
${top name 1} ${alignr} ${top pid 1} ${top cpu 1} ${top mem 1} ${top time 1}
${top name 2} ${alignr} ${top pid 2} ${top cpu 2} ${top mem 2} ${top time 2}
${top name 3} ${alignr} ${top pid 3} ${top cpu 3} ${top mem 3} ${top time 3}
${top name 4} ${alignr} ${top pid 4} ${top cpu 4} ${top mem 4} ${top time 4}
${top name 5} ${alignr} ${top pid 5} ${top cpu 5} ${top mem 5} ${top time 5}
${hr 1}