Advertisement
triode13

Lance's conky

Jul 19th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.00 KB | None | 0 0
  1. background no
  2. use_xft yes
  3. xftfont 123:size=8
  4. xftalpha 0.5
  5. update_interval 1
  6. total_run_times 0
  7. own_window yes
  8. own_window_type normal
  9. own_window_transparent yes
  10. own_window_argb_visual yes
  11. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  12. double_buffer yes
  13. #default_bar_size 0 6
  14.  
  15. minimum_width 266
  16. minimum_size 266
  17. maximum_width 266
  18. draw_shades no
  19. draw_outline no
  20. draw_borders no
  21. draw_graph_borders no
  22. default_color white
  23. default_shade_color red
  24. default_outline_color green
  25. alignment top_right
  26. gap_x 40
  27. #gap_y 230
  28. gap_y 80
  29. no_buffers yes
  30. uppercase no
  31. cpu_avg_samples 2
  32. net_avg_samples 2
  33. override_utf8_locale yes
  34. use_spacer no
  35.  
  36. TEXT
  37.  
  38. #${alignc -10}${font Open Sans:size=20}${color dodgerblue3}Arch${color}Linux$font$color
  39. #${voffset 4}$color${font}${font Open Sans:size=15}$alignr${voffset -15}${time %H:%M}$font
  40. #${voffset -4}${color dodgerblue3}${font Open Sans:Bold:size=10}DATE ${hr 5}$color$font
  41. #$color${font Open Sans:size=12}$alignc${time %A}, ${time %d %B %Y}$font$color
  42.  
  43. ${image ~/.config/conky/budgie-grayscale.png -p 5,13 -s 50x50 -f 5} ${color1}${font AvantGarde:size=18}${color1}ubuntu budgie
  44. # SYS
  45. #${voffset -8}${font AvantGarde:Bold:size=12}${color orange}system $color
  46. ${font Open Sans:size=8.5}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}
  47. $sysname $kernel $alignr $machine
  48. Uptime: $alignr $uptime
  49. #Last System Update:$alignr${execi 60 sh ~/bin/pacman-date.sh}
  50. # GPU Temperature $alignr ${execi 30 sensors | grep 'temp1:' | cut -c16-17}°C
  51.  
  52. # MEMORY
  53. ${voffset -8}${font AvantGarde:Bold:size=12}${color orange}memory ${color dodgerblue3}${membar 4}
  54. $color${font Open Sans:bold:size=8.5}Used:$font $mem of $memmax$alignr$memperc%
  55. $color${font Open Sans:bold:size=8.5}Free:$font $memeasyfree
  56. $color${font Open Sans:bold:size=8.5}Buffers / Cached:$font$alignr$buffers / $cached
  57.  
  58. ${voffset -10} ${font Open Sans:Bold:size=10}${color dodgerblue3}${voffset -2}RAM${color}${font}${voffset -1} ${font Open Sans:Bold:size=10}${color dodgerblue3}${voffset -2}CPU${color}${font}${voffset -1}
  59. ${top_mem name 1}${alignr}${top_mem cpu 1} %
  60. ${voffset -13}${alignr}${offset -60}${top_mem mem 1} %
  61. ${top_mem name 2}${alignr}${top_mem cpu 2} %
  62. ${voffset -13}${alignr}${offset -60}${top_mem mem 2} %
  63. ${top_mem name 3}${alignr}${top_mem cpu 3} %
  64. ${voffset -13}${alignr}${offset -60}${top_mem mem 3} %
  65. ${top_mem name 4}${alignr}${top_mem cpu 4} %
  66. ${voffset -13}${alignr}${offset -60}${top_mem mem 4} %
  67. ${top_mem name 5}${alignr}${top_mem cpu 5} %
  68. ${voffset -13}${alignr}${offset -60}${top_mem mem 5} %
  69.  
  70. ${voffset -8}${font AvantGarde:Bold:size=12}${color orange}swap ${color dodgerblue3}${swapbar 4}
  71. $color${font Open Sans:bold:size=8.5}Used:$font $swap of $swapmax$alignr$swapperc%
  72. $color${font Open Sans:bold:size=8.5}Free:$font $swapfree
  73.  
  74. # CPU
  75. ${voffset -8}${font AvantGarde:Bold:size=12}${color orange}cpu ${color dodgerblue3}${cpubar 4}
  76. $color${font}Intel® Core™ i5-3210M @ ${freq_g cpu0}GHz $alignr $cpu%
  77. #@ ${execi 2 sensors | grep 'Physical id 0' | cut -c18-19}°C
  78. ${font}Temp ${execi 2 sensors | grep 'Core 0' | awk {'print $3'}} ${alignc 60}${color dodgerblue3}${cpubar cpu1}${color}
  79. #${font}Core 1 - ${execi 2 sensors | grep 'Core 1' | cut -c18-19}°C ${alignc 60}${color #dodgerblue3}${cpubar cpu2}${color}
  80. #${font}Core 2 - ${execi 2 sensors | grep 'Core 2' | cut -c18-19}°C ${alignc 60}${color #dodgerblue3}${cpubar cpu3}${color}
  81. #${font}Core 3 - ${execi 2 sensors | grep 'Core 3' | cut -c18-19}°C ${alignc 60}${color #dodgerblue3}${cpubar cpu4}${color}
  82.  
  83. ${voffset -10} ${font Open Sans:Bold:size=10}${color dodgerblue3}${voffset -2} RAM${color}${font}${voffset -1} ${font Open Sans:Bold:size=10}${color dodgerblue3}${voffset -2}CPU${color}${font}${voffset -1}
  84. #${hr 1}
  85. ${top name 1}${alignr}${top cpu 1} %
  86. ${voffset -13}${alignr}${offset -60}${top mem 1} %
  87. ${top name 2}${alignr}${top cpu 2} %
  88. ${voffset -13}${alignr}${offset -60}${top mem 2} %
  89. ${top name 3}${alignr}${top cpu 3} %
  90. ${voffset -13}${alignr}${offset -60}${top mem 3} %
  91. ${top name 4}${alignr}${top cpu 4} %
  92. ${voffset -13}${alignr}${offset -60}${top mem 4} %
  93. ${top name 5}${alignr}${top cpu 5} %
  94. ${voffset -13}${alignr}${offset -60}${top mem 5} %
  95.  
  96. # NETWORK
  97. ${voffset -8}${font AvantGarde:Bold:size=12}${color orange}network
  98. $color${font Open Sans:bold:size=8.5}External IP ${font}${alignr}${execi 60 curl http://ip.tupeux.com --connect-timeout 2 | grep -o "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*"}$font
  99. ${voffset -14}$alignc${execpi 4 echo "\${font}\${color}ping: \${font Open Sans:bold:size=8.5}\${color #66aaff}$(ping -W 1 -c 1 8.8.8.8 -q | grep rtt | egrep [0-9]+\.[0-9]+ -o | head -n 2 | tail -n 1)\${font}\${color} ms"}
  100.  
  101. ${voffset -10}${font Open Sans:bold:size=8.5}Ethernet $font$alignr ${addr enp1s0}
  102. ↑ ${upspeedf enp1s0} kb/s $alignr ${totalup enp1s0}
  103. ${voffset -14}$alignc${upspeedgraph enp1s0 10,120 000000 aaddff}
  104. ↓ ${downspeedf enp1s0} kb/s $alignr ${totaldown enp1s0}
  105. ${voffset -14}$alignc${downspeedgraph enp1s0 10,120 000000 66aaff}
  106.  
  107. ${voffset -10}${font Open Sans:bold:size=8.5}VPN $font$alignr ${addr tun0}
  108. ↑ ${upspeedf tun0} kb/s $alignr ${totalup tun0}
  109. ${voffset -14}$alignc${upspeedgraph tun0 10,120 000000 aaddff}
  110. ↓ ${downspeedf tun0} kb/s $alignr ${totaldown tun0}
  111. ${voffset -14}$alignc${downspeedgraph tun0 10,120 000000 66aaff}
  112.  
  113. ${voffset -10}${font Open Sans:bold:size=8.5}WiFi $font${wireless_bitrate wlp2s0} $alignr
  114. ${addr wlp2s0}
  115. ${voffset -14}$alignc${wireless_essid wlp2s0}
  116. ${color dodgerblue3}${wireless_link_bar 4,260 wlp2s0}
  117. ↑ ${upspeedf wlp2s0} kb/s $alignr ${totalup wlp2s0}
  118. ${voffset -14}$alignc${upspeedgraph wlp2s0 10,120 000000 aaddff}
  119. ↓ ${downspeedf wlp2s0} kb/s $alignr ${totaldown wlp2s0}
  120. ${voffset -14}$alignc${downspeedgraph wlp2s0 10,120 000000 66aaff}
  121.  
  122. # HDD
  123. ${voffset -8}${font AvantGarde:Bold:size=12}${color orange}discs
  124. $color${font Open Sans:bold:size=8.5}${font Open Sans:bold:size=8.5}/root$font${alignc -20}${fs_used /} / ${fs_size /}$alignr ${fs_type /}
  125. ${color 66aaff}write: ${diskio_write /dev/sda}${color 66aaff}${alignc -20} read:${diskio_read /dev/sda} $color$alignr ${fs_used_perc /} %
  126. ${color dodgerblue3}${fs_bar /}
  127.  
  128. #${voffset -10}${font Open Sans:bold:size=8.5}HOME $font$alignr ${fs_type /home}
  129. #${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home} %
  130. #${color dodgerblue3}${fs_bar /home}
  131. #${voffset -10}${font Open Sans:bold:size=8.5}GX-DATA ${font Open Sans:size=7}@ ${execi 60 sudo #hddtemp /dev/disk/by-uuid/8995557f-b003-495e-82bf-5e16fd8c3f31 | egrep -o "[0-9]+.C$"}$font
  132. #${alignc -20}${fs_used /media/gx-data} / ${fs_size /media/gx-data}$alignr ${fs_type /media/gx-#data}
  133. #${color aaddff}write: ${diskio_write /dev/sdb}${color 66aaff}${alignc -20} read:${diskio_read /#dev/sdb} $color$alignr ${fs_used_perc /media/gx-data} %
  134. #${fs_bar /media/gx-data}
  135. #${voffset -8}${font Open Sans:Bold:size=12}${color orange}AUDIO ${hr 5}
  136. #${color}${font}$alignc${font Open Sans:bold:size=8.5}OUTPUTS:${font}
  137. #Master ${alignc 60}\
  138. #${execbar amixer -c 0 get Master | grep Mono: | cut -d " " -f6 | grep -o "[0-9]*"}
  139. #Headphone ${alignc 60}\
  140. #${execbar amixer -c 0 get Headphone | grep "Front Left" | cut -d " " -f7 | grep -o #"[0-9]*"}
  141. #PCM ${alignc 50}${execbar amixer -c 0 get PCM | grep "Front Left:" | cut -d " " -f7 | grep #-o "[0-9]*"}
  142. #Front ${alignc 60}\
  143. #${execbar amixer -c 0 get Front | grep "Front Left:" | cut -d " " -f7 | grep -o "[0-9]*"}
  144. #Surround ${alignc 50}${execbar amixer -c 0 get Surround | grep "Front Left:" | cut -d " " -#f7 | grep -o "[0-9]*"}
  145. #Center ${alignc 50}${execbar amixer -c 0 get Center | grep "Mono:" | cut -d " " -f6 | grep #-o "[0-9]*"}
  146. #LFE ${alignc 50}${execbar amixer -c 0 get LFE | grep "Mono:" | cut -d " " -f6 | grep -o #"[0-9]*"}
  147. #Beep ${alignc 50}${execbar amixer -c 0 get Beep | grep "Front Left:" | cut -d " " -f7 | #grep -o "[0-9]*"}
  148. #$alignc${font Open Sans:bold:size=8.5}INPUTS:${font}
  149. #FrontMic ${alignc 50}${execbar amixer -c 0 get "Front Mic" | grep "Front Left:" | cut -d " #" -f7 | grep -o "[0-9]*"}
  150. #Boost ${alignc 50}${execbar amixer -c 0 get "Front Mic Boost" | grep "Front Left:" | cut -#d " " -f6 | grep -o "[0-9]*"}
  151. #RearMic ${alignc 50}${execbar amixer -c 0 get "Rear Mic" | grep "Front Left:" | cut -d " " #-f7 | grep -o "[0-9]*"}
  152. #Boost ${alignc 50}${execbar amixer -c 0 get "Rear Mic Boost" | grep "Front Left:" | cut -d #" " -f6 | grep -o "[0-9]*"}
  153. #Line ${alignc 60}\
  154. #${execbar amixer -c 0 get Line | grep "Front Left:" | cut -d " " -f7 | grep -o "[0-9]*"}
  155. #Boost ${alignc 50}${execbar amixer -c 0 get "Line Boost" | grep "Front Left:" | cut -d " " #-f6 | grep -o "[0-9]*"}
  156. #Capture ${alignc 50}${execbar amixer -c 0 get Capture | grep "Front Left:" | cut -d " " -#f7 | grep -o "[0-9]*"}
  157. #Capture1 ${alignc 50}${execbar amixer -c 0 get Capture,1 | grep "Front Left:" | cut -d " " #-f7 | grep -o "[0-9]*"}
  158. #${voffset -8}${font Open Sans:Bold:size=10}${color dodgerblue3}JACK ${hr 5}
  159. #${color}${font}${execi 10 jack_bufsize}
  160. # MPD
  161. #${voffset -2}${color orange}${font AvantGarde:Bold:size=12}mpd ${voffset -1}${font Open #Sans:Bold:size=10}${color dodgerblue3}${mpd_bar 4}
  162.  
  163. #${voffset -8}${color orange}${font Open Sans:Bold:size=8}$mpd_elapsed / $mpd_length ${if_match #"$mpd_status" == "Playing"}▶$endif${if_match "$mpd_status" == "Paused"}▮▮$endif${if_match #"$mpd_status" == "Stopped"}■$endif
  164. #${alignr}vol: $mpd_vol%
  165.  
  166. #${voffset -2}${font Open Sans:size=8}${color}${if_empty $mpd_track}$else\#$mpd_track${if_empty
  167. #${mpd_title 45}}${font Open Sans:Bold:Italic:size=8}${color #666666}${alignr}[No Title]$else
  168. #${font Open Sans:Bold:Italic:size=8}${color}${alignr}${mpd_title 45}$endif
  169.  
  170.  
  171. #${voffset -13}${if_empty $mpd_album}${font Open Sans:size=8}${color #666666}${alignc}[No Album]
  172. #$else${font Open Sans:size=8}${color}${alignc}~$mpd_album~$endif
  173. #${voffset -13}${font Open Sans:size=8}${color}${alignr}$mpd_date
  174. #${voffset 2}${if_empty $mpd_artist}${font Open Sans:size=8}${color #666666}[No Artist]$else${font #Open Sans:Bold:size=8}${color}$mpd_artist$endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement