GonKyrellM 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. conky.config = {
  2. -- GonKyrellM
  3. --
  4. -- Conky, GKrellM style - with "invisible" theme (well, sort of)
  5. --
  6. -- based on http://sen7.deviantart.com/art/Conky-Mira-100078939
  7. -- and https://www.gnome-look.org/content/show.php/Conky+Box?content=81894
  8. -- Use Xft?
  9. use_xft = true,
  10. font = 'cure:size=8',
  11. background = true,
  12. double_buffer = true,
  13. -- Update interval in seconds
  14. update_interval = 0.5,
  15. -- This is the number of times Conky will update before quitting.
  16. -- Set to zero to run forever.
  17. total_run_times = 0,
  18. -- Create own window instead of using desktop (required in nautilus)
  19. own_window = true,
  20. own_window_transparent = true,
  21. own_window_type = 'override',
  22. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  23. own_window_argb_visual = false,
  24. draw_graph_borders = false,
  25. --default_bar_size 99 2
  26. -- Use double buffering (reduces flicker, may not work for everyone)
  27. double_buffer = true,
  28. -- Minimum size of text area
  29. --minimum_size 280 5
  30. maximum_width = 97,
  31. -- Draw shades?
  32. draw_shades = true,
  33. -- Draw outlines?
  34. draw_outline = false,
  35. -- Draw borders around text
  36. draw_borders = false,
  37. -- Stippled borders?
  38. stippled_borders = 0,
  39. -- border margins
  40. -- border_margin 5
  41. -- border width
  42. border_width = 0,
  43. -- Default colors and also border colors
  44. --default_color 303030
  45. --default_color ffffff
  46. --default_shade_color white
  47. --default_outline_color black
  48. --own_window_colour 292C36
  49. -- Text alignment, other possible values are commented
  50. alignment = 'top_left',
  51. --alignment top_right
  52. --alignment bottom_left
  53. --alignment bottom_right
  54. -- Subtract file system buffers from used memory?
  55. no_buffers = true,
  56. -- set to yes if you want all text to be in uppercase
  57. uppercase = false,
  58. -- number of cpu samples to average
  59. -- set to 1 to disable averaging
  60. cpu_avg_samples = 2,
  61. -- number of net samples to average
  62. -- set to 1 to disable averaging
  63. net_avg_samples = 2,
  64. -- Force UTF8? note that UTF8 support required XFT
  65. override_utf8_locale = true,
  66. -- Add spaces to keep things from moving about? This only affects certain objects.
  67. --use_spacer left
  68. -- Useful shortenings #
  69. short_units = true,
  70. format_human_readable = true,
  71. pad_percents = 0,
  72. top_name_width = 12,
  73. -- Color scheme
  74. color1 = '#668ABF',
  75. color2 = '#FFFFFF',
  76. -- Gap between borders of screen and text
  77. -- same thing as passing -x at command line
  78. gap_x = 0,
  79. gap_y = 0,
  80. temperature_unit = 'celsius',
  81. };
  82. conky.text = [[
  83. # cpu
  84. ${color2}${alignc}${font DotMatrix:size=10}${time %a} ${font DotMatrix:size=11}${time %d} ${font DotMatrix:size=10}${time %b}
  85. ${color2}${alignc}${font DotMatrix:size=12}${time %H:%M} ${font DotMatrix:size=10}${time %S}${font}
  86. ${voffset 5}${color2}${cpu cpu0}%
  87. ${color1}${cpugraph cpu0 20,97 00ff00 ff0000 -t}
  88. ${color1}${cpubar cpu0 5,}
  89. ${color2}${alignc}CPU0 ${color0}
  90. ${color2}${cpu cpu1}%
  91. ${color1}${cpugraph cpu1 20,97 00ff00 ff0000 -t}
  92. ${color1}${cpubar cpu1 5,}
  93. ${color2}${alignc}CPU1 ${color0}
  94. ${color2}${cpu cpu2}%
  95. ${color1}${cpugraph cpu2 20,97 00ff00 ff0000 -t}
  96. ${color1}${cpubar cpu2 5,}
  97. ${color2}${alignc}CPU2 ${color0}
  98. ${color2}${cpu cpu3}%
  99. ${color1}${cpugraph cpu3 20,97 00ff00 ff0000 -t}
  100. ${color1}${cpubar cpu3 5,}
  101. ${color2}${alignc}CPU3 ${color0}
  102. # sensors, load, procs
  103. ${color2}Load ${alignr}${loadavg 1}
  104. ${color2}Procs ${alignr}$processes
  105. ${color2}CPU ${alignr}${acpitemp}°C
  106. ${color2}Fan ${alignr}${ibm_fan}
  107. #
  108. ${color2}Disk IO ${alignr}$diskio
  109. ${color1}${diskiograph 40,99 ff0000 00ff00 -l}
  110. #
  111. # Network data
  112. ${color2}Net ${alignr}${color 00ff00}${downspeed enp0s25} ${alignr}${color ff0000}${upspeed enp0s25}
  113. ${downspeedgraph enp0s25 40,50 00ff00 00ff00 100 -l -t} ${alignr}${upspeedgraph enp0s25 40,50 ff0000 ff0000 100 -l -t}
  114. # Memory
  115. ${color2}Mem ${color0}${alignr}${memfree}
  116. ${color1}${membar 5,}
  117. ${color2}Swap ${color0}${alignr}${swapfree}
  118. ${color1}${swapbar 5,}
  119. # Filesystems
  120. ${color2}/ ${alignr}${fs_free /}
  121. ${color1}${fs_bar 5,100 /}
  122. ${color2}/tmp ${alignr}${fs_free /tmp}
  123. ${color1}${fs_bar 5,100 /tmp}
  124. ${color2}/home ${alignr}${fs_free /home}
  125. ${color1}${fs_bar 5,100 /home}
  126. ${color2}/nfs ${alignr}${fs_free /nfs/tmp}
  127. ${color1}${fs_bar 5,100 /nfs/tmp}
  128. ${if_mounted /mnt/usb}${color2}/mnt/usb ${alignr}${fs_free /mnt/usb}
  129. ${color1}${fs_bar 5,100 /mnt/usb}
  130. ${endif}
  131. #
  132. ${color2}Batt ${alignr}${battery_short}
  133. ${color1}${battery_bar 5,100}
  134. ]];