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.

302 lines
4.5 KiB

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