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.

319 lines
4.7 KiB

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