Advertisement
Guest User

Dice-Date.conky

a guest
Dec 2nd, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.01 KB | None | 0 0
  1. # pkill -xf "conky -q -c /media/5/Conky/DiceClock/Dice-Date.conky" &
  2. ## middle right - white text
  3.  
  4. ### Begin Window Settings ##################################################
  5. # Create own window instead of using desktop (required in nautilus)
  6. own_window yes
  7. own_window_type normal
  8. own_window_transparent yes
  9. #own_window_colour CD5C5C
  10. own_window_hints undecorated,below,skip_taskbar,skip_pager
  11. own_window_class Conky
  12. own_window_title S11
  13.  
  14. # Use the Xdbe extension? (eliminates flicker)
  15. # It is highly recommended to use own window with this one
  16. # so double buffer won't be so big.
  17. double_buffer yes
  18.  
  19. ### ARGB can be used for real transparency
  20. ### NOTE that a composite manager is required for real transparency.
  21. ### This option will not work as desired (in most cases) in conjunction with
  22. ### own_window_type normal
  23. # own_window_argb_visual yes
  24.  
  25. ### When ARGB visuals are enabled, this use this to modify the alpha value
  26. ### Use: own_window_type normal
  27. ### Use: own_window_transparent no
  28. ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
  29. # own_window_argb_value 0 #255
  30.  
  31. minimum_size 122 78
  32. maximum_width 122
  33.  
  34. gap_x 155 # l|r
  35. gap_y 5 # u|d
  36.  
  37. alignment tl #br
  38. ###############################left################# End Window Settings ###
  39. ### Font Settings ##########################################################
  40. # Use Xft (anti-aliased font and stuff)
  41. use_xft yes
  42. xftfont monofur:bold:size=12
  43.  
  44. # Alpha of Xft font. Must be a value at or between 1 and 0 ###
  45. xftalpha 1
  46. # Force UTF8? requires XFT ###
  47. override_utf8_locale yes
  48.  
  49. uppercase no
  50. ###################################################### End Font Settings ###
  51. ### Color Settings #########################################################
  52. draw_shades no #### <-- yes - To see it easier on light screens.
  53. default_shade_color 000000
  54.  
  55. draw_outline no #### <-- yes - Amplifies text if yes OJO with changing fonts
  56. default_outline_color 000000
  57.  
  58. default_color B0E0E6 #176 224 230 PowderBlue
  59. color0 8FBC8F #143 188 143 DarkSeaGreen
  60. color1 778899 #119 136 153 LightSlateGray
  61. color2 D8BFD8 #216 191 216 Thistle
  62. color3 9ACD32 #154 205 50 YellowGreen
  63. color4 FFA07A #255 160 122 LightSalmon
  64. color5 FFDEAD #255 222 173 NavajoWhite
  65. color6 00BFFF # 0 191 255 DeepSkyBlue
  66. color7 5F9EA0 # 95 158 160 CadetBlue
  67. color8 BDB76B #189 183 107 DarkKhaki
  68. color9 CD5C5C #205 92 92 IndianRed #FF0000 #255 0 0 Red
  69. ##################################################### End Color Settings ###
  70. ### Borders Section ########################################################
  71. draw_borders no
  72. # Stippled borders?
  73. stippled_borders 0
  74. # border margins
  75. border_inner_margin 0
  76. border_outer_margin 0
  77. # border width
  78. border_width 0
  79. # graph borders
  80. draw_graph_borders yes
  81. #default_graph_size 15 40
  82. ##################################################### End Borders Secton ###
  83. ### Miscellaneous Section ##################################################
  84. # Boolean value, if true, Conky will be forked to background when started.
  85. background yes
  86.  
  87. # Adds spaces around certain objects to stop them from moving other things
  88. # around, this only helps if you are using a mono font
  89. # Options: right, left or none
  90. use_spacer none
  91.  
  92. # Default and Minimum size is 256 - needs more for single commands that
  93. # "call" a lot of text IE: bash scripts
  94. # text_buffer_size 6000
  95.  
  96. # Subtract (file system) buffers from used memory?
  97. no_buffers yes
  98.  
  99. # change GiB to G and MiB to M
  100. short_units yes
  101.  
  102. # Like it says, ot pads the decimals on % values
  103. # doesn't seem to work since v1.7.1
  104. pad_percents 2
  105.  
  106. # Maximum size of user text buffer, i.e. layout below TEXT line in config file
  107. # (default is 16384 bytes)
  108. # max_user_text 16384
  109.  
  110. # Desired output unit of all objects displaying a temperature. Parameters are
  111. # either "fahrenheit" or "celsius". The default unit is degree Celsius.
  112. # temperature_unit Fahrenheit
  113.  
  114. ## Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value
  115. ## if you use $image lots. Set to 0 to disable the image cache.
  116. imlib_cache_size 0
  117.  
  118. ############################################## End Miscellaneous Section ###
  119. ### LUA Settings ###########################################################
  120. ## Above and After TEXT - requires a composite manager or it blinks.
  121. ##
  122. # lua_load ~/wea_conky/draw_bg.lua
  123. ## TEXT
  124. ## ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
  125. ## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
  126. ##
  127. ##
  128. ## OR Both above TEXT (No composite manager required - no blinking!)
  129. ##
  130. # lua_load /media/5/Conky/LUA/draw-bg.lua
  131. # lua_draw_hook_pre draw_bg 50 0 0 0 0 0x000000 0.3
  132. #
  133. # TEXT
  134. #
  135.  
  136. # ${image /media/5/Conky/DiceClock/time-dice/0-0-1.png -p 41,0 -s 41x78}\
  137. # ${image /media/5/Conky/DiceClock/time-dice/0-0-1.png -p 81,0 -s 41x78}\
  138.  
  139.  
  140.  
  141. update_interval 1
  142.  
  143. TEXT
  144. ${voffset 11}${goto 50}${color 000000}${time %a}\
  145. ${if_match ${time %m}==01}${image /media/5/Conky/DiceClock/time-dice/1-0-2.png -p 0,0 -s 41x78}${endif}\
  146. ${if_match ${time %m}==02}${image /media/5/Conky/DiceClock/time-dice/2-0-2.png -p 0,0 -s 41x78}${endif}\
  147. ${if_match ${time %m}==03}${image /media/5/Conky/DiceClock/time-dice/3-0-2.png -p 0,0 -s 41x78}${endif}\
  148. ${if_match ${time %m}==04}${image /media/5/Conky/DiceClock/time-dice/4-0-2.png -p 0,0 -s 41x78}${endif}\
  149. ${if_match ${time %m}==05}${image /media/5/Conky/DiceClock/time-dice/5-0-2.png -p 0,0 -s 41x78}${endif}\
  150. ${if_match ${time %m}==06}${image /media/5/Conky/DiceClock/time-dice/6-0-2.png -p 0,0 -s 41x78}${endif}\
  151. ${if_match ${time %m}==07}${image /media/5/Conky/DiceClock/time-dice/6-1-2.png -p 0,0 -s 41x78}${endif}\
  152. ${if_match ${time %m}==08}${image /media/5/Conky/DiceClock/time-dice/6-2-2.png -p 0,0 -s 41x78}${endif}\
  153. ${if_match ${time %m}==09}${image /media/5/Conky/DiceClock/time-dice/6-3-2.png -p 0,0 -s 41x78}${endif}\
  154. ${if_match ${time %m}==10}${image /media/5/Conky/DiceClock/time-dice/6-4-2.png -p 0,0 -s 41x78}${endif}\
  155. ${if_match ${time %m}==11}${image /media/5/Conky/DiceClock/time-dice/6-5-2.png -p 0,0 -s 41x78}${endif}\
  156. ${if_match ${time %m}==12}${image /media/5/Conky/DiceClock/time-dice/6-6-2.png -p 0,0 -s 41x78}${endif}\
  157. ${if_match ${time %d}<10}${image /media/5/Conky/DiceClock/time-dice/0-0-1.png -p 41,0 -s 41x78}${else}\
  158. ${if_match ${time %d}<20}${image /media/5/Conky/DiceClock/time-dice/1-0-1.png -p 41,0 -s 41x78}${else}\
  159. ${if_match ${time %d}<30}${image /media/5/Conky/DiceClock/time-dice/2-0-1.png -p 41,0 -s 41x78}${else}\
  160. ${if_match ${time %d}<32}${image /media/5/Conky/DiceClock/time-dice/3-0-1.png -p 41,0 -s 41x78}\
  161. ${endif}${endif}${endif}${endif}\
  162. ${if_match ${time %d}==01}${image /media/5/Conky/DiceClock/time-dice/1-0-1.png -p 81,0 -s 41x78}${else}\
  163. ${if_match ${time %d}==02}${image /media/5/Conky/DiceClock/time-dice/2-0-1.png -p 81,0 -s 41x78}${else}\
  164. ${if_match ${time %d}==03}${image /media/5/Conky/DiceClock/time-dice/3-0-1.png -p 81,0 -s 41x78}${else}\
  165. ${if_match ${time %d}==04}${image /media/5/Conky/DiceClock/time-dice/4-0-1.png -p 81,0 -s 41x78}${else}\
  166. ${if_match ${time %d}==05}${image /media/5/Conky/DiceClock/time-dice/5-0-1.png -p 81,0 -s 41x78}${else}\
  167. ${if_match ${time %d}==06}${image /media/5/Conky/DiceClock/time-dice/6-0-1.png -p 81,0 -s 41x78}${else}\
  168. ${if_match ${time %d}==07}${image /media/5/Conky/DiceClock/time-dice/6-1-1.png -p 81,0 -s 41x78}${else}\
  169. ${if_match ${time %d}==08}${image /media/5/Conky/DiceClock/time-dice/6-2-1.png -p 81,0 -s 41x78}${else}\
  170. ${if_match ${time %d}==09}${image /media/5/Conky/DiceClock/time-dice/6-3-1.png -p 81,0 -s 41x78}${else}\
  171. ${if_match ${time %d}==10}${image /media/5/Conky/DiceClock/time-dice/0-0-1.png -p 81,0 -s 41x78}${else}\
  172. ${if_match ${time %d}==11}${image /media/5/Conky/DiceClock/time-dice/1-0-1.png -p 81,0 -s 41x78}${else}\
  173. ${if_match ${time %d}==12}${image /media/5/Conky/DiceClock/time-dice/2-0-1.png -p 81,0 -s 41x78}${else}\
  174. ${if_match ${time %d}==13}${image /media/5/Conky/DiceClock/time-dice/3-0-1.png -p 81,0 -s 41x78}${else}\
  175. ${if_match ${time %d}==14}${image /media/5/Conky/DiceClock/time-dice/4-0-1.png -p 81,0 -s 41x78}${else}\
  176. ${if_match ${time %d}==15}${image /media/5/Conky/DiceClock/time-dice/5-0-1.png -p 81,0 -s 41x78}${else}\
  177. ${if_match ${time %d}==16}${image /media/5/Conky/DiceClock/time-dice/6-0-1.png -p 81,0 -s 41x78}${else}\
  178. ${if_match ${time %d}==17}${image /media/5/Conky/DiceClock/time-dice/6-1-1.png -p 81,0 -s 41x78}${else}\
  179. ${if_match ${time %d}==18}${image /media/5/Conky/DiceClock/time-dice/6-2-1.png -p 81,0 -s 41x78}${else}\
  180. ${if_match ${time %d}==19}${image /media/5/Conky/DiceClock/time-dice/6-3-1.png -p 81,0 -s 41x78}${else}\
  181. ${if_match ${time %d}==20}${image /media/5/Conky/DiceClock/time-dice/0-0-1.png -p 81,0 -s 41x78}${else}\
  182. ${if_match ${time %d}==21}${image /media/5/Conky/DiceClock/time-dice/1-0-1.png -p 81,0 -s 41x78}${else}\
  183. ${if_match ${time %d}==22}${image /media/5/Conky/DiceClock/time-dice/2-0-1.png -p 81,0 -s 41x78}${else}\
  184. ${if_match ${time %d}==23}${image /media/5/Conky/DiceClock/time-dice/3-0-1.png -p 81,0 -s 41x78}${else}\
  185. ${if_match ${time %d}==24}${image /media/5/Conky/DiceClock/time-dice/4-0-1.png -p 81,0 -s 41x78}${else}\
  186. ${if_match ${time %d}==25}${image /media/5/Conky/DiceClock/time-dice/5-0-1.png -p 81,0 -s 41x78}${else}\
  187. ${if_match ${time %d}==26}${image /media/5/Conky/DiceClock/time-dice/6-0-1.png -p 81,0 -s 41x78}${else}\
  188. ${if_match ${time %d}==27}${image /media/5/Conky/DiceClock/time-dice/6-1-1.png -p 81,0 -s 41x78}${else}\
  189. ${if_match ${time %d}==28}${image /media/5/Conky/DiceClock/time-dice/6-2-1.png -p 81,0 -s 41x78}${else}\
  190. ${if_match ${time %d}==29}${image /media/5/Conky/DiceClock/time-dice/6-3-1.png -p 81,0 -s 41x78}${else}\
  191. ${if_match ${time %d}==30}${image /media/5/Conky/DiceClock/time-dice/0-0-1.png -p 81,0 -s 41x78}${else}\
  192. ${if_match ${time %d}==31}${image /media/5/Conky/DiceClock/time-dice/1-0-1.png -p 81,0 -s 41x78}\
  193. ${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
  194. ${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
  195. ${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}
  196.  
  197.  
  198.  
  199. ${color}${time %a %d %b}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement