Advertisement
jor_teron

.conkyrc

Aug 16th, 2014
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1. #
  2. #@file: ~/.conkyrc
  3. #@description: Custom Conky configuration
  4. #@author: jor teron <jor.teron@gmail.com>
  5. #@date: 2014 July 30th - 2016 March 12th
  6. #@version: 1.7
  7.  
  8. #load lua script
  9. lua_load /home/pi/conky.lua
  10. lua_draw_hook conky_main()
  11.  
  12.  
  13. alignment top_right
  14. background yes
  15. border_width 1
  16. cpu_avg_samples 5
  17. default_color black
  18. #default_graph_size 0 25
  19. default_outline_color white
  20. default_shade_color white
  21. draw_borders yes
  22. draw_graph_borders no
  23. draw_outline no
  24. draw_shades no
  25. use_xft yes
  26. xftfont DejaVu Sans Mono:size=10
  27. gap_x 15
  28. gap_y 40
  29. if_up_strictness address
  30. loadavg 1
  31. minimum_size 5 5
  32. net_avg_samples 2
  33. no_buffers yes
  34. out_to_console no
  35. out_to_stderr no
  36. extra_newline no
  37. own_window yes
  38. #own_window_argb_value 0-255
  39. own_window_class Conky
  40. #own_window_colour #333333
  41. #own_window_hints sticky, undecorated, skip_taskbar
  42. own_window_hints undecorated, skip_taskbar
  43. own_window_title SysInfo
  44. own_window_transparent yes
  45. own_window_type window
  46. #out_to_console yes
  47. stippled_borders 0
  48. update_interval 10.0
  49. update_interval_on_battery 60.0
  50. uppercase no
  51. use_spacer none
  52. #show_graph_scale no
  53. #show_graph_range no
  54. stippled_borders no
  55. temperature_unit celsius
  56.  
  57. # red, green, yellow, blue, magenta, cyan, black, white.
  58. #colr=red
  59.  
  60. TEXT
  61. #${image ~/Pictures/white.png }
  62. #${scroll 35 5 $nodename - $sysname $kernel on $machine}
  63. #$alignc ${font ubuntu 48} ${time %I:%M:%S } ${font ubuntu} ${time %p}
  64. ${alignc}${font Ubuntu:size=32}${color black}${time %l:%M}${font}${time %p}
  65. ${alignc}${font Ubuntu:size=16}${time %A}
  66. ${alignc}${font Ubuntu:size=12}${time %d %B %Y}
  67. #$alignc $nodename | $sysname
  68. $color $hr $font
  69.  
  70. ${color #111111}Uptime:$color $uptime_short
  71. ${color #111111}CPU:$color ${cpu cpu1}% ${cpubar cpu0}
  72. ${color #111111} $color ${cpu cpu1}% | ${cpu cpu2}% | ${cpu cpu3}%
  73. ${color #111111}RAM:$color ${memperc}% ${membar 6}
  74. # ${color #111111}CPU Temp:$color ${execi 30 sensors | grep -i 'CPU Temp' | awk '{print $3}' | cut -c2-3 }${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
  75. # ${color #111111}HDD Temp:$color ${execi 30 udisks --show-info /dev/sda | grep temp | awk '{print $6}' | sed 's/C//' | sed '1 d' }${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
  76. ${color #111111}HDD:$color ${fs_bar 6 /}
  77. # ${color #111111}RAM: $color $mem/$memmax - $memperc% ${membar 4}
  78. #${cpugauge cpu0 50, 100} ${memgauge 50, 100}
  79. # CPU RAM
  80. ${color green}${cpugraph #9ACD32 #FF0000 5 -t } $color
  81. #${execi 15 curl http://www.accuweather.com/en/in/diphu/186922/weather-forecast/186922 | grep '<div class="info">' | grep -o [0-9] | sed '/.*[^\.]$/N;s/\n *//' 10 }
  82. #$hr
  83. #${blink jor teron}
  84. $hr
  85. $alignc${font ubuntu 48}${color black}Networking $font
  86. APN:${tab}${tab}${wireless_essid wlan0}
  87. Mode:${tab}${tab}${wireless_mode wlan0}
  88. ${if_up eth0}
  89. ${color #111111}IP: $color${addr eth0}
  90. ${color #111111}Down: $color${downspeed eth0}
  91. ${color #111111}Up: $color${upspeed eth0}
  92. ${color #111111}Download: $color${totaldown eth0}
  93. ${color #111111}Upload: $color${totalup eth0}
  94. ${downspeedgraph eth0} ${upspeedgraph eth0}
  95. ${else}${if_up usb0}
  96. ${color #111111}Type:$color usb0
  97. ${color #111111}IP: $color${addr usb0}
  98. ${color #111111}Down: $color${downspeed usb0}
  99. ${color #111111}Up: $color${upspeed usb0}
  100. ${color #111111}Download: $color${totaldown usb0}
  101. ${color #111111}Upload: $color${totalup usb0}
  102. ${downspeedgraph usb0} ${upspeedgraph usb0}
  103. ${else}${if_up ppp0}
  104. ${color #111111}Type: $color ppp0
  105. ${color #111111}IP: $color${addr ppp0}
  106. ${color #111111}Down: $color${downspeed ppp0}
  107. ${color #111111}Up: $color${upspeed ppp0}
  108. ${color #111111}Download: $color${totaldown ppp0}
  109. ${color #111111}Upload: $color${totalup ppp0}
  110. ${downspeedgraph ppp0} ${upspeedgraph ppp0}
  111. ${else}${if_up wlan0}
  112. ${color #111111}Type: $color wlan0
  113. ${color #111111}MAC addr: ${wireless_ap wlan0}
  114. ${color #111111}IP: $color${addr wlan0}
  115. ${color #111111}Down: $color${downspeed wlan0}
  116. ${color #111111}Up: $color${upspeed wlan0}
  117. ${color #111111}Download: $color${totaldown wlan0}
  118. ${color #111111}Upload: $color${totalup wlan0}
  119. ${downspeedgraph wlan0} ${upspeedgraph wlan0}
  120. ${else}${if_up wlxe84e0624e2a4}
  121. ${color #111111}Type: $color wlxe84e0624e2a4
  122. ${color #111111}MAC addr: ${wireless_ap wlxe84e0624e2a4}
  123. ${color #111111}IP: $color${addr wlxe84e0624e2a4}
  124. ${color #111111}Down: $color${downspeed wlxe84e0624e2a4}
  125. ${color #111111}Up: $color${upspeed wlxe84e0624e2a4}
  126. ${color #111111}Download: $color${totaldown wlxe84e0624e2a4}
  127. ${color #111111}Upload: $color${totalup wlxe84e0624e2a4}
  128. ${downspeedgraph wlxe84e0624e2a4} ${upspeedgraph wlxe84e0624e2a4}
  129. ${else}
  130. ${color #444444}No Actice Network...
  131. ..Connection... $color
  132. ${endif}
  133. $hr
  134. #${voltage cpu1}
  135. #${top cpu 1)
  136. ${if_match $laptop_mode == 1 }
  137. $alignc${font ubuntu 48}${color #000000}Battery $font
  138.  
  139. Bat: $battery - $battery_percent %
  140. Min: $battery_time min
  141. # $apcupsd_cable , $apcupsd_charge , $apcupsd_lastxfer , $apcupsd_linev , $apcupsd_load , $apcupsd_loadbar , $ apcupsd_model , $apcupsd_status , $apcupsd_temp , $apcuwhat ispsd_timeleft , $apcupsd_upsmode ,
  142. #${else}
  143. # ${color #dddddd}No Internal Battery... $color
  144. ${endif}
  145.  
  146. #${freq_g 1} GHz, ${freq_g 2} GHz, ${freq_g 3} GHz, ${freq_g 4} GHz .
  147.  
  148. #weather URI locID data_type (interval_in_minutes)
  149. #${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ locID data_type 15 }
  150. #$hr
  151. #${adt746xcpu} - ${adt746xfan}
  152. #${read_tcp localhost 80}
  153. #${execi 60 fortune}
  154. #$desktop_name
  155. #${acpiacadapter atk0110-acpi-0}
  156. #$adt746xcpu
  157. #${apcupsd_temp cpu0}
  158. #$acpitemp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement