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.

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