u0xpsec

thinkpad-blueprint.conkyrc

Dec 5th, 2018
488
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. conky.config = {
  2.  
  3. background = true,
  4. use_xft = true,
  5. font = 'monospace:size=8',
  6. xftalpha = 0.8,
  7. update_interval = 1,
  8. total_run_times = 0,
  9. own_window = true,
  10. own_window_transparent = true,
  11. own_window_type = 'desktop',
  12. own_window_class = 'Conky',
  13. own_window_argb_visual = true,
  14. own_window_colour = '#000000',
  15. own_window_argb_value = 150,
  16. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  17. double_buffer = true,
  18. draw_shades = false,
  19. draw_outline = false,
  20. draw_borders = false,
  21. draw_graph_borders = true,
  22. stippled_borders = 0,
  23. border_width = 0,
  24. default_color = 'grey',
  25. default_shade_color = 'grey',
  26. default_outline_color = 'black',
  27. alignment = 'top_middle',
  28. gap_x = 5,
  29. gap_y = 0,
  30. no_buffers = true,
  31. cpu_avg_samples = 2,
  32. net_avg_samples = 2,
  33. override_utf8_locale = true,
  34. use_spacer = 'right',
  35. maximum_width = 1080,
  36. minimum_height = 800,
  37. uppercase = true,
  38.  
  39.  
  40. };
  41.  
  42. conky.text = [[
  43. #leet chars: ┤┤└└┴┴┐┐││┘┘┌┌├├┬┬┼┼┴┴── ││ ▽▼△▲▵▴▾▿
  44. ${alignc}
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51. ${offset 240}┌───────────-${nodename}${font}-──────────
  52. ${offset 160}┌──────-${uid_name 1000}${font}
  53. ${offset 160}├─- Distro < ${exec cat /etc/issue.net} >
  54. ${offset 160}├─- Kernel < ${kernel} >
  55. ${offset 160}├─- Uptime ${exec /home/u0xpsec/.bin/uptime_conky.sh}
  56. ${offset 160}└─- Updates < ${execi 360 aptitude search "~U" | wc -l | tail} >
  57.  
  58.  
  59. ${alignr}────────────────- < ${exec /home/u0xpsec/.bin/get_gpu.sh gpu} >
  60. ${alignr}< ${exec /home/u0xpsec/.bin/get_gpu.sh res} >
  61.  
  62.  
  63. ${alignc}${offset -180}< ${exec cat /etc/default/locale | grep "LANG=" | cut -d"\"" -f2} > -───────
  64. ${alignc}
  65. ${alignc}
  66. ${alignc}
  67. ${alignc}
  68. ${alignc}
  69. ${alignc}
  70. ${alignc}
  71. ${alignc}
  72. ${alignc}
  73. ${alignc}
  74. ${alignc}${offset -245} < ${exec sensors | grep "fan1" | cut -d" " -f9-} > -─────────────
  75. ${alignc}
  76. ${alignc}
  77. ${alignr}${offset -30} ───────────────────- < $mem/$memmax > < $memperc% > used
  78. ${alignc}${offset -200}temperatures -────────────────
  79. ${alignc}${offset -230}CPU0 < ${execi 5 sensors|grep 'Core 0'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C >
  80. ${alignc}${offset -230}CPU1 < ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C >
  81.  
  82. ${alignr}${offset -530} < ${execi 1000 cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-25} > -────────────
  83. ${offset 200}used/freq
  84. ${alignc}${offset -250} < ${cpu cpu 0}% / ${freq 0}mhz > cpu0
  85. ${alignc}${offset -250} < ${cpu cpu 1}% / ${freq 1}mhz > cpu1
  86. ${alignc}${offset -250} < ${cpu cpu 2}% / ${freq 2}mhz > cpu2
  87. ${alignc}${offset -250} < ${cpu cpu 3}% / ${freq 3}mhz > cpu3
  88. ${alignr}${offset -80}──────────────────- ${exec /home/u0xpsec/.bin/is_connected.sh}
  89. ${alignr}${offset -80}< ${upspeedgraph wlp3s0 12,120 06E9F8 2104FA} >< ${downspeedgraph wlp3s0 12,120 FFFF00 DD3A21} >
  90. ${alignc}
  91. ${alignr}${offset -640}volume: ${exec amixer sget Master | grep 'Right:' | awk -F'[][]' '{ print $2 }'} -────────────
  92. ${alignr}${offset -40}───────────- /home < ${fs_bar 5,120 /home} >
  93. ${alignr}${offset -40} / < ${fs_bar 5,120 /} >
  94. ${alignr}${offset -40} /var < ${fs_bar 5,120 /var} >
  95. ${alignr}
  96. ${alignc}
  97. ${alignr}${offset -80}───────- /backup < ${fs_bar 5,120 /media/u0xpsec/2a598ea5-f473-4fdf-8aa3-17b2f0ce216d} >
  98. ${alignc}
  99. ${alignc}
  100. ${alignc}
  101. ${alignr}${offset -80}${exec /home/u0xpsec/.bin/get_battery.sh}
  102.  
  103. ]];
RAW Paste Data