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.

245 lines
3.7 KiB

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