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.

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