| 1 | conky.config = { |
| 2 | background = true, |
| 3 | own_window = true, |
| 4 | own_window_type = 'override', |
| 5 | own_window_transparent = true, |
| 6 | own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below', |
| 7 | own_window_argb_visual = true, |
| 8 | own_window_argb_value = 0, |
| 9 | own_window_class = 'qlocktwo', |
| 10 | own_window_title = 'qlocktwo', |
| 11 | alignment = 'top_left', |
| 12 | gap_x = 0, |
| 13 | gap_y = 30, |
| 14 | use_xft = true, |
| 15 | font = 'Roboto2012892015:size=18', |
| 16 | xftalpha = 0.1, |
| 17 | update_interval = 15.0, |
| 18 | uppercase = true, |
| 19 | double_buffer = true, |
| 20 | draw_shades = false, |
| 21 | -- default_shade_color = '000000', |
| 22 | default_color = 'ffbf00', |
| 23 | color1 = '1d1d1d' |
| 24 | -- #2d2d2d |
| 25 | -- #4A2B45 |
| 26 | -- #382536 |
| 27 | -- #3F2E2F |
| 28 | -- #000000 |
| 29 | }; |
| 30 | |
| 31 | conky.text = [[ |
| 32 | ${alignc}${color}I T ${color1}L ${color}I S ${color1}A S T I M E |
| 33 | ${alignc}${if_match ${exec date +'%M'} < 35}${if_match ${exec date +'%M'} >= 15}${if_match ${exec date +'%M'} < 20}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +'%M'} >= 15}${if_match ${exec date +'%M'} < 20}${color}${endif}${endif}Q U A R T E R ${color1}D C |
| 34 | ${alignc}${if_match ${exec date +'%M'} >= 20}${if_match ${exec date +'%M'} < 30}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +'%M'} >= 25}${if_match ${exec date +'%M'} < 30}${color}${endif}${else}${color1}${endif}${if_match ${exec date +'%M'} >= 5}${if_match ${exec date +'%M'} < 10}${color}${endif}${endif}F I V E ${color1}X |
| 35 | ${alignc}${if_match ${exec date +'%M'} >= 30}${if_match ${exec date +'%M'} < 35}${color}${endif}${endif}H A L F ${color1}B ${if_match ${exec date +'%M'} >= 10}${if_match ${exec date +'%M'} < 15}${color}${endif}${endif}T E N ${color1}F T O |
| 36 | ${alignc}${else}${if_match ${exec date +'%M'} >= 45}${if_match ${exec date +'%M'} < 50}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +'%M'} >= 45}${if_match ${exec date +'%M'} < 50}${color}${endif}${endif}Q U A R T E R ${color1}D C |
| 37 | ${alignc}${if_match ${exec date +'%M'} >= 35}${if_match ${exec date +'%M'} < 45}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +'%M'} < 40}${if_match ${exec date +'%M'} >= 35}${color}${endif}${else}${color1}${endif}${if_match ${exec date +'%M'} >= 55}${color}${endif}F I V E ${color1}X |
| 38 | ${alignc}H A L F B ${if_match ${exec date +'%M'} >= 50}${if_match ${exec date +'%M'} < 55}${color}${endif}${endif}T E N ${color1}F ${color}T O${color1} |
| 39 | ${alignc}${endif}${if_match ${exec date +'%M'} < 35}${if_match ${exec date +'%M'} >= 5}${color}${endif}${endif}P A S T ${color1}E R U ${if_match ${exec date +'%M'} < 35}${if_match ${exec date +'%I'} == 9}${color}${else}${color1}${endif}N I N E |
| 40 | ${alignc}${if_match ${exec date +'%I'} == 1}${color}${else}${color1}${endif}O N E ${if_match ${exec date +'%I'} == 6}${color}${else}${color1}${endif}S I X ${if_match ${exec date +'%I'} == 3}${color}${else}${color1}${endif}T H R E E |
| 41 | ${alignc}${if_match ${exec date +'%I'} == 4}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +'%I'} == 5}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +'%I'} == 2}${color}${else}${color1}${endif}T W O |
| 42 | ${alignc}${if_match ${exec date +'%I'} == 8}${color}${else}${color1}${endif}E I G H T ${if_match ${exec date +'%I'} == 11}${color}${else}${color1}${endif}E L E V E N |
| 43 | ${alignc}${if_match ${exec date +'%I'} == 7}${color}${else}${color1}${endif}S E V E N ${if_match ${exec date +'%I'} == 12}${color}${else}${color1}${endif}T W E L V E |
| 44 | ${alignc}${if_match ${exec date +'%I'} == 10}${color}${else}${color1}${endif}T E N ${else}${if_match ${exec date +'%I'} == 8}${color}${else}${color1}${endif}N I N E |
| 45 | ${alignc}${if_match ${exec date +'%I'} == 12}${color}${else}${color1}${endif}O N E ${if_match ${exec date +'%I'} == 5}${color}${else}${color1}${endif}S I X ${if_match ${exec date +'%I'} == 2}${color}${else}${color1}${endif}T H R E E |
| 46 | ${alignc}${if_match ${exec date +'%I'} == 3}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +'%I'} == 4}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +'%I'} == 1}${color}${else}${color1}${endif}T W O |
| 47 | ${alignc}${if_match ${exec date +'%I'} == 7}${color}${else}${color1}${endif}E I G H T${if_match ${exec date +'%I'} == 10}${color}${else}${color1}${endif} E L E V E N |
| 48 | ${alignc}${if_match ${exec date +'%I'} == 6}${color}${else}${color1}${endif}S E V E N${if_match ${exec date +'%I'} == 11}${color}${else}${color1}${endif} T W E L V E |
| 49 | ${alignc}${if_match ${exec date +'%I'} == 9}${color}${else}${color1}${endif}T E N ${endif}${color1}S E ${if_match ${exec date +'%M'} < 5}${color}${endif}O C L O C K |
| 50 | ]] |