DiTsi

.conkyrc

Aug 4th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 KB | None | 0 0
  1. use_spacer none
  2. background no
  3. use_xft yes
  4. xftfont ubuntu-8
  5. #xftalpha 1
  6. update_interval 1
  7.  
  8. own_window yes
  9. own_window_colour black
  10. own_window_type override
  11. own_window_argb_visual no
  12. own_window_transparent yes
  13. #own_window_argb_value 250
  14. own_window_hints undecorated,sticky,skip_taskbar,skip_pager
  15. minimum_size 270 (1200)
  16.  
  17. double_buffer yes
  18. draw_shades no
  19. draw_outline no
  20. draw_borders no
  21. border_width 1
  22.  
  23. draw_graph_borders no
  24. show_graph_scale no
  25. show_graph_range no
  26.  
  27. default_color gray20
  28. default_shade_color gray60
  29. default_outline_color gray60
  30.  
  31. color0 00abba
  32. color7 ff9300
  33. color8 da0000
  34.  
  35. alignment tr
  36.  
  37. gap_x 10
  38. gap_y 10
  39.  
  40. #no_buffers yes
  41. #uppercase no
  42.  
  43. default_bar_size 120 10
  44. default_graph_size 270 30
  45.  
  46. TEXT
  47. ${font Prosto-11}TIME:${alignr}${time %H:%M}${font}
  48.  
  49. ${hr 2}
  50.  
  51. ${font Prosto-11}BATTERY:${font}\
  52. ${alignr}\
  53. ${color}\
  54. ${if_match ${battery_percent BAT1}<30}${color7}${endif}\
  55. ${if_match ${battery_percent BAT1}<15}${color8}${endif}\
  56. \
  57. ${battery_bar BAT1}${color}
  58. ${battery BAT1}
  59. \
  60. \
  61. \
  62. ${if_match ${battery_percent BAT1}!=0}\
  63. ${if_match ${battery_percent BAT1}<2}${exec sudo poweroff}${else}\
  64. ${if_match ${battery_percent BAT1}<5}${execi 12 notify-send -u critical -t 5 "Осталось менее 5% заряда батареи!"}${else}\
  65. ${if_match ${battery_percent BAT1}<5}${execi 12 notify-send -u critical -t 5 "Осталось менее 20% заряда батареи"}${endif}\
  66. ${endif}\
  67. ${endif}\
  68. ${endif}\
  69. \
  70. \
  71. \
  72. \
  73.  
  74. ${font Prosto-11}CPU_1:${font}\
  75. ${alignr}\
  76. ${color}\
  77. ${if_match ${cpu CPU1}>30}${color7}${endif}\
  78. ${if_match ${cpu CPU1}>75}${color8}${endif}\
  79. \
  80. ${cpubar CPU1}${color}
  81. ${cpu CPU1}% (\
  82. \
  83. ${if_match ${hwmon 0 temp 1}>65}${color7}${endif}\
  84. ${if_match ${hwmon 0 temp 1}>75}${color8}${endif}\
  85. \
  86. ${hwmon 0 temp 1} C${color}\
  87. )
  88.  
  89. ${font Prosto-11}CPU_2:${font}\
  90. ${alignr}\
  91. ${color}\
  92. ${if_match ${cpu CPU2}>30}${color7}${endif}\
  93. ${if_match ${cpu CPU2}>75}${color8}${endif}\
  94. \
  95. ${cpubar CPU2}${color}
  96. ${cpu CPU2}% (\
  97. \
  98. ${if_match ${hwmon 1 temp 1}>65}${color7}${endif}\
  99. ${if_match ${hwmon 1 temp 1}>75}${color8}${endif}\
  100. \
  101. ${hwmon 1 temp 1} C${color}\
  102. )
  103.  
  104. ${font Prosto-11}MEMORY:${font}\
  105. ${alignr}\
  106. ${color}\
  107. ${if_match ${memperc}>50}${color7}${endif}\
  108. ${if_match ${memperc}>75}${color8}${endif}\
  109. \
  110. ${membar}${color}
  111. ${mem} / ${memmax}
  112.  
  113. ${font Prosto-11}SWAP:${font}\
  114. ${alignr}\
  115. ${swapbar}
  116. ${swap} / ${swapmax}
  117.  
  118. ${font Prosto-11}HDD:${font}\
  119. ${alignr}\
  120. ${fs_bar /home/ditsi}
  121. ${fs_used /home/ditsi} / ${fs_size /home/ditsi}
  122.  
  123. ${font Prosto-11}SDD:${font}\
  124. ${alignr}\
  125. ${fs_bar /}
  126. ${fs_used /} / ${fs_size /}
  127.  
  128. \
  129. \
  130. ${if_existing /dev/sdc}\
  131. \
  132. ${font Prosto-11}DEVICES:${font}
  133.  
  134. \
  135. ${if_existing /dev/sdc}\
  136. ${if_mounted /media/sdc}${color0}${endif}\
  137. /dev/sdc (7)\
  138. ${if_mounted /media/sdc}${color}${alignr}${fs_bar /media/sdc}${endif}\
  139. ${endif}\
  140. \
  141. ${if_existing /dev/sdc1}\
  142. ${if_mounted /media/sdc1}${color0}${endif}\
  143.  
  144. ${voffset 2}${font mono-10}└${font} /dev/sdc1 (1)\
  145. ${if_mounted /media/sdc1}${color}${alignr}${fs_bar /media/sdc1}${endif}\
  146. ${endif}\
  147. \
  148. ${if_existing /dev/sdc2}\
  149. ${if_mounted /media/sdc2}${color0}${endif}\
  150. ${voffset 2}${font mono-10}└${font} /dev/sdc2 (4)\
  151. ${if_mounted /media/sdc2}${color}${alignr}${fs_bar /media/sdc2}${endif}\
  152.  
  153. ${endif}\
  154. ${if_existing /dev/sdd}\
  155. ${if_mounted /media/sdd}${color0}${endif}\
  156. /dev/sdd (7)\
  157. ${if_mounted /media/sdd}${color}${alignr}${fs_bar /media/sdd}${endif}\
  158. ${endif}\
  159. \
  160. ${if_existing /dev/sdd1}\
  161. ${if_mounted /media/sdd1}${color0}${endif}\
  162. ${voffset 2}${font mono-10}└${font} /dev/sdd1 (1)\
  163. ${if_mounted /media/sdd1}${color}${alignr}${fs_bar /media/sdd1}${endif}\
  164. ${endif}\
  165. \
  166. ${if_existing /dev/sdd2}\
  167. ${if_mounted /media/sdd2}${color0}${endif}\
  168. ${voffset 2}${font mono-10}└${font} /dev/sdd2 (4)\
  169. ${if_mounted /media/sdd2}${color}${alignr}${fs_bar /media/sdd2}${endif}\
  170.  
  171. ${endif}\
  172. ${if_existing /dev/sde}\
  173. ${if_mounted /media/sde}${color0}${endif}\
  174. /dev/sde (7)\
  175. ${if_mounted /media/sde}${color}${alignr}${fs_bar /media/sde}${endif}\
  176. ${endif}\
  177. \
  178. ${if_existing /dev/sde1}\
  179. ${if_mounted /media/sde1}${color0}${endif}\
  180. ${voffset 2}${font mono-10}└${font} /dev/sde1 (1)\
  181. ${if_mounted /media/sde1}${color}${alignr}${fs_bar /media/sde1}${endif}\
  182. ${endif}\
  183. \
  184. ${if_existing /dev/sde2}\
  185. ${if_mounted /media/sde2}${color0}${endif}\
  186. ${voffset 2}${font mono-10}└${font} /dev/sde2 (4)\
  187. ${if_mounted /media/sde2}${color}${alignr}${fs_bar /media/sde2}${endif}\
  188. ${endif}\
  189.  
  190.  
  191. ${endif}\
  192. ${font Prosto-11}MOSCOW WEATHER:${font}
  193.  
  194. \
  195. ${execi 600 bash $HOME/.weather_conky/weatherscript > /dev/null}\
  196. \
  197. \
  198. ${execi 600 sed -n '1p' $HOME/.weather_conky/inf.weather}\
  199. ${goto 75}${execi 600 sed -n '2p' $HOME/.weather_conky/inf.weather}\
  200. ${goto 150}${execi 600 sed -n '3p' $HOME/.weather_conky/inf.weather}\
  201. ${goto 225}${execi 600 sed -n '4p' $HOME/.weather_conky/inf.weather}
  202.  
  203. ${font conkyweather:size=34}\
  204. ${execi 600 sed -n '1p' $HOME/.weather_conky/inf.images}\
  205. ${goto 75}${execi 600 sed -n '2p' $HOME/.weather_conky/inf.images}\
  206. ${goto 150}${execi 600 sed -n '3p' $HOME/.weather_conky/inf.images}\
  207. ${goto 225}${execi 600 sed -n '4p' $HOME/.weather_conky/inf.images}\
  208.  
  209. ${voffset -30}\
  210. ${font}\
  211. ${execi 600 sed -n '1p' $HOME/.weather_conky/inf.temperature}\
  212. ${goto 75}${execi 600 sed -n '2p' $HOME/.weather_conky/inf.temperature}\
  213. ${goto 150}${execi 600 sed -n '3p' $HOME/.weather_conky/inf.temperature}\
  214. ${goto 225}${execi 600 sed -n '4p' $HOME/.weather_conky/inf.temperature}\
  215.  
  216. ${execi 600 sed -n '1p' $HOME/.weather_conky/inf.time}\
  217. ${goto 75}${execi 600 sed -n '2p' $HOME/.weather_conky/inf.time}\
  218. ${goto 150}${execi 600 sed -n '3p' $HOME/.weather_conky/inf.time}\
  219. ${goto 225}${execi 600 sed -n '4p' $HOME/.weather_conky/inf.time}\
Advertisement
Add Comment
Please, Sign In to add comment