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.

284 lines
4.1 KiB

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