Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1000 B

6 years ago
  1. # vim: fdm=marker ft=conf.go-template
  2. # Global properties [[[ #
  3. # The top properties below are applied to every block, but can be overridden.
  4. # Each block command defaults to the script name to avoid boilerplate.
  5. align=center
  6. command=~/.config/i3blocks/scripts/$BLOCK_NAME
  7. separator=true
  8. separator_block_width=25
  9. markup=pango
  10. color=#cbe4ff
  11. # ]]] Global properties #
  12. # volume/spotify [[[ #
  13. [spotify]
  14. # command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
  15. # label=
  16. label=
  17. # label=🎧
  18. # green
  19. # color=#198c19
  20. # aqua
  21. # color=#2d7272
  22. interval=5
  23. [volume]
  24. interval=once
  25. signal=1
  26. interval=60
  27. # ]]] volume/spotify #
  28. # time [[[ #
  29. [calendar]
  30. interval=30
  31. label=
  32. {{ if eq .chezmoi.fullHostname "nzxt" }}
  33. DATEFMT=+%H:%M.%a-%m-%d
  34. {{ else }}
  35. DATEFMT=+%H:%M
  36. {{ end }}
  37. # SHORTFMT=+%H:%M:%S
  38. SHORTFMT=+%H:%M.%a-%m-%d
  39. HEIGHT=180
  40. WIDTH=220
  41. # ]]] time #
  42. {{ if eq .chezmoi.fullHostname "x1-carbon" }}
  43. [temperature]
  44. label=
  45. interval=5
  46. [name]
  47. label=
  48. interval=30
  49. {{ end }}