Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. conky.config = {
  2. --load own lua scripts
  3. lua_load = '~/.config/conky/scripts/conky_lua_scripts.lua',
  4.  
  5.  
  6. background = true,
  7. use_xft = true,
  8. font = 'Sans:size=10',
  9. xftalpha = 1,
  10. update_interval = 1,
  11. total_run_times = 0,
  12. own_window = true,
  13. own_window_transparent = false,
  14. own_window_type = 'panel',
  15. own_window_hints = 'undecorated,above,sticky,skip_taskbar,skip_pager',
  16. own_window_argb_visual = true,
  17. own_window_argb_value = 255,
  18. own_window_colour = '31363b',
  19. double_buffer = true,
  20. draw_shades = false,
  21. draw_outline = false,
  22. draw_borders = true,
  23. draw_graph_borders = true,
  24. default_color = 'black',
  25. --xinerama_head = 1,
  26. minimum_width = 2047, minimum_height = 30,
  27. border_outer_margin = 0,
  28. border_inner_margin = 0,
  29. default_shade_color = 'black',
  30. default_outline_color = 'white',
  31. alignment = 'bottom_left',
  32. max_text_width = 2000,
  33. gap_x = 1920,
  34. gap_y = 0,
  35. no_buffers = true,
  36. uppercase = false,
  37. cpu_avg_samples = 2,
  38. override_utf8_locale = true,
  39. pad_percents = 2,
  40. short_units = true, --Shortens units to a single character (kiB->k, GiB->G, etc.)
  41.  
  42. };
  43.  
  44. conky.text = [[
  45. ${voffset 5}
  46. ${font sans-serif:bold:size=12}${color eee}CPU0${font sans-serif:normal:size=12}: ${lua_parse format %02.0f ${cpu cpu0}}% ${cpugraph cpu0 18,50} ${font sans-serif:bold:size=12}${color eee}CPU1${font sans-serif:normal:size=12}: ${lua_parse format %02.0f ${cpu cpu1}}% ${cpugraph cpu1 18,50} ${font sans-serif:bold:size=12}${color eee}CPU2${font sans-serif:normal:size=12}: ${lua_parse format %02.0f ${cpu cpu2}}% ${cpugraph cpu2 18,50} ${font sans-serif:bold:size=12}${color eee}CPU3${font sans-serif:normal:size=12}: ${lua_parse format %02.0f ${cpu cpu3}}% ${cpugraph cpu3 18,50} ${font sans-serif:bold:size=12}${color eee}Temp${font sans-serif:normal:size=12}: ${execi 11 sensors | grep 'Core 0' | cut -c18-24 | sed '/^$/d'} || ${font sans-serif:bold:size=12}${color eee}RAM: ${font sans-serif:normal:size=12} $mem / $memmax $memperc% ${memgraph 18,100} ${font sans-serif:bold:size=12}${color eee} IP${font sans-serif:normal:size=12}: ${exec curl -s www.icanhazip.com}${font sans-serif:bold:size=12}${color eee} Down${font sans-serif:normal:size=12}: ${downspeed enp0s25}B/s | ${totaldown enp0s25} ${font sans-serif:bold:size=12}${color eee}Up${font sans-serif:normal:size=12}: ${upspeed enp0s25}B/s |Total: ${totalup enp0s25} ${font sans-serif:bold:size=12}Ping${font sans-serif:normal:size=12}: ${execi 1 ping www.google.com -c 1 | grep time= | rev | cut -c -6 | rev}
  47. ]];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement