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.

307 lines
4.5 KiB

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