conky の設定サンプル

システムの情報

use_xft yes
xftfont DejaVu Sans Mono:size=10
xftalpha 1

own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_hints below
# own_window_transparent yes
own_window_colour black
own_window_argb_visual yes
own_window_argb_value 60

double_buffer yes
alignment top_left
gap_x 5
gap_y 5
maximum_width 190
update_interval 2.0
total_run_times 0

background yes
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

minimum_size 5 1000
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
stippled_borders 0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${font Ubuntu:size=12}${time %Y-%m-%d}$font
        ${font Ubuntu:size=24}${time %H:%M}$font

$alignc${color green}$nodename $sysname $machine
$alignc$kernel$color

${color green}System $hr$color
${color grey}Uptime:$color $uptime
${color grey}Processes:$color $processes
${color grey}Running:$color $running_processes
${color green}CPU $hr$color
${color grey}Load:$color $loadavg
${color grey}CPU$color: ${cpu cpu0}%
${color grey}1: $color${freq_g 1}Ghz $color${cpu cpu1}% ${goto 130}$color${cpugraph cpu1 14}
${color grey}2: $color${freq_g 2}Ghz $color${cpu cpu2}% ${goto 130}$color${cpugraph cpu2 14}
${color green}Memory $hr$color
${color grey}RAM:  ${membar}
$color $mem/$memmax
${color grey}Swap: ${swapbar}
$color $swap/$swapmax
${color green}File systems $hr$color
${color grey}/:     ${fs_bar 6 /}
 $color${fs_used /}/${fs_size /}
${color grey}/home: ${fs_bar 6 /home}
 $color${fs_used /home}/${fs_size /home}
${color green}Networking $hr$color
${color grey}eth0:$color  ${addr eth0}
 ${color grey}Up:$color    ${upspeed eth0}
 ${color grey}Down:$color  ${downspeed eth0}
 ${color grey}Total:$color ${totalup eth0}

カレンダーとプロセスのリスト

use_xft yes
xftfont DejaVu Sans Mono:size=10
xftalpha 1
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_hints below
#update_interval 1.0
double_buffer yes
alignment top_left
gap_x 205
gap_y 5
maximum_width 600
#poll
update_interval 4.0
total_run_times 0

background yes
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
stippled_borders 0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

text_buffer_size 1024

TEXT

${execpi 600 gcal --type=standard -s Su . | grep -v "^ *$" | colrm 23 26 | colrm 45 48 | sed -e s/"<\(..\)>"/' ${color orange}\1$color '/}



${color grey}Name              PID   CPU%    MEM%  TIME
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top time 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top time 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top time 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${top time 4}
${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} ${top time 5}
${color lightgrey} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6} ${top time 6}
${color lightgrey} ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7} ${top time 7}
${color lightgrey} ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8} ${top time 8}

Tags of current page

,