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.

290 lines
4.2 KiB

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