conky (.conkyrc)

conky + conky-colors + conkyforecast

Categoria: Miscelânea

Software: conky

[ Hits: 9.060 ]

Por: Juliano Alves dos Santos


Este é o meu arquivo de configuração do conky. Tenho usado com conky-colors e conkyforecast. Tem calendário, previsão de tempo e temperatura, atividade e monitores de CPU, HD e memória, monitor de rede e serviços.


use_xft yes
xftfont Liberation Sans:size=8
override_utf8_locale yes

text_buffer_size 2048
update_interval 0.5
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
use_spacer yes

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

background no
xftfont HandelGotD:size=8
xftalpha 2

default_color white
draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders yes
default_shade_color black
default_outline_color black

color0 white
color1 lightgreen
color2 lightyellow
color3 red
color4 yellow
color5 green
color6 orange
color7 orange
color8 brown
color9 black

alignment top_right
gap_x 2
gap_y 30
minimum_size 182 0
maximum_width 182
default_bar_size 60 8
imlib_cache_size 0

TEXT
${voffset -10}${alignc 46}${color0}${font Arial Black:size=25}${time %H:%M}${font Arial Black:size=12}.${time %S}${font}${color}
${color2}${alignc 15}${time %A}   ${time %d/%B/%Y}${color}
${voffset -2}${color4}${font Poky:size=15}d${font}${color}${voffset -8}${font Liberation Mono:size=8}${execpi 10800 DJS=`date +%-d`; cal | sed 's/^/${goto 32} /' | sed '1d' | sed s/" $DJS "/" "'${font Liberation Mono:style=bold:size=8}${color3}'"$DJS"'${color}${font}${font Liberation Mono:size=8}'" "/}${font}
${hr 2}

${voffset -14}${color4}${if_existing /proc/net/route wlan0}${color}
${color4}${execpi 10800 ~/.conkycolors/bin/conkyForecast --location=BRXX0115 -t ~/.conkycolors/templates/conkyForecast.template}${color}
${color4}${else}${if_existing /proc/net/route eth0}${color}
${color4}${execpi 10800 ~/.conkycolors/bin/conkyForecast --location=BRXX0115 -t ~/.conkycolors/templates/conkyForecast.template}${color}
${color4}${endif}${else}${if_existing /proc/net/route ppp0}${color}
${color4}${execpi 10800 ~/.conkycolors/bin/conkyForecast --location=BRXX0115 -t ~/.conkycolors/templates/conkyForecast.template}${color}
${color4}${endif}${else}${voffset 4}${color4}${font Weather:size=12}y${font}${color}${goto 32}Tempo indisponível${endif}${endif}${color}${hr 2}
${alignc 25}${font Liberation Sans:style=Bold:size=8}${color0}${font OpenLogos:size=25}t J S ${font}${color}${goto 32}

${color0}${voffset -9}${font OpenLogos:size=20}u${font}${color}${goto 32}${voffset -14}Kernel:  ${alignr}${color4}${kernel}${color}
${goto 32}Atividade: ${alignr}${color4}${uptime}${color}

${alignc}${execi 99997 cat /proc/cpuinfo | grep "model name" -m1 | cut -c 14-23} X2 Model ${execi 99998 cat /proc/cpuinfo | grep "model name" -m1 | cut -c 29-31}
$alignc Clock: ${freq_g cpu0}Ghz / RPM: ${execi 99999 sensors | grep "CPU FAN" | cut -c 19-22}
${offset -2}${color0}${font Devil Inside:size=18}4${font}${offset -19}${voffset 9}${cpubar cpu0 4,18}${color}${voffset -16}${goto 32}CPU1: ${font Liberation Sans:style=Bold:size=8}${color4}${cpu cpu1}%${font} ${alignr}${font Liberation Sans:style=Bold:size=8}${color4}${execi 30 sensors | grep -E "CPU Temperature" | cut -c 21-22}°C${color}${font}  ${color0}${cpugraph cpu1 8,50 FF4500 FF0000}${color}
${goto 32}CPU2: ${font Liberation Sans:style=Bold:size=8}${color4}${cpu cpu2}%${font} ${alignr}${font Liberation Sans:style=Bold:size=8}${color4}${execi 30 sensors | grep -E "CPU Temperature" | cut -c 21-22}°C${color}${font}  ${color0}${cpugraph cpu2 8,50 FF4500 FF0000}${color}
${voffset -11}${offset -3}${color0}${font Science:size=18}A${font}${color}${goto 32}RAM: ${font Liberation Sans:style=Bold:size=8}${color4}$memperc%${color}${font}
${voffset -3}${color0}${membar 4,18}${color}${goto 32}${voffset 2}F: ${color1}${memeasyfree}${color} U: ${color3}${mem}${color}
${execpi 30 ~/.conkycolors/bin/conkyHD1}
${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Liberation Sans:style=Bold:size=8}${color4}${upspeed wlan0}${color}${font} ${alignr}${color0}${upspeedgraph wlan0 8,60 FF4500 FF0000}${color}
${goto 32}Total: ${color3}${totalup wlan0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Liberation Sans:style=Bold:size=8}${color4}${downspeed wlan0}${color}${font} ${alignr}${color2}${downspeedgraph wlan0 8,60 FF4500 FF0000}${color}
${goto 32}Total: ${color3}${totaldown wlan0}${color}
${voffset -2}${color0}${font pictogramz by marioz:size=20}h${font}${color}${goto 32} ${voffset -2}Sinal: ${font Liberation Sans:style=Bold:size=8}${color4}${wireless_link_qual wlan0}%${color}${font} ${alignr}${color0}${wireless_link_bar 8,60 wlan0}${color}
${voffset 4}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -8}Ip local: ${alignr}${color4}${addr wlan0}${color}
${goto 32}Ip externo: ${alignr}${color6}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}
${else}${if_existing /proc/net/route eth0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed eth0}${color}${font} ${alignr}${color2}${upspeedgraph eth0 8,60 FF4500 FF0000}${color}
${goto 32}Total: ${color2}${totalup eth0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed eth0}${color}${font} ${alignr}${color2}${downspeedgraph eth0 8,60 FF4500 FF0000}${color}
${goto 32}Total: ${color2}${totaldown eth0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Ip local: ${alignr}${color2}${addr eth0}${color}
${goto 32}Ip externo: ${alignr}${color7}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}
${endif}${else}${if_existing /proc/net/route ppp0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 FF4500 FF0000}${color}
${goto 32}Total: ${color2}${totalup ppp0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 FF4500 FF0000}${color}
${goto 32}Total: ${color2}${totaldown ppp0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Ip local: ${alignr}${color4}${addr ppp0}${color}
${endif}${else}${voffset 4}${color7}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Rede indisponível${endif}${endif}${hr 2}
${font Verana:style=Bold:size=8}PID    CPU   MEM  Name${font Verana:size=8}
${color8}${top pid 1} ${top cpu 1}  ${top mem 1}    ${top name 1}${color}
${color3}${top pid 2} ${top cpu 2}  ${top mem 2}    ${top name 2}${color}
${color7}${top pid 3} ${top cpu 3}  ${top mem 3}    ${top name 3}${color}
${color4}${top pid 4} ${top cpu 4}  ${top mem 4}    ${top name 4}${color}
${color0}${top pid 5} ${top cpu 5}  ${top mem 5}    ${top name 5}${color}
${color0}Processos:${color} ${alignc}${color4}$Processes${color}(Executando: ${color3}$running_processes${color})
${hr 2}
${font Verana:style=Bold:size=9}To Do List
${font Verana:size=8}${color4}${execi 30 cat /home/juliano/todo.txt}${color}
${execi 10000 transset"}
  


Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts