Advertisement
Tsakul

conky2

Aug 21st, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 KB | None | 0 0
  1. conky.config = {
  2. use_xft = true,
  3. xftalpha = 0.8,
  4. update_interval = 1.0,
  5. total_run_times = 0,
  6. own_window = true,
  7. own_window_transparent = true,
  8. own_window_argb_visual = true,
  9. own_window_type = 'normal',
  10. own_window_class = 'conky-semi',
  11. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  12. background = false,
  13. double_buffer = true,
  14. imlib_cache_size = 0,
  15. no_buffers = true,
  16. uppercase = false,
  17. cpu_avg_samples = 2,
  18. override_utf8_locale = true,
  19.  
  20. -- placement
  21. alignment = 'top_right',
  22. gap_x = 14,
  23. gap_y = 14,
  24.  
  25. -- default drawing
  26. draw_shades = false,
  27. draw_outline = false,
  28. draw_borders = true,
  29. draw_graph_borders = true,
  30. default_bar_width = 120, default_bar_height = 10,
  31. default_graph_width = 120, default_graph_height = 20,
  32. default_gauge_width = 20, default_gauge_height = 20,
  33.  
  34. -- colors
  35. font = 'Liberation Mono:size=9',
  36. default_color = 'EEEEEE',
  37. color1 = 'AABBFF',
  38. color2 = 'FF993D',
  39. color3 = 'AAAAAA',
  40.  
  41. -- layouting
  42. template0 = [[${font Liberation Mono:bold:size=11}${color2}\1 ${color3}${hr 2}${font}]],
  43. template1 = [[${color1}\1]],
  44. template2 = [[${goto 100}${color}]],
  45. template3 = [[${goto 180}${color}${alignr}]],
  46. };
  47.  
  48. conky.text = [[
  49. ${template0 Info}
  50. ${template1 Date} ${template3}${color3}${time %a,}${color}${time %e %B %G}
  51. ${template1 Time} ${template3}${time %T}
  52.  
  53. ${template0 System}
  54. ${template1 Hostname} ${template3}${nodename}
  55. ${template1 ${sysname}} ${template3}${kernel}-${machine}
  56. ${template1 Uptime} ${template3}${uptime_short}
  57. ${template1 CPU} ${template3}${freq_g}GHz
  58. ${template1 CPU\ Temperature} ${template3}${acpitemp}°C
  59. ${template0 Processors}
  60. ${template1 Load} ${template2}${loadavg 1} ${template3}${loadgraph}
  61. ${template1 Core\ 1} ${template2}${cpu cpu1}% ${template3}${cpubar cpu1}
  62. ${template1 Core\ 2} ${template2}${cpu cpu2}% ${template3}${cpubar cpu2}
  63.  
  64. ${template1 Top} ${template2}${top name 1} ${template3}${top cpu 1}
  65.  
  66. ${template0 Memory}
  67. ${template1 Memory} ${template2}${memperc}% used ${template3}${mem} / ${memmax}
  68. ${template3}${membar}
  69. ${template1 Top} ${template2}${top_mem name 1} ${template3}${top_mem mem_vsize 1}
  70.  
  71. ${template0 Filesystem}
  72. ${template1 /} ${template2}${fs_free /} free ${template3}${fs_used /} / ${fs_size /}
  73. ${template3}${fs_bar /}
  74. ${template1 IO\ Read} ${template2}${diskio_read} ${template3}${diskiograph_read}
  75. ${template1 IO\ Write} ${template2}$diskio_write ${template3}$diskiograph_write
  76. ${template1 Top} ${template2}${top_io name 1} ${template3}${top_io io_perc 1}%
  77.  
  78. ${template0 Networking}
  79. ${if_existing /proc/net/route wlan0}\
  80. ${template1 IP} ${template3}${addr wlan0}
  81. ${template1 AP} ${template3}${wireless_essid wlan0}
  82. ${template1 Signal} ${template2}${wireless_link_qual_perc wlan0} ${template3}${wireless_link_bar wlan0}
  83. ${template1 Download} ${template2}${downspeed wlan0} ${template3}${downspeedgraph wlan0}
  84. ${template1 Upload} ${template2}${upspeed wlan0} ${template3}${upspeedgraph wlan0}
  85. ${template1 Total Down/Up} ${template3}${totaldown wlan0}↓ / {totalup wlan0}↑
  86. ${else}${if_existing /proc/net/route eth0}\
  87. ${template1 Ip} ${template3}${addr eth0}
  88. ${template1 Download} ${template2}${downspeed eth0} ${template3}${downspeedgraph eth0}
  89. ${template1 Upload} ${template2}${upspeed eth0} ${template3}${upspeedgraph eth0}
  90. ${template1 Total Down/Up} ${template3}${totaldown eth0}↓ / ${totalup eth0}↑
  91. ${endif}${endif}\
  92.  
  93.  
  94. ]];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement