Advertisement
nenoro

i3blocks

Apr 14th, 2024
821
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.96 KB | None | 0 0
  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.  
  23. # Global properties
  24. #
  25. # The top properties below are applied to every block, but can be overridden.
  26. # Each block command defaults to the script name to avoid boilerplate.
  27. command=/usr/libexec/i3blocks/$BLOCK_NAME
  28. separator_block_width=15
  29. markup=none
  30.  
  31. # Volume indicator
  32. #
  33. # The first parameter sets the step (and units to display)
  34. # The second parameter overrides the mixer selection
  35. # See the script for details.
  36. [volume]
  37. #label=VOL
  38. label=♪
  39. instance=Master
  40. #instance=PCM
  41. interval=1
  42. signal=10
  43.  
  44. # Memory usage
  45. #
  46. # The type defaults to "mem" if the instance is not specified.
  47. [memory]
  48. label=MEM:
  49. separator=false
  50. interval=1
  51.  
  52. #[memory]
  53. #label=SWAP
  54. #instance=swap
  55. #separator=false
  56. #interval=30
  57.  
  58. # Disk usage
  59. #
  60. # The directory defaults to $HOME if the instance is not specified.
  61. # The script may be called with a optional argument to set the alert
  62. # (defaults to 10 for 10%).
  63. [disk]
  64. label=HOME:
  65. instance=/home
  66. interval=30
  67.  
  68. [disk]
  69. label=Root:
  70. instance=/
  71. interval=30
  72.  
  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.  
  83. [wifi]
  84. #instance=wlp3s0
  85. #interval=10
  86. #separator=false
  87.  
  88. [bandwidth]
  89. #instance=eth0
  90. #interval=5
  91.  
  92. # CPU usage
  93. #
  94. # The script may be called with -w and -c switches to specify thresholds,
  95. # see the script for details.
  96. [cpu_usage]
  97. label=CPU:
  98. interval=10
  99. min_width=CPU: 100.00%
  100. #separator=false
  101.  
  102. #[load_average]
  103. #interval=10
  104.  
  105. # Battery indicator
  106. #
  107. # The battery instance defaults to 0.
  108. #[battery]
  109. #label=BAT
  110. #label=⚡
  111. #instance=1
  112. #interval=30
  113.  
  114. # Date Time
  115. #
  116. [time]
  117. command=date '+%r - %A %B %d %Y'
  118. interval=1
  119.  
  120. # Generic media player support
  121. #
  122. # This displays "ARTIST - SONG" if a music is playing.
  123. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
  124. #[mediaplayer]
  125. #instance=spotify
  126. #interval=5
  127. #signal=10
  128.  
  129. # OpenVPN support
  130. #
  131. # Support multiple VPN, with colors.
  132. #[openvpn]
  133. #interval=20
  134.  
  135. # Temperature
  136. #
  137. # Support multiple chips, though lm-sensors.
  138. # The script may be called with -w and -c switches to specify thresholds,
  139. # see the script for details.
  140. #[temperature]
  141. #label=TEMP:
  142. #interval=10
  143.  
  144. # Key indicators
  145. #
  146. # Add the following bindings to i3 config file:
  147. #
  148. # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
  149. # bindsym --release Num_Lock  exec pkill -SIGRTMIN+11 i3blocks
  150. #[keyindicator]
  151. #instance=CAPS
  152. #interval=once
  153. #signal=11
  154.  
  155. #[keyindicator]
  156. #instance=NUM
  157. #interval=once
  158. #signal=11
  159.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement