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.

215 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. [wifi]
  55. label=
  56. instance=wlp4s0
  57. interval=10
  58. [temperature]
  59. label=
  60. interval=5
  61. # unbold this?
  62. # [load_average]
  63. # label=
  64. # interval=5
  65. # color=#990000
  66. {{ end }}
  67. [cpu_usage]
  68. label=
  69. interval=5
  70. {{ if eq .chezmoi.fullHostname "nzxt" }}
  71. [memory]
  72. label=
  73. # color=#3da061
  74. interval=5
  75. # ]]] sys.monitoring #
  76. # name [[[ #
  77. [name]
  78. label=
  79. interval=30
  80. {{ end }}
  81. # ]]] name #
  82. # unused blocks [[[ #
  83. # [memory]
  84. # label=SWAP
  85. # instance=swap
  86. # separator=false
  87. # interval=30
  88. # Disk usage
  89. #
  90. # The directory defaults to $HOME if the instance is not specified.
  91. # The script may be called with a optional argument to set the alert
  92. # (defaults to 10 for 10%).
  93. # [disk]
  94. # label=HOME
  95. # #instance=/mnt/data
  96. # interval=30
  97. # Network interface monitoring
  98. #
  99. # If the instance is not specified, use the interface used for default route.
  100. # The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
  101. # [iface]
  102. # #instance=wlan0
  103. # color=#00FF00
  104. # interval=10
  105. # separator=false
  106. # [bandwidth]
  107. # #instance=eth0
  108. # interval=5
  109. # Battery indicator
  110. #
  111. # The battery instance defaults to 0.
  112. # [battery]
  113. # label=BAT
  114. # #label=
  115. # #instance=1
  116. # interval=30
  117. # Generic media player support
  118. #
  119. # This displays "ARTIST - SONG" if a music is playing.
  120. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
  121. #[mediaplayer]
  122. #instance=spotify
  123. #interval=5
  124. #signal=10
  125. # OpenVPN support
  126. #
  127. # Support multiple VPN, with colors.
  128. #[openvpn]
  129. #interval=20
  130. # Temperature
  131. #
  132. # Support multiple chips, though lm-sensors.
  133. # The script may be called with -w and -c switches to specify thresholds,
  134. # see the script for details.
  135. #[temperature]
  136. #label=TEMP
  137. #interval=10
  138. # Key indicators
  139. #
  140. # Add the following bindings to i3 config file:
  141. #
  142. # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
  143. # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
  144. #[keyindicator]
  145. #instance=CAPS
  146. #interval=once
  147. #signal=11
  148. #[keyindicator]
  149. #instance=NUM
  150. #interval=once
  151. #signal=11
  152. # ]]] unused blocks #
  153. # properties [[[ #
  154. # i3blocks config file
  155. #
  156. # Please see man i3blocks for a complete reference!
  157. # The man page is also hosted at http://vivien.github.io/i3blocks
  158. #
  159. # List of valid properties:
  160. #
  161. # align
  162. # color
  163. # command
  164. # full_text
  165. # instance
  166. # interval
  167. # label
  168. # min_width
  169. # name
  170. # separator
  171. # separator_block_width
  172. # short_text
  173. # signal
  174. # urgent
  175. # ]]] properties #