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.

210 lines
3.3 KiB

  1. # vim: fdm=marker ft=conf.go-template
  2. # global [[[ #
  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 #
  12. # volume/spotify [[[ #
  13. {{ if eq .chezmoi.fullHostname "nzxt" }}
  14. [volume]
  15. interval=once
  16. signal=1
  17. interval=60
  18. [spotify]
  19. label=
  20. LONG_NAME=
  21. SHORT_NAME=
  22. interval=5
  23. {{ end }}
  24. # ]]] volume/spotify #
  25. # laptop [[[ #
  26. {{ if eq .chezmoi.fullHostname "x1-carbon" }}
  27. [battery]
  28. label=⚡
  29. interval=30
  30. [wifi]
  31. label=
  32. instance=wlp3s0
  33. interval=10
  34. [backlight]
  35. label=
  36. interval=5
  37. {{ end }}
  38. # ]]] laptop #
  39. # time [[[ #
  40. [calendar]
  41. interval=30
  42. label=
  43. {{ if eq .chezmoi.fullHostname "nzxt" }}
  44. DATEFMT=+%H:%M
  45. {{ else }}
  46. DATEFMT=+%H:%M.%a-%m-%d
  47. {{ end }}
  48. # SHORTFMT=+%H:%M:%S
  49. HEIGHT=180
  50. WIDTH=220
  51. # ]]] time #
  52. # sys.monitoring [[[ #
  53. {{ if eq .chezmoi.fullHostname "nzxt" }}
  54. [temperature]
  55. label=
  56. interval=5
  57. # unbold this?
  58. # [load_average]
  59. # label=
  60. # interval=5
  61. # color=#990000
  62. {{ end }}
  63. [cpu_usage]
  64. label=
  65. interval=5
  66. {{ if eq .chezmoi.fullHostname "nzxt" }}
  67. [memory]
  68. label=
  69. # color=#3da061
  70. interval=5
  71. # ]]] sys.monitoring #
  72. # name [[[ #
  73. [name]
  74. label=
  75. interval=30
  76. {{ end }}
  77. # ]]] name #
  78. # unused blocks [[[ #
  79. # [memory]
  80. # label=SWAP
  81. # instance=swap
  82. # separator=false
  83. # interval=30
  84. # Disk usage
  85. #
  86. # The directory defaults to $HOME if the instance is not specified.
  87. # The script may be called with a optional argument to set the alert
  88. # (defaults to 10 for 10%).
  89. # [disk]
  90. # label=HOME
  91. # #instance=/mnt/data
  92. # interval=30
  93. # Network interface monitoring
  94. #
  95. # If the instance is not specified, use the interface used for default route.
  96. # The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
  97. # [iface]
  98. # #instance=wlan0
  99. # color=#00FF00
  100. # interval=10
  101. # separator=false
  102. # [bandwidth]
  103. # #instance=eth0
  104. # interval=5
  105. # Battery indicator
  106. #
  107. # The battery instance defaults to 0.
  108. # [battery]
  109. # label=BAT
  110. # #label=
  111. # #instance=1
  112. # interval=30
  113. # Generic media player support
  114. #
  115. # This displays "ARTIST - SONG" if a music is playing.
  116. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
  117. #[mediaplayer]
  118. #instance=spotify
  119. #interval=5
  120. #signal=10
  121. # OpenVPN support
  122. #
  123. # Support multiple VPN, with colors.
  124. #[openvpn]
  125. #interval=20
  126. # Temperature
  127. #
  128. # Support multiple chips, though lm-sensors.
  129. # The script may be called with -w and -c switches to specify thresholds,
  130. # see the script for details.
  131. #[temperature]
  132. #label=TEMP
  133. #interval=10
  134. # Key indicators
  135. #
  136. # Add the following bindings to i3 config file:
  137. #
  138. # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
  139. # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
  140. #[keyindicator]
  141. #instance=CAPS
  142. #interval=once
  143. #signal=11
  144. #[keyindicator]
  145. #instance=NUM
  146. #interval=once
  147. #signal=11
  148. # ]]] unused blocks #
  149. # properties [[[ #
  150. # i3blocks config file
  151. #
  152. # Please see man i3blocks for a complete reference!
  153. # The man page is also hosted at http://vivien.github.io/i3blocks
  154. #
  155. # List of valid properties:
  156. #
  157. # align
  158. # color
  159. # command
  160. # full_text
  161. # instance
  162. # interval
  163. # label
  164. # min_width
  165. # name
  166. # separator
  167. # separator_block_width
  168. # short_text
  169. # signal
  170. # urgent
  171. # ]]] properties #