SHARE
TWEET

conky config

a guest Sep 22nd, 2019 104 in 2 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. conky.config = {
  2. -- November 16, 2014 copied from 081114 version written for Core 2 Duo @ 2 Ghz
  3. -- and modified for i-7 Quad Core 3630 QM @ 3.4 Ghz with 8 cores @1920x1080 again.
  4. -- Adapt for grey-scale snow-leopard wallpaper.
  5. -- Adapt for USB thumb-drive with Sparky Linux.
  6.  
  7. -- August 12, 2014 from ubuntuforum / cafe /  satshow2
  8. -- http://ubuntuforums.org/showthread.php?t=281865&page=2287&p=13096925#post13096925
  9.  
  10. -- September 10, 2016 Now on Ubuntu 16.04, Kernel 4.7.3 and after many glitches such
  11. -- as suspend/resume, thin fonts in Nautilus, constant Intel Turbo Boost (more heat)
  12. -- and sound going to Built-In audio instead of TV repairs, the heat in thermal zones
  13. -- 0 and 1 which conky uses are wrong after resume so use thermal zone 2 instead.
  14.  
  15. -- February 25, 2017 add Sunrise and Sunset.
  16.  
  17.     override_utf8_locale = true,
  18.     use_xft = true,
  19.     font = 'Sans Seriff:size=10',
  20.     font = 'Sans Seriff:size=10',
  21.     xftalpha = 0.5,
  22.     uppercase = false,
  23.     no_buffers = true,-- Subtract cached and buffered ram from memory usage.
  24.  
  25.     display = ':1',
  26.     text_buffer_size = 2048,
  27.     update_interval = .75,-- change to .001 for 1000 times per second stress test
  28.     total_run_times = 0,
  29.     own_window = true,
  30.     own_window_type = 'desktop',
  31. -- own_window_type normal
  32. -- own_window_type panel
  33. -- own_window_transparent yes
  34.     own_window_argb_visual = true,
  35.     own_window_argb_value = 175,-- semi-transparent
  36.     own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  37.     double_buffer = true,
  38.     minimum_width = 200,
  39.     maximum_width = 400,
  40.  
  41.     draw_shades = true,
  42. -- off-white
  43.     default_color = '#ECEAE4',
  44. -- blue
  45.     color1 = '#1EB5FF',
  46. -- light blue
  47.     color2 = '#30DDFB',
  48. -- dark blue
  49.     color3 = '#0090ff',
  50. -- lime
  51.     color4 = '#98FF76',
  52.     default_shade_color = '#000000',
  53.  
  54.     draw_outline = false,
  55.     draw_borders = false,
  56.     stippled_borders = 0,
  57.     alignment = 'top_left',-- top_left for Screen 1, top_right for Screen 2
  58.  
  59. -- Positionning stuff
  60.     gap_x = 5,
  61.     gap_y = 20,
  62.  
  63. };
  64.  
  65. conky.text = [[
  66. ${image /home/lucifer/.config/conky/Tux_Enhanced_500px_transparent.png -p 90,20 -s 200x200}
  67. ${image /home/lucifer/.config/conky/LINUX_conky_text_stroke_400px.png -p -5,90 -s 400x400}
  68. ${color}Today is:${color green}$alignr${time %A,}$alignr ${time %e %B %G}$alignr ${time %H:%M}
  69. ${color}Distribution:${color green}${alignr}${exec cat /etc/os-release | grep PRETTY_NAME | tr -d '"' | sed 's/^PRETTY_NAME=//'}
  70. ${color}Kernel:$alignr${color green} $kernel
  71. ${color orange}${voffset 2}${hr 1}
  72. ${color2}${voffset 5}Intel Celeron G4920: ${color1}@  ${color green}${freq} MHz  
  73. ${voffset 6}${color #3e2c80}${cpubar cpu1 16}${goto 6}${color}CPU 1 ${goto 178}${color}${cpu cpu1}%
  74. ${voffset 6}${color #3e2c80}${cpubar cpu2 16}${goto 6}${color}CPU 2 ${goto 178}${color}${cpu cpu2}%
  75. ${voffset 6}${color1}All CPU ${color green}${cpu}% ${goto 131}${color1}: ${color green}${hwmon 2 temp 1}-${hwmon 2 temp 2}-${hwmon 2 temp 3}°C ${goto 250}${color1}Up: ${color green}$uptime
  76.  
  77. ${color1}OpenGL:
  78. ${color green}${exec glxinfo | grep 'OpenGL renderer string' | sed 's/^OpenGL renderer string: //'}
  79.  
  80.  
  81.  
  82.  
  83.  
  84. ${color green}$running_processes ${color1}running of ${color green}$processes ${color1}loaded processes.
  85. Load Avg. 1-5-15 minutes: ${alignr}${color green}${execpi .001 (awk '{printf "%s/", $1}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $2}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $3}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4}
  86. ${color orange}${voffset 2}${hr 1}
  87. ${color1}${voffset 5}Process Name: ${goto 215}PID ${goto 265}CPU% ${goto 337}Mem%
  88. ${color}${goto 13}${top name 1} ${goto 210}${top pid 1} ${goto 275}${color green}${top cpu 1} ${goto 350}${top mem 1}
  89. ${color}${goto 13}${top name 2} ${goto 210}${top pid 2} ${goto 275}${color green}${top cpu 2} ${goto 350}${top mem 2}
  90. ${color}${goto 13}${top name 3} ${goto 210}${top pid 3} ${goto 275}${color green}${top cpu 3} ${goto 350}${top mem 3}
  91. ${color}${goto 13}${top name 4} ${goto 210}${top pid 4} ${goto 275}${color green}${top cpu 4} ${goto 350}${top mem 4}
  92. ${color}${goto 13}${top name 5} ${goto 210}${top pid 5} ${goto 275}${color green}${top cpu 5} ${goto 350}${top mem 5}
  93. ${color}${goto 13}${top name 6} ${goto 210}${top pid 6} ${goto 275}${color green}${top cpu 6} ${goto 350}${top mem 6}
  94. ${color}${goto 13}${top name 7} ${goto 210}${top pid 7} ${goto 275}${color green}${top cpu 7} ${goto 350}${top mem 7}
  95. ${color}${goto 13}${top name 8} ${goto 210}${top pid 8} ${goto 275}${color green}${top cpu 8} ${goto 350}${top mem 8}
  96. ${color}${goto 13}${top name 9} ${goto 210}${top pid 9} ${goto 275}${color green}${top cpu 9} ${goto 350}${top mem 9}
  97. ${color orange}${voffset 2}${hr 1}
  98. ${voffset 6}${color #2e4680}${membar 16}${goto 6}${color}Memory:${goto 148}${color}$mem / $memmax${alignr}${color}${memperc /}%
  99. ${voffset 6}${color #2e4680}${swapbar 16}${goto 6}${color}Swap:${goto 148}${color}${swap} / ${swapmax}${alignr}${color}${swapperc}%
  100. ${voffset 6}${color #2e4680}${fs_bar 16 /}${goto 6}${color}Linux:${goto 148}${color}${fs_used /} / ${fs_size /} ${alignr}${color}${fs_used_perc /}%
  101. ${voffset 6}${color #2e4680}${fs_bar 16 /home}${goto 6}${color}Home:${goto 148}${color}${fs_used /home} / ${fs_size /home} ${alignr}${color}${fs_used_perc /home}%
  102. ${voffset 6}${if_mounted /home/lucifer/SSD}${color #2e4680}${fs_bar 16 /home/lucifer/SSD}${goto 6}${color}SSD:${goto 148}${color}${fs_used /home/lucifer/SSD} / ${fs_size /home/lucifer/SSD} ${alignr}${color}${fs_used_perc /home/lucifer/SSD}%${endif}
  103. ${color orange}${voffset 2}${hr 1}
  104. ${color}${exec dmesg --human | tail -n 7}
  105. ${color orange}${voffset 2}${hr 1}
  106. ${color1}Network using vnStat "-i", "-w" and "-m"
  107. ${color}${goto 5}Today ${goto 100}Yesterday ${goto 225}Week ${goto 325}Month ${color green}
  108. ${execi 10 vnstat -i eno2 | grep "today" | awk '{print $8" "substr ($9, 1, 1)}'} ${goto 110}${execi 10 vnstat -i eno2 | grep "yesterday" | awk '{print $8" "substr ($9, 1, 1)}'} ${goto 220}${execi 10 vnstat -i eno2 -w | grep "current week" | awk '{print $9" "substr ($10, 1, 1)}'} ${goto 315}${execi 10 vnstat -i eno2 -m | grep "`date +"%b '%y"`" | awk '{print $9" "substr ($10, 1, 1)}'}
  109. ${color1}Network real-time monitoring
  110. ${color}Down: ${color green}${downspeed eno2}/s ${color}${goto 220}Up: ${color green}${upspeed eno2}/s
  111. ${downspeedgraph eno2 25,190 000000 ff0000} ${alignr}${upspeedgraph eno2
  112. 25,190 000000 00ff00}$color
  113. Total: ${color green}${totaldown eno2} $color${alignr}Total: ${color green}${totalup eno2}
  114. ${color orange}${voffset 2}${hr 1}
  115. ${color}eno2:${color green}$alignr${exec ifconfig eno2 | grep 'inet ' | sed 's/ *inet \([^ ]*\).*/\1/'}
  116.  
  117. ${color orange}${voffset 2}${hr 1}
  118. ]]
  119.  
  120. -- The lines below have been removed, and therefore they're commented out.
  121.  
  122. -- ${color}Distribution:${color green}$alignr${exec cat /etc/os-release | grep PRETTY_NAME | tr -d '"' | sed 's/^PRETTY_NAME=//'}$alignr $machine
  123.  
  124. -- ${color green}${exec ifconfig eno2 | grep 'inet6 ' | sed 's/ *inet6 \([^ ]*\).*/\1/'}
  125.  
  126. -- ${color}${goto 13}CPU 1 ${goto 81}${color green}${cpu cpu1}% ${goto 131}${color3}${cpubar cpu1 12}
  127. -- ${color}${goto 13}CPU 2 ${goto 81}${color green}${cpu cpu2}% ${goto 131}${color3}${cpubar cpu2 12}
  128.  
  129. -- ${color}Memory:${goto 148}${color green}$mem / $memmax $alignr${color green}${memperc /}%
  130. -- ${color}Linux:${goto 148}${color green}${fs_used /} / ${fs_size /} $alignr${color green}${fs_used_perc /}%
  131. -- ${color}SSD:${goto 148}${if_mounted /home/lucifer/SSD}${color green} ${fs_used /home/lucifer/SSD} / ${fs_size /home/lucifer/SSD} $alignr${color green}${fs_used_perc /home/lucifer/SSD}%${else}${color yellow}/home/lucifer/SSD${endif}
  132. -- ${color}Cache RAM:${goto 148}${color green}${cached} ${color} Buffers: ${color green} ${buffers}
  133. -- ${color}Swap:${goto 148}${color green}${swap} / ${swapmax} $alignr${color green}${swapperc}%
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