i3blocks.conf 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. command=/usr/share/i3blocks/$BLOCK_NAME
  27. separator_block_width=15
  28. markup=none
  29. #mediaplayer using playerctl
  30. [mediaplayer]
  31. instance=spotify
  32. interval=5
  33. signal=10
  34. #Shackspace
  35. #
  36. #Shows if shackspace is open using the shackspace api
  37. [Shack]
  38. command=sh shackspace.sh button=$BlOCK_BUTTON
  39. interval=300
  40. # Volume indicator
  41. #
  42. # The first parameter sets the step (and units to display)
  43. # The second parameter overrides the mixer selection
  44. # See the script for details.
  45. [volume]
  46. label=VOL
  47. label=♪
  48. instance=Master
  49. #instance=PCM
  50. interval=1
  51. signal=10
  52. # Memory usage
  53. #
  54. # The type defaults to "mem" if the instance is not specified.
  55. [memory]
  56. label=MEM
  57. separator=false
  58. interval=30
  59. #[memory]
  60. #label=SWAP
  61. #instance=swap
  62. #separator=false
  63. #interval=30
  64. # Disk usage
  65. #
  66. # The directory defaults to $HOME if the instance is not specified.
  67. # The script may be called with a optional argument to set the alert
  68. # (defaults to 10 for 10%).
  69. #[disk]
  70. #label=HOME
  71. #instance=/mnt/data
  72. #interval=30
  73. # Network interface monitoring
  74. #
  75. # If the instance is not specified, use the interface used for default route.
  76. # The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
  77. [iface]
  78. #instance=wlan0
  79. color=#00FF00
  80. interval=10
  81. separator=false
  82. [wifi]
  83. #instance=wlp3s0
  84. interval=10
  85. separator=false
  86. [bandwidth]
  87. #instance=eth0
  88. interval=5
  89. # CPU usage
  90. #
  91. # The script may be called with -w and -c switches to specify thresholds,
  92. # see the script for details.
  93. [cpu_usage]
  94. label=CPU
  95. interval=10
  96. min_width=CPU: 100.00%
  97. #separator=false
  98. #[load_average]
  99. #interval=10
  100. # Battery indicator
  101. #
  102. # The battery instance defaults to 0.
  103. [battery]
  104. #label=BAT
  105. label=⚡
  106. instance=0
  107. interval=30
  108. # Date Time
  109. #
  110. #[time]
  111. #command=date '+%Y-%m-%d %H:%M:%S'
  112. #interval=5
  113. # Generic media player support
  114. #
  115. # This displays "ARTIST - SONG" if a music is playing.
  116. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
  117. #[mediaplayer]
  118. #instance=spotify
  119. #interval=5
  120. #signal=10
  121. # OpenVPN support
  122. #
  123. # Support multiple VPN, with colors.
  124. [openvpn]
  125. interval=20
  126. [calendar]
  127. command=i3blocks/calendar
  128. label=
  129. interval=1
  130. [shutdown_menu]
  131. full_text=Quit
  132. command=./shutdown_menu; echo Quit
  133. # Temperature
  134. #
  135. # Support multiple chips, though lm-sensors.
  136. # The script may be called with -w and -c switches to specify thresholds,
  137. # see the script for details.
  138. #[temperature]
  139. #label=TEMP
  140. #interval=10
  141. # Key indicators
  142. #
  143. # Add the following bindings to i3 config file:
  144. #
  145. # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
  146. # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
  147. #[keyindicator]
  148. #instance=CAPS
  149. #interval=30
  150. #signal=11
  151. #[keyindicator]
  152. #instance=NUM
  153. #interval=30
  154. #signal=11