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.

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