back_cal.conkyrc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. conky.config = {
  2. -- Window settings
  3. own_window = true,
  4. own_window_type = 'override',
  5. own_window_class = 'Conky',
  6. own_window_hints = undecorated,below,sticky,skip_taskbar,skip_pager,
  7. double_buffer = true,
  8. -- Compton doesn't like conky transparent, so this is the fix
  9. -- http://conky.pitstop.free.fr/wiki/index.php5?title=Transparency_in_conky_(en)
  10. own_window_transparent = false,
  11. own_window_argb_visual = true,
  12. own_window_argb_value = 0,
  13. -- fiddle with window
  14. use_spacer = 'none',
  15. use_xft = true,
  16. -- Update interval in seconds
  17. update_interval = 300.0,
  18. -- Draw shades?
  19. draw_shades = false,
  20. -- Text stuff
  21. draw_outline = false, -- # amplifies text if true
  22. draw_borders = false,
  23. font = 'PragmataPro:size=7',
  24. uppercase = false,
  25. -- Default colors and also border colors, grey90 == #e5e5e5
  26. default_color = 'grey',
  27. -- Text alignment, other possible values are commented
  28. -- #alignment = 'top_left',
  29. -- #alignment = 'top_right',
  30. alignment = 'bottom_left',
  31. -- #alignment = 'bottom_right',
  32. -- Gap between borders of screen and text
  33. -- The default size is a bit large
  34. gap_x = 10,
  35. gap_y = 10,
  36. -- Set monitor
  37. -- 0 for main/primary?
  38. xinerama_head = 0,
  39. }
  40. --[[
  41. -- Displays hkal calendar. vdirsyncer pulls from my online cal.
  42. ]]
  43. conky.text = [[
  44. $color
  45. ${color grey90}Calendar ${hr 2}$color
  46. #${exec khal --no-color calendar today 30d | head -n 15}
  47. ${exec khal --no-color calendar today 30d --exclude-calendar demure_work_local --format "{start-time}-{end-time} {title}{repeat-symbol}" | head -n 15}
  48. ]];