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.

182 lines
3.0 KiB

  1. # The top properties below are applied to every block, but can be overridden.
  2. # Each block command defaults to the script name to avoid boilerplate.
  3. align=center
  4. command=~/.config/i3blocks/scripts/$BLOCK_NAME
  5. separator=true
  6. separator_block_width=25
  7. markup=pango
  8. color=#cbe4ff
  9. {{ if eq .chezmoi.fullHostname "nzxt" }}
  10. [volume]
  11. interval=once
  12. signal=1
  13. interval=60
  14. [spotify]
  15. label=
  16. LONG_NAME=
  17. SHORT_NAME=
  18. interval=5
  19. {{ end }}
  20. {{ if eq .chezmoi.fullHostname "x1-carbon" }}
  21. [battery]
  22. label=⚡
  23. interval=30
  24. [wifi]
  25. label=
  26. instance=wlp3s0
  27. interval=10
  28. [backlight]
  29. label=
  30. interval=5
  31. {{ end }}
  32. [calendar]
  33. interval=30
  34. label=
  35. {{ if eq .chezmoi.fullHostname "nzxt" }}
  36. DATEFMT=+%H:%M
  37. {{ else }}
  38. DATEFMT=+%H:%M.%a-%m-%d
  39. {{ end }}
  40. # SHORTFMT=+%H:%M:%S
  41. HEIGHT=180
  42. WIDTH=220
  43. {{ if eq .chezmoi.fullHostname "nzxt" }}
  44. [temperature]
  45. label=
  46. interval=5
  47. # unbold this?
  48. # [load_average]
  49. # label=
  50. # interval=5
  51. # color=#990000
  52. {{ end }}
  53. [cpu_usage]
  54. label=
  55. interval=5
  56. {{ if eq .chezmoi.fullHostname "nzxt" }}
  57. [memory]
  58. label=
  59. # color=#3da061
  60. interval=5
  61. [name]
  62. label=
  63. interval=30
  64. {{ end }}
  65. # unused blocks #
  66. # [memory]
  67. # label=SWAP
  68. # instance=swap
  69. # separator=false
  70. # interval=30
  71. # Disk usage
  72. #
  73. # The directory defaults to $HOME if the instance is not specified.
  74. # The script may be called with a optional argument to set the alert
  75. # (defaults to 10 for 10%).
  76. # [disk]
  77. # label=HOME
  78. # #instance=/mnt/data
  79. # interval=30
  80. # Network interface monitoring
  81. #
  82. # If the instance is not specified, use the interface used for default route.
  83. # The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
  84. # [iface]
  85. # #instance=wlan0
  86. # color=#00FF00
  87. # interval=10
  88. # separator=false
  89. # [bandwidth]
  90. # #instance=eth0
  91. # interval=5
  92. # Battery indicator
  93. #
  94. # The battery instance defaults to 0.
  95. # [battery]
  96. # label=BAT
  97. # #label=
  98. # #instance=1
  99. # interval=30
  100. # Generic media player support
  101. #
  102. # This displays "ARTIST - SONG" if a music is playing.
  103. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
  104. #[mediaplayer]
  105. #instance=spotify
  106. #interval=5
  107. #signal=10
  108. # OpenVPN support
  109. #
  110. # Support multiple VPN, with colors.
  111. #[openvpn]
  112. #interval=20
  113. # Temperature
  114. #
  115. # Support multiple chips, though lm-sensors.
  116. # The script may be called with -w and -c switches to specify thresholds,
  117. # see the script for details.
  118. #[temperature]
  119. #label=TEMP
  120. #interval=10
  121. # Key indicators
  122. #
  123. # Add the following bindings to i3 config file:
  124. #
  125. # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
  126. # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
  127. #[keyindicator]
  128. #instance=CAPS
  129. #interval=once
  130. #signal=11
  131. #[keyindicator]
  132. #instance=NUM
  133. #interval=once
  134. #signal=11
  135. # unused blocks #
  136. # list of properties #
  137. # i3blocks config file
  138. #
  139. # Please see man i3blocks for a complete reference!
  140. # The man page is also hosted at http://vivien.github.io/i3blocks
  141. #
  142. # List of valid properties:
  143. #
  144. # align
  145. # color
  146. # command
  147. # full_text
  148. # instance
  149. # interval
  150. # label
  151. # min_width
  152. # name
  153. # separator
  154. # separator_block_width
  155. # short_text
  156. # signal
  157. # urgent
  158. # properties #