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.

308 lines
4.6 KiB

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