"Russian .conkyrc"

  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
# "Russian .conkyrc"
# by iAndrey
# by Xplosive
# by Neonboy
# "Window layout & options", "Colours, sizes, fonts & margins"
# copied from "Russian conky" by Xplosive & Neonboy
# (http://www.gnome-look.org/content/show.php/Russian+Conky?content=101524)
# --- Window Layout & Options --- #
own_window yes
own_window_colour brown
own_window_transparent yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer right
use_xft yes
alignment top_right
gap_x 5
gap_y 25
# --- Colours, Sizes, Fonts & Margins --- #
update_interval 1.0
maximum_width 250
stippled_borders 3
border_margin 9
border_width 10
default_color white
# --- Text --- #
draw_outline no
draw_borders no
#font Sans:size=9:weight=bold
uppercase no
draw_shades yes
override_utf8_locale yes
TEXT
${font Sans:size=9:weight=bold}${color orange}Информация о системе ${hr 2}
${color yellow}Хост:$color ${alignr}$nodename
${color yellow}Ядро:$color ${alignr}$kernel ($machine)
${color yellow}Работает:$color ${alignr}$uptime
${color yellow}Заряд батареи:$color ${battery_percent}% ${color orange}${battery_bar 3 BAT0}
${color orange}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'} ${hr 2}$color
${color yellow}Ядро №1${color}${alignr 54}${cpu cpu0}% ${color yellow}Ядро №2${color}${alignr}${cpu cpu1}%
${cpugraph cpu0 25,120 000000 ff6600 } ${cpugraph cpu1 25,120 000000 ff6600 }
${color yellow}Температура на ЦПУ$color ${alignr 4}${acpitemp}°С$color
${color orange}Процессы: ($running_processes/ $processes)${hr 2}$color
${color yellow}Имя процесса ${alignr}ID ${alignr}ЦПУ$color${font Sans:size=8:weight=bold}
1. ${top name 1} ${alignr}${top pid 1} ${alignr}${top cpu 1}
2. ${top name 2} ${alignr}${top pid 2} ${alignr}${top cpu 2}
3. ${top name 3} ${alignr}${top pid 3} ${alignr}${top cpu 3}
4. ${top name 4} ${alignr}${top pid 4} ${alignr}${top cpu 4}
5. ${top name 5} ${alignr}${top pid 5} ${alignr}${top cpu 5}
${color orange}ОЗУ${hr 2}$color
${color yellow}Имя процесса ${alignr}ID ${alignr}ЦПУ$color${font Sans:size=8:weight=bold}
1. ${top_mem name 1} ${alignr}${top_mem pid 1} ${alignr}${top_mem mem 1}
2. ${top_mem name 2} ${alignr}${top_mem pid 2} ${alignr}${top_mem mem 2}
3. ${top_mem name 3} ${alignr}${top_mem pid 3} ${alignr}${top_mem mem 3}
4. ${top_mem name 4} ${alignr}${top_mem pid 4} ${alignr}${top_mem mem 4}
5. ${top_mem name 5} ${alignr}${top_mem pid 5} ${alignr}${top_mem mem 5}
${color yellow}Доступно: $color$alignr$memmax
${color yellow}Используется: $color$mem (${memperc}%) ${color orange}${membar 3.180}
${color orange}SWAP ${hr 2}$color
${color yellow}Доступно: $color$alignr$swapmax
${color yellow}Используется: $color$swap (${swapperc}%) ${color orange}${swapbar 3.180}
${if_up eth0}${color orange}Проводная сеть (IP: ${addr eth0}) ${hr 2}$color
${color yellow}Скорость передачи данных
${color white}Вход.$color ${downspeed eth0}Кб/с${alignr}${color white}Исходящ.$color${alignr} ${upspeed eth0}Кб/с
${downspeedgraph eth0 25,120 000000 00ff00} ${alignr}${upspeedgraph eth0 25,120 000000 ff0000}
${color yellow}Входящий трафик:$color${alignr}${totaldown eth0}
${color yellow}Исходящий трафик:$color${alignr}${totalup eth0}
${endif}${if_up wlan0}${color orange}Wi-Fi (IP: ${addr wlan0}) ${hr 2}$color
${color yellow}Сеть:$color${alignr}${wireless_essid wlan0}
${color yellow}Скорость подключения:$color${alignr}${wireless_bitrate wlan0}
${color yellow}Уровень сигнала:$color ${wireless_link_qual_perc wlan0}% ${color orange}${wireless_link_bar 3 wlan0}
${color yellow}Входящий трафик:$color${alignr}${totaldown wlan0}
${color yellow}Исходящий трафик:$color${alignr}${totalup wlan0}
${color yellow}Скорость передачи данных
${color white}Вход.$color ${downspeed wlan0}Кб/с${alignr}${color white}Исходящ.$color${alignr} ${upspeed wlan0}Кб/с
${downspeedgraph wlan0 25,120 000000 00ff00} ${alignr}${upspeedgraph wlan0 25,120 000000 ff0000}
${endif}${if_gw}${color orange}Шлюз${hr 2}
${color yellow}Интерфейс:$color${alignr}${gw_iface}
${color yellow}IP:$color${alignr}${gw_ip}
${endif}${color orange}Свободное пространство разделов${hr 2}
${color yellow}/ (root)$color ${fs_free_perc /}%$alignr${fs_free /}/ ${fs_size /}
${color #ff6600}${fs_bar 3 /}${if_mounted /media/backup}
${color yellow}/media/backup$color ${fs_free_perc /media/backup}%$alignr${fs_free /media/backup}/ ${fs_size /media/backup}
${color #ff6600}${fs_bar 3 /media/backup}${endif}${if_mounted /media/cdrom0}
${color yellow}DVD-ROM$color ${fs_free_perc /media/cdrom0}%$alignr${fs_free /media/cdrom0}/ ${fs_size /media/cdrom0}
${color #ff6600}${fs_bar 3 /media/cdrom0}${endif}
${font}