Re: Conky
Postano: 18 vel 2010, 16:24
nemam pojma, skriptu sam skinuo odnekud s neta
Kod: Označi sve
marijan@ubuntu:~$ cat .conkyrc
wn_window yes
own_window_type override
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
double_buffer yes
use_spacer left
use_xft yes
update_interval 1
minimum_size 250 5
draw_shades no
draw_outline no # amplifies text if yes
draw_borders no
font freesans
uppercase no # set to yes if you want all text to be in uppercase
stippled_borders 3
border_margin 9
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
#default_shade_color black
#default_outline_color white
#default_color 8f8f8f
#default_shade_color 000000
own_window_colour brown
own_window_transparent yes
# 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 yes
#xftfont Terminus:size=8
use_xft yes
xftfont Avantgarde LT Medium:pixelsize=11
xftalpha 0.8
TEXT
${stippled_hr}
${color orange}SISTEM ${hr 2}$color
Računalo: $nodename
Kernel: $kernel $machine
${color white}Uptime: $color$uptime
Load: $loadavg
${color white}Datum: ${time %A}, ${time %e. %B %G.}
${color white}Vrijeme: ${time %R}
${color orange}CPU (DUAL CORE)${hr 2}$color
${cpubar cpu1}
${cpubar cpu2}
${cpugraph cpu1 000000 ffffff}
${cpugraph cpu2 000000 ffffff}
${color orange}OPTEREĆENJE PROCESORA ${hr 2}$color
${color}Name PID CPU% MEM%
${color red} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color white} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color orange}OPTEREĆENJE MEMORIJE ${hr 2}$color
${color}Name PID CPU% MEM%
${color red} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color white} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color white} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color white} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color orange}MEMORIJA ${hr 2}$color
RAM: $memperc% used ${membar 6}$color
${color orange}DISKOVI ${hr 2}$color
root (${fs_size /}): ${fs_used /}% ${fs_bar 6 /}$color
home (${fs_size /home}): ${fs_used /home}% ${fs_bar 6 /home}$color
storage (${fs_size /storage}): ${fs_used /storage}% ${fs_bar 6 /storage}
${color orange}MREžA (${gw_iface}) ${hr 2}$color
Down: $color${downspeedf eth0} k/s ${alignr}Up: ${upspeedf eth0} k/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
UKUPNO: ${totaldown eth0} ${alignr}UKUPNO: ${totalup eth0}
${stippled_hr}