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.

257 lines
3.8 KiB

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