config 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. # i3blocks config file
  2. #
  3. # Please see man i3blocks for a complete reference!
  4. # The man page is also hosted at http://vivien.github.io/i3blocks
  5. #
  6. # List of valid properties:
  7. #
  8. # align
  9. # color
  10. # command
  11. # full_text
  12. # instance
  13. # interval
  14. # label
  15. # min_width
  16. # name
  17. # separator
  18. # separator_block_width
  19. # short_text
  20. # signal
  21. # urgent
  22. # Global properties
  23. #
  24. # The top properties below are applied to every block, but can be overridden.
  25. # Each block command defaults to the script name to avoid boilerplate.
  26. #
  27. # Keyboard layout(Needs xkblayout).
  28. separator_block_width=15
  29. markup=none
  30. command=$XDG_CONFIG_HOME/i3blocks/$BLOCK_NAME
  31. [keyboard_layout]
  32. interval=1
  33. color=#FF0000
  34. # Volume indicator
  35. #
  36. # The first parameter sets the step (and units to display)
  37. # The second parameter overrides the mixer selection
  38. # See the script for details.
  39. [volume]
  40. #label=VOL
  41. label=♪
  42. instance=Master
  43. #instance=PCM
  44. interval=once
  45. signal=10
  46. color=#22FFFF
  47. # Memory usage
  48. #
  49. # The type defaults to "mem" if the instance is not specified.
  50. [memory]
  51. label=MEM
  52. separator=false
  53. interval=30
  54. color=#FFFF22
  55. [memory]
  56. label=SWAP
  57. instance=swap
  58. separator=false
  59. interval=30
  60. color=#FFFF22
  61. # Disk usage
  62. #
  63. # The directory defaults to $HOME if the instance is not specified.
  64. # The script may be called with a optional argument to set the alert
  65. # (defaults to 10 for 10%).
  66. [disk]
  67. label=HOME
  68. #instance=/mnt/data
  69. interval=30
  70. color=#BB6666
  71. # Network interface monitoring
  72. #
  73. # If the instance is not specified, use the interface used for default route.
  74. # The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
  75. [iface]
  76. #instance=wlan0
  77. color=#00FF00
  78. interval=10
  79. separator=false
  80. [wifi]
  81. #instance=wlp3s0
  82. interval=10
  83. separator=false
  84. [bandwidth]
  85. #instance=eth0
  86. interval=5
  87. color=#FF22FF
  88. # CPU usage (Needs 'sysstat').
  89. #
  90. # The script may be called with -w and -c switches to specify thresholds,
  91. # see the script for details.
  92. [cpu_usage]
  93. label=CPU
  94. interval=1
  95. min_width=CPU: 100.00%
  96. #separator=false
  97. color=#aaFFaa
  98. # Temperature
  99. #
  100. # Support multiple chips, though lm-sensors.
  101. # The script may be called with -w and -c switches to specify thresholds,
  102. # see the script for details.
  103. [temperature]
  104. label=TEMP
  105. interval=10
  106. color=#666699
  107. #[load_average]
  108. #interval=10
  109. # Battery indicator
  110. #
  111. # The battery instance defaults to 0.
  112. [battery]
  113. #label=BAT
  114. label=⚡
  115. #instance=1
  116. interval=30
  117. # Date Time
  118. #
  119. [time]
  120. command=date '+%Y-%m-%d %H:%M:%S'
  121. interval=1
  122. color=#FFaa22
  123. # Generic media player support
  124. #
  125. # This displays "ARTIST - SONG" if a music is playing.
  126. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
  127. #[mediaplayer]
  128. #instance=spotify
  129. #interval=5
  130. #signal=10
  131. # OpenVPN support
  132. #
  133. # Support multiple VPN, with colors.
  134. [openvpn]
  135. interval=20
  136. color=#a9a9bb
  137. # Key indicators
  138. #
  139. # Add the following bindings to i3 config file:
  140. #
  141. # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
  142. # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
  143. #[keyindicator]
  144. #instance=CAPS
  145. #interval=once
  146. #signal=11
  147. #[keyindicator]
  148. #instance=NUM
  149. #interval=once
  150. #signal=11