conky.conf 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. conky.config = {
  2. alignment = 'top_right',
  3. background = true,
  4. color2 = '#78909C',
  5. cpu_avg_samples = 2,
  6. default_color = '#F9FAF9',
  7. double_buffer = true,
  8. font = 'Bitstream Vera Sans:size=8',
  9. draw_shades = false,
  10. gap_x = 25,
  11. gap_y = 30,
  12. minimum_width = 200,
  13. no_buffers = true,
  14. own_window = true,
  15. own_window_type = 'override',
  16. own_window_transparent = true,
  17. update_interval = 1.0,
  18. use_xft = true,
  19. }
  20. conky.text = [[
  21. ${voffset 8}$color2${font Bitstream Vera Sans:size=16}${time %A}$font\
  22. ${voffset -8}$alignr$color${font Bitstream Vera Sans:size=38}${time %e}$font
  23. $color${voffset -30}$color${font Bitstream Vera Sans:size=18}${time %b}$font\
  24. ${voffset -3} $color${font Bitstream Vera Sans:size=20}${time %Y}$font$color2$hr
  25. #
  26. ${voffset 20}${goto 40}${color}CPU${font Bitstream Vera Sans:bold:size=8}$alignr$cpu%
  27. ${voffset 5}${goto 40}$font$color2${top name 1}$alignr$color${top cpu 1}%
  28. ${goto 40}$color2${top name 2}$alignr$color${top cpu 2}%
  29. ${goto 40}$color2${top name 3}$alignr$color${top cpu 3}%
  30. ${goto 40}$color2${top name 4}$alignr$color${top cpu 4}%
  31. ${goto 40}$color2${top name 5}$alignr$color${top cpu 5}%
  32. #
  33. ${voffset 10}${goto 40}${color}RAM${font Bitstream Vera Sans:bold:size=8}$alignr$mem$font
  34. ${goto 40}${voffset 5}$color2${top_mem name 1}$alignr$color${top_mem mem_res 1}
  35. ${goto 40}$color2${top_mem name 2}$alignr$color${top_mem mem_res 2}
  36. ${goto 40}$color2${top_mem name 3}$alignr$color${top_mem mem_res 3}
  37. ${goto 40}$color2${top_mem name 4}$alignr$color${top_mem mem_res 4}
  38. ${goto 40}$color2${top_mem name 5}$alignr$color${top_mem mem_res 5}
  39. #
  40. ${voffset 10}${goto 40}${color}Swap${font Bitstream Vera Sans:bold:size=8}$alignr${swap}/ ${swapfree}
  41. ${voffset 15}$font$alignr${execi 3600 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'} \
  42. ${execi 3600 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}
  43. ${voffset 10}${color2}${alignr}${execi 1200 whoami}@${nodename}
  44. ${alignr}${color2}${font Bitstream Vera Sans:size=8}uptime: ${color}${uptime_short}
  45. ${voffset 5}${color2}${font Bitstream Vera Sans:size=8}${alignr}kernel: ${color}${kernel}
  46. ${alignr} ${color}HACKER NEWS *${color2}
  47. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 0} (1
  48. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 1} (2
  49. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 2} (3
  50. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 3} (4
  51. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 4} (5
  52. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 5} (6
  53. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 6} (7
  54. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 7} (8
  55. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 8} (9
  56. ${alignr} ${rss https://news.ycombinator.com/rss 30 item_title 9} (10
  57. ]]