SHARE
TWEET

thinkpad.conkyrc

u0xpsec Dec 1st, 2018 1,363 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.     minimum_size = 1000,
  36.     maximum_width = 1080,
  37.         minimum_height = 800,
  38.     uppercase = true,
  39.  
  40.  
  41. };
  42.  
  43. conky.text = [[
  44. #leet chars: ┤┤└└┴┴┐┐││┘┘┌┌├├┬┬┼┼┴┴── ││ ▽▼△▲▵▴▾▿
  45. ${alignc}                                                                                                                
  46. ${alignc}                                                                                                          
  47. ${alignc}  
  48. ${alignc}  
  49. ${alignc}  
  50. ${alignc}  
  51. ${alignc}  
  52. ${alignc}${offset -62}${font xftfont monospace:size=8}${nodename}${font}-────────────────────
  53. ${alignc}${offset -210}┌──────-${font xftfont monospace:size=8}${uid_name 1000}${font}-─────┘
  54. ${alignc}${offset -169}├─- distro  < ${exec cat /etc/issue.net} >
  55. ${alignc}${offset -187}├─- kernel  < ${kernel} >
  56. ${alignc}${offset -162}├─- uptime  ${exec /home/u0xpsec/.bin/uptime_conky.sh}
  57. ${alignc}${offset -229}└─- updates < ${execi 360 aptitude search "~U" | wc -l | tail} >
  58. ${alignc}
  59. ${alignc}
  60. ${alignr}────────- < ${exec /home/u0xpsec/.bin/get_gpu.sh gpu} >
  61. ${alignr} < ${exec /home/u0xpsec/.bin/get_gpu.sh res} >
  62. ${alignc}
  63. ${alignc}
  64. ${alignc}${offset -180}< ${exec cat /etc/default/locale | grep "LANG=" | cut -d"\"" -f2} > -───────
  65. ${alignc}
  66. ${alignc}
  67. ${alignc}
  68. ${alignc}
  69. ${alignc}
  70. ${alignc}
  71. ${alignc}
  72. ${alignc}
  73. ${alignc}
  74. ${alignc}
  75. ${alignc}${offset -245}    < ${exec sensors | grep "fan1" | cut -d" " -f9-} > -─────────────
  76. ${alignc}
  77. ${alignc}
  78. ${alignr} ───────────- < $mem/$memmax >  < $memperc% > used    
  79. ${alignc}${offset -200}temperatures -────────────────
  80. ${alignc}${offset -230}CPU0 < ${execi 5 sensors|grep 'Core 0'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C >
  81. ${alignc}${offset -230}CPU1 < ${execi 5 sensors|grep 'Core 1'| awk -F'+' '{print $2}' | awk -F'.' '{print $1}'} °C >
  82. ${alignr}──────────- ${exec /home/u0xpsec/.bin/is_connected.sh}
  83. ${alignc}${offset 21} < ${execi 1000 cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-25} > -────────────                                         < ${upspeedgraph wlp3s0 12,120 06E9F8 2104FA} >
  84. ${alignc}${offset 49}  used/freq                                                                  < ${downspeedgraph wlp3s0 12,120 FFFF00 DD3A21} >
  85. ${alignc}${offset -250} < ${cpu cpu 0}% / ${freq 0}mhz > cpu0
  86. ${alignc}${offset -250} < ${cpu cpu 1}% / ${freq 1}mhz > cpu1
  87. ${alignc}${offset -250} < ${cpu cpu 2}% / ${freq 2}mhz > cpu2
  88. ${alignc}${offset -250} < ${cpu cpu 3}% / ${freq 3}mhz > cpu3
  89. ${alignc}
  90. ${alignc}
  91. ${alignc}
  92. ${alignr}${offset 0}volume: ${exec amixer sget Master | grep 'Right:' | awk -F'[][]' '{ print $2 }'} -────────────                                            ─────- /home < ${fs_bar 5,120 /home} >
  93. ${alignr}${offset 0} /root < ${fs_bar 5,120 /} >
  94. ${alignr}${offset 0} /var < ${fs_bar 5,120 /var} >
  95. ${alignr}
  96. ${alignc}
  97. ${alignr}───────- /backup < ${fs_bar 5,120 /media/u0xpsec/2a598ea5-f473-4fdf-8aa3-17b2f0ce216d} >
  98. ${alignc}
  99. ${alignc}
  100. ${alignc}
  101. ${alignr}${offset 0}${exec /home/u0xpsec/.bin/get_battery.sh}
  102.  
  103. ]];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top