Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- conky.config = {
- own_window = true,
- own_window_type = 'normal',
- own_window_transparent = true,
- own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
- own_window_argb_visual = true,
- own_window_argb_value = 255,
- double_buffer = true,
- gap_x = 2570,
- gap_y = 10,
- minimum_height = 5,
- minimum_width = 400,
- maximum_width = 400,
- cpu_avg_samples = 2,
- alignment = 'top_left',
- border_width = 1,
- draw_borders = false,
- draw_graph_borders = true,
- draw_outline = true,
- draw_shades = true,
- use_xft = true,
- net_avg_samples = 2,
- no_buffers = true,
- out_to_console = false,
- out_to_stderr = false,
- extra_newline = false,
- stippled_borders = 0,
- update_interval = 2.0,
- uppercase = false,
- use_spacer = 'left',
- show_graph_scale = false,
- show_graph_range = false,
- pad_percents = 3,
- if_up_strictness = 'link',
- font = 'Droid Sans Mono:size=12',
- background = false,
- --- Colors
- default_color = 'pink', --- Don't use
- default_outline_color = 'black',
- default_shade_color = 'red',
- color1 = 'f0501b', -- Orange
- color2 = '4cd200', -- Green
- color3 = 'darkgrey',
- color4 = 'white',
- color5 = "0b1208",
- color6 = "77B753",
- --- Header 1 / Seperator
- ---template0 = '${font Droid Sans Mono:size=14,weight:bold}${color1}',
- template0 = '${font Ubuntu:size=17,weight:bold}${color1}',
- template1 = ' ${hr 3}${template2}',
- --- Header 2
- ---template2 = '${offset 7}${font Droid Sans Mono:size=13:weight:bold}${color2}',
- template2 = '${offset 7}${font Ubuntu:size=15,weight:bold}${color2}',
- --- Name (eg CPU, RAM, File Systems)
- ---template3 = '${offset 15}${font Droid Sans Mono:size=12:weight:bold}${color3}',
- template3 = '${offset 15}${font Ubuntu Mono:size=14,weight:bold}${color3}',
- --- Normal text
- ---template4 = '${font Droid Sans Mono:size=12,weight=normal}${color4}${alignr}',
- template4 = '${font Ubuntu Mono:size=14}${color4}${alignr}',
- --- Graph colors
- template9 = '$color5 $color6'
- }
- conky.text = [[
- ${template0}System Info${template1}
- ${template3}Hostname:${template4}$nodename
- ${template3}Kernel:${template4}$sysname $kernel
- ${template3}Clock:${template4}${time %H:%M.%S %Y/%m/%d}
- ${template3}Uptime:${template4}$uptime
- ${template0}GPU${template1}
- ${template2}Nvidia GTX 780 Ti ${template4}${if_match ${nvidia temp} > 70}${color red}${endif}${nvidia temp}°C
- ${template3}Core:${template4}${nvidia gpufreq}MHz ${template3} Mem:${template4}${nvidia memfreq}MHz
- ${template0}CPU${template1}
- ${template2}Intel Core i7-4790 ${template4}${if_match ${acpitemp} > 75}${color red}${endif}${acpitemp}°C${template3}
- ${template3}Load: ${template4}${if_match ${cpu} > 80 }${color red}${endif}$cpu% @${template4}${freq}MHz
- ${template4}${cpugraph cpu0 40,380 0b1208 77B753}
- ${template3}Cpu1 ${template4}${if_match ${cpu cpu1} > 80 }${color red}${endif}${cpu cpu1}%${cpugraph cpu1 15,90 0b1208 77B753} ${template3}Cpu2 ${template4}${if_match ${cpu cpu2} > 80 }${color red}${endif}${cpu cpu2}%${cpugraph cpu2 15,90 0b1208 77B753}
- ${template3}Cpu3 ${template4}${if_match ${cpu cpu3} > 80 }${color red}${endif}${cpu cpu3}%${cpugraph cpu3 15,90 0b1208 77B753} ${template3}Cpu4 ${template4}${if_match ${cpu cpu4} > 80 }${color red}${endif}${cpu cpu4}%${cpugraph cpu4 15,90 0b1208 77B753}
- ${template3}Cpu5 ${template4}${if_match ${cpu cpu5} > 80 }${color red}${endif}${cpu cpu5}%${cpugraph cpu5 15,90 0b1208 77B753} ${template3}Cpu6 ${template4}${if_match ${cpu cpu6} > 80 }${color red}${endif}${cpu cpu6}%${cpugraph cpu6 15,90 0b1208 77B753}
- ${template3}Cpu7 ${template4}${if_match ${cpu cpu7} > 80 }${color red}${endif}${cpu cpu7}%${cpugraph cpu7 15,90 0b1208 77B753} ${template3}Cpu8 ${template4}${if_match ${cpu cpu8} > 80 }${color red}${endif}${cpu cpu8}%${cpugraph cpu8 15,90 0b1208 77B753}
- ${template2}Top CPU Processes
- ${template3}Running / Total:${template4} $running_processes / $processes
- ${template3}Name PID CPU% MEM%
- ${template4} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
- ${template4} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
- ${template4} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
- ${template4} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
- ${template0}RAM${template1}
- ${template2}Usage
- ${template3}RAM: ${color4} ${if_match ${memperc} > 80 }${color red}${endif}$mem/$memmax - $memperc%${membar 6}
- ${template3}Swap: ${color4} ${if_match ${swapperc} > 80 }${color red}${endif}$swap/$swapmax - $swapperc%${swapbar 6}
- ${template2}Top RAM Processes
- ${template3}Name PID CPU% MEM%
- ${template4} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
- ${template4} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
- ${template4} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
- ${template4} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
- ${template0}File System${template1}
- ${template2}Usage
- ${template3}Root:${template4}${if_match ${fs_used_perc /} > 80 }${color red}${endif}${fs_used /}/${fs_size /} -${fs_used_perc /}% ${fs_bar 6,100 /}
- ${template3}Read: ${template4}${diskio_read /dev/sda}/s${template3}Write:${template4} ${diskio_write}/s
- ${template4}${alignr 10}${diskiograph_read /dev/sda 35,185 0b1208 77B753} ${diskiograph_write /dev/sda 35,185 0b1208 77B753}
- ${template2}Top FS Processes
- ${template3}Name PID R/s W/s
- ${template4} ${top_io name 1} ${top_io pid 1} ${top_io io_read 1} ${top_io io_write 1}
- ${template4} ${top_io name 2} ${top_io pid 2} ${top_io io_read 2} ${top_io io_write 2}
- ${template4} ${top_io name 3} ${top_io pid 3} ${top_io io_read 3} ${top_io io_write 3}
- ${template4} ${top_io name 4} ${top_io pid 4} ${top_io io_read 4} ${top_io io_write 4}
- ${template0}Network${template1}
- ${template3}Default Gateway:${template4}${gw_ip} via ${gw_iface}${if_up enp0s25}
- ${template2}enp0s25
- ${template3}IP Address${template4}${addrs enp0s25}
- ${template3}Download Speed:${template4}${downspeed enp0s25}/s ${template3}Total:${template4} ${totaldown enp0s25}
- ${template4}${downspeedgraph enp0s25 35,380 0b1208 77B753}
- ${template3}Upload Speed:${template4}${upspeed enp0s25}/s ${template3}Total:${template4} ${totalup enp0s25}
- ${template4}${upspeedgraph enp0s25 35,380 0b1208 77B753}${endif}${if_up enp3s0}
- ${template2}enp3s0
- ${template3}IP Address${template4}${addrs enp3s0}
- ${template3}Download Speed:${template4}${downspeed enp3s0}/s ${template3}Total:${template4} ${totaldown enp3s0}
- ${template4}${downspeedgraph enp3s0 35,380 0b1208 77B753}
- ${template3}Upload Speed:${template4}${upspeed enp3s0}/s ${template3}Total:${template4} ${totalup enp3s0}
- ${template4}${upspeedgraph enp3s0 35,380 0b1208 77B753}${endif}${if_up tun0}
- ${template2}tun0
- ${template3}IP Address${template4}${addrs tun0}
- ${template3}Download Speed:${template4}${downspeed tun0}/s ${template3}Total:${template4} ${totaldown tun0}
- ${template4}${downspeedgraph tun0 35,380 0b1208 77B753}
- ${template3}Upload Speed:${template4}${upspeed tun0}/s ${template3}Total:${template4} ${totalup tun0}
- ${template4}${upspeedgraph tun0 35,380 0b1208 77B753}${endif}
- ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement