Advertisement
Guest User

Untitled

a guest
Jun 17th, 2016
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.46 KB | None | 0 0
  1. conky.config = {
  2.     own_window = true,
  3.     own_window_transparent = true,
  4.     own_window_type =  'desktop',
  5.     background = true,
  6.     update_interval = 1,
  7.     total_run_times = 0,
  8.     cpu_avg_samples = 2,
  9.     net_avg_samples = 2,
  10.     double_buffer = true,
  11.     no_buffers = true,
  12.     text_buffer_size = 1024,
  13.     imlib_cache_size = 0,
  14.     own_window_class = 'conky-semi',
  15.     own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  16.     own_window_type = 'desktop',
  17.     own_window_transparent = true,
  18.     own_window_argb_visual = false,
  19.     own_window_argb_value = 0,
  20.     own_window_colour = '#000000',
  21.     border_inner_margin = 0,
  22.     border_outer_margin = 0,
  23.     draw_shades = false,
  24.     draw_outline = false,
  25.     draw_borders = false,
  26.     draw_graph_borders = false,
  27.     show_graph_scale = false,
  28.     show_graph_range = false,
  29.     top_name_width = 7,
  30.     default_graph_width = 26,
  31.     default_graph_height = 80,
  32.     minimum_width = 250,
  33.     minimum_height = 610,
  34.     maximum_width = 260,
  35.     alignment = 'top_right',
  36.     gap_x = -110,
  37.     gap_y = 30,
  38.     use_xft = true,
  39.     override_utf8_locale = true,
  40.     font = 'Droid Sans:size=8',
  41.     xftalpha = 0.5,
  42.     uppercase = false,
  43.     use_spacer = none,
  44.     default_outline_color = '#AAAAAA',
  45.     default_shade_color = '#AAAAAA',
  46.     default_color = '#f9dd00',
  47.     color1 = '#242424',
  48.     short_units = true,
  49.     pad_percents = 2
  50. }
  51.  
  52. conky.text = [[
  53. ${image ~/.conky/HARFO-YELLOW/images/top-bg.png -p 0,10 -s 228x61}\
  54. ${image ~/.conky/HARFO-YELLOW/images/bottom-bg.png -p 0,472 -s 228x178}\
  55. ${image ~/.conky/HARFO-YELLOW/images/bg-1.png -p 0,157 -s 228x86}\
  56. ${image ~/.conky/HARFO-YELLOW/images/bg-2.png -p 0,243 -s 228x105}\
  57. ${image ~/.conky/HARFO-YELLOW/images/bg-3.png -p 0,348 -s 228x110}\
  58. ${image ~/.conky/HARFO-YELLOW/images/bg-4.png -p 0,458 -s 228x14}\
  59. ${image ~/.conky/HARFO-YELLOW/images/bg-5.png -p 0,255 -s 228x14}\
  60. ${image ~/.conky/HARFO-YELLOW/images/bg-6.png -p 0,71 -s 228x86}\
  61. ${image ~/.conky/HARFO-YELLOW/images/fav-color.png -p 0,69 -s 228x89}\
  62. ${image ~/.conky/HARFO-YELLOW/images/border.png -p 0,10 -s 228x640}\
  63. ${image ~/.conky/HARFO-YELLOW/images/separator-h.png -p 1,472 -s 226x1}\
  64. ${image ~/.conky/HARFO-YELLOW/images/bg-5.png -p 0,365 -s 228x14}\
  65. ${image ~/.conky/HARFO-YELLOW/images/separator-h.png -p 1,568 -s 226x1}\
  66. ${image ~/.conky/HARFO-YELLOW/images/separator-v.png -p 114,473 -s 1x95}\
  67. \
  68. ${voffset 20}${font Droid Sans :size=11}${alignc 10}${color}${exec cat /etc/issue.net} ${machine}${font}${color}
  69. ${voffset 6}${font Droid Sans :size=10}${alignc 10}Kernel : ${kernel}${font}${color}
  70. ${voffset -2}${goto 25}${font Decker :size=50}${color1}${time %H:%M}${font}
  71. ${voffset 1}${goto 50}${font Decker :size=15}${time %b %d} on ${time %a}${font}${color}
  72. \
  73. ${voffset 14}${goto 10}Cpu :${color}
  74. ${voffset 4}${goto 10}Mem :${color}
  75. ${voffset 4}${goto 10}Uptime :${color}
  76. \
  77. ${voffset -47}${alignr 30}${cpu cpu0}%
  78. ${voffset 4}${alignr 30}${memperc}%
  79. ${voffset 4}${alignr 30}${uptime_short}
  80. ${voffset -47}${alignc 10}${cpubar 5,36}
  81. ${voffset 4}${alignc 10}${membar 5,36}
  82. ${voffset 20}${alignr 30}${loadgraph 26,212 -l}${color}
  83. \
  84. ${voffset -1}${goto 10}TOP MEM
  85. ${voffset -13}${alignc -5}MEM %
  86. ${voffset -13}${alignr 30}MEM${color}
  87. \
  88. ${voffset 8}${goto 10}${top_mem name 1}
  89. ${voffset 4}${goto 10}${top_mem name 2}
  90. ${voffset 4}${goto 10}${top_mem name 3}
  91. ${voffset 4}${goto 10}${top_mem name 4}
  92. ${voffset 4}${goto 10}${top_mem name 5}${color}
  93. \
  94. ${voffset -81}${alignc -5}${top_mem mem 1}%
  95. ${voffset 4}${alignc -5}${top_mem mem 2}%
  96. ${voffset 4}${alignc -5}${top_mem mem 3}%
  97. ${voffset 4}${alignc -5}${top_mem mem 4}%
  98. ${voffset 4}${alignc -5}${top_mem mem 5}%${color}
  99. \
  100. ${voffset -81}${alignr 30}${top_mem mem_res 1}
  101. ${voffset 4}${alignr 30}${top_mem mem_res 2}
  102. ${voffset 4}${alignr 30}${top_mem mem_res 3}
  103. ${voffset 4}${alignr 30}${top_mem mem_res 4}
  104. ${voffset 4}${alignr 30}${top_mem mem_res 5}${color}
  105. \
  106. ${voffset 8}${goto 10}TOP CPU
  107. ${voffset -13}${alignc -5}CPU %
  108. ${voffset -13}${alignr 30}MEM${color}
  109. \
  110. ${voffset 5}${goto 10}${top name 1}${font}
  111. ${voffset 4}${goto 10}${top name 2}
  112. ${voffset 4}${goto 10}${top name 3}
  113. ${voffset 4}${goto 10}${top name 4}
  114. ${voffset 4}${goto 10}${top name 5}${color}${font}
  115. \
  116. ${voffset -81}${alignc -5}${top cpu 1}%${font}
  117. ${voffset 4}${alignc -5}${top cpu 2}%
  118. ${voffset 4}${alignc -5}${top cpu 3}%
  119. ${voffset 4}${alignc -5}${top cpu 4}%
  120. ${voffset 4}${alignc -5}${top cpu 5}%${color}${font}
  121. \
  122. ${voffset -81}${alignr 30}${top_mem mem_res 1}
  123. ${voffset 4}${alignr 30}${top_mem mem_res 2}
  124. ${voffset 4}${alignr 30}${top_mem mem_res 3}
  125. ${voffset 4}${alignr 30}${top_mem mem_res 4}
  126. ${voffset 4}${alignr 30}${top_mem mem_res 5}${color}${font}
  127. \
  128. ${if_existing /proc/net/route wlp3s0}${font}
  129. ${voffset 2}${goto 10}Up : ${upspeed wlp3s0} ${goto 135}Down : ${downspeed wlp3s0}
  130. ${voffset 8}${goto 10}${upspeedgraph wlp3s0 26,100} ${goto 121}${downspeedgraph wlp3s0 26,100}
  131. ${voffset 9}${goto 10}Sent : ${totalup wlp3s0} ${goto 132}Received : ${totaldown wlp3s0}${color}
  132. ${else}
  133. ${voffset 99}${goto 10}Network : Disconnected${color}
  134. ${image ~/.conky/HARFO-YELLOW/images/off.png -p 170,590 -s 40x40}
  135. ${image ~/.conky/HARFO-YELLOW/images/red-off.png -p 2,72 -s 225x83}
  136. ${else}
  137. ${voffset 1}${goto 10}Network : Connected${color}
  138. ${image ~/.conky/HARFO-YELLOW/images/on-yellow.png -p 170,590 -s 40x40}
  139. ${image ~/.conky/HARFO-YELLOW/images/yellow-on.png -p 2,72 -s 224x83}
  140. ${endif}
  141. \
  142. ${voffset -35}${goto 10}SSID : ${wireless_essid wlp3s0}
  143. ${voffset 4}${goto 10}Speed : ${wireless_bitrate wlp3s0}
  144. ${voffset 4}${goto 10}Signal : ${wireless_link_qual_perc wlp3s0} %
  145. ${voffset -100}
  146. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement