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.

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