conkyrc configuration Tristam Green 11-21-2007 Revision 123 11-23-2007

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# .conkyrc configuration
# Tristam Green, 11-21-2007
# Revision 1.123 11-23-2007
# Leading text: OpenLogos font, test for CPU slowdown
#
# USB drive text:
# ${if_mounted /media/FLASHDRIVE} ${color white}usb ${fs_free /media/FLASHDRIVE} (${fs_free_perc /media/FLASHDRIVE}%) ${color white}free of ${fs_size /media/FLASHDRIVE}
# ${fs_bar /media/SFLASHDRIVE}${else} usb ${color #ff0000}not mounted${endif}
# maintain spacing between certain elements
use_spacer yes
# set to yes if you want tormo to be forked in the background
background yes
use_xft yes
# Xft font when Xft is enabled
#xftfont unDotum:size=8
#xftfont Andale Mono-9
xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
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 200 5
maximum_width 250
# Draw shades?
draw_shades no
# Draw outlines?
# amplifies text
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 3
# border margins
border_margin 5
# border widt5
border_width 6
# Default colors and also border colors, grey90 == white
default_color white
default_shade_color white
default_outline_color white
# 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 995
#gap_y 575
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# *** RHYTHMBOX FORMAT SETTINGS ***
# ${rhythmbox-client --print-playing}
# Print the title and artist of the playing song
# ${rhythmbox-client --print-playing-format}
# Print formatted details of the song
# *** PARAMETERS ***
# %at Album title
# %aT Album title in lowercase
# %aa Album artist
# %aA Album artist in lowercase
# %ay Release year of album
# %an Album disc number
# %aN Album disc number with leading zero
# %ag Album genre
# %aG Album genre in lowercase
# %tt Track title
# %tT Track title in lowercase
# %ta Track artist
# %tA Track artist in lowercase
# %tn Track number
# %tN Track number with leading zero
# %td Track duration
# %te Elapsed time of track
# Variables can be combined using quotes. For example "%tn %aa %tt", will
# print the track number followed by the artist and the title of the
# track.
# stuff after 'TEXT' will be formatted on screen
#ping google.ru ${execi 60 ping -c 1 google.ru |grep "time=" | sed "s@^.*time@time@"}
# Почта ${hr}
# ${voffset 4}${font Webdings:size=20}ö${font} Mail.ru: ${alignr}${execi 30 conkyEmail # --servertype=POP3 --servername=pop.mail.ru --username=qwerty@mail.ru --password=qwerty --ssl} Новых сообщений
TEXT
${font unDotum:size=12}${color white} ${time %a}, ${time %b %e %Y} ${time %T}${font}
${color white}${font Arail:size=8}СИСТЕМА${font} Ubuntu $sysname $kernel
${color white} uptime $uptime $alignr
Датчик мат. платы показывает t = ${execi 10 sensors | grep 'M/B Temp' | cut -b14-21}
Процессор: ν = ${freq_g} ГГц t = ${execi 10 sensors | grep 'Temp3' | cut -b14-21}
FAN: видеокарта - ${execi 10 sensors | grep 'fan3' | cut -b13-17} об/мин
процессор - ${execi 10 sensors | grep 'fan1' | cut -b13-17} об/мин
${color white}CPU Usage:${color white} ${cpu}% ${color #ff7600} ${cpubar}
${color #ff7600} ${cpugraph #ff7600}
${color white}${font Arial:size=8}ПАМЯТЬ${font}
${color white}RAM $alignr${mem} ${memmax} ${memperc}%
${color white}swap $alignr${swap} ${swapmax} ${swapperc}%
${color white} t = ${execi 10 netcat localhost 7634 | cut -b47-48}°C
${color white}Использование диска ${color #ff7600}${diskiograph 10,60 #ff7600} ${color white} t = ${execi 10 netcat localhost 7634 | cut -b22-23}°C
${color white}Data: ${fs_used /media/Data} / ${fs_size /media/Data}
${color #ff7600}${fs_bar 10, 200/media/Data}${color white}$alignr ${fs_free_perc /media/Data}%
${color white}Диск 3,6 ГБ: ${fs_used /media/disk} / ${fs_size /media/disk}
${color #ff7600}${fs_bar 10, 200/media/disk}${color white}$alignr ${fs_free_perc /media/disk}%
${color white}Root: ${fs_used /} / ${fs_size /}
${color #ff7600}${fs_bar 10, 200/}${color white}$alignr ${fs_free_perc /}%
${color white}USB: ${if_mounted /media/disk-1}${fs_used /media/disk-1} / ${fs_size /media/disk-1}
${color #ff7600}${fs_bar 10,200 /media/disk-1}${color white}$alignr ${fs_free_perc /media/disk-1}% $else ${color white}$alignr отсутствует${color} $endif
${color white}DVD: ${if_mounted /media/cdrom0}${fs_used /media/cdrom0} / ${fs_size /media/cdrom0}
${color #ff7600}${fs_bar 10,200/media/cdrom0}${color white}$alignr ${fs_free_perc /media/cdrom0}% $else ${color white}$alignr отсутствует${color} $endif
${color white}Диск 60 ГБ: ${if_mounted /media/hdb1}${fs_used /media/hdb1} / ${fs_size /media/hdb1}
${color #ff7600}${fs_bar 10,200 /media/hdb1}${color white}$alignr ${fs_free_perc /media/hdb1}% $else ${color white}$alignr отсутствует${color} $endif
${color white}${font Arial:size=8}СЕТЬ ${color white}${addr ppp0} ${addr eth0:avahi}${color white} ${font}${color white}
${color white}download ${color #ff7600}${downspeedf ppp0} ${color white}k/s${alignr}${color white}upload ${color #ff7600}${upspeedf ppp0} ${color white}k/s
${color white}Получено: ${color #ff7600}${totaldown ppp0} $alignr ${color white}Передано: ${color #ff7600}${totalup ppp0}
${color #ff7600}${downspeedgraph ppp0 50,120 900 #ff7600} ${color #ff7600}${upspeedgraph ppp0 50,110 900 #ff7600}
${color #ff7600}${downspeedgraph ppp0 32,120 32 #ff7600} ${color #ff7600}${upspeedgraph ppp0 32,110 32 #ff7600}
${color black}${texeci 15 dcop amarok player nowPlaying }