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.

274 lines
4.0 KiB

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