back_task.conkyrc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 = 60.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. -- Now uses my custom task report
  42. -- If you just want this to work, you can replace the exec line with:
  43. -- ${alignr}${exec task limit:50}
  44. ]]
  45. conky.text = [[
  46. $color
  47. ${color grey90}Tasks ${hr 2}$color
  48. ${alignr}${exec task next limit:50 rc.report.next.columns=id,depends.count,priority,project,tags,recur.indicator,due.relative,description.count,urgency rc.report.next.labels=ID,Dep,P,Proj,Tags,R,Due,Desc,Urg rc.report.next.sort=urgency-,due 2>/dev/null}
  49. ]];