Advertisement
elhackerlibre

i3blocks.conf

Jul 17th, 2016
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 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/lib/i3blocks/$BLOCK_NAME
  28. separator_block_width=15
  29. markup=none
  30.  
  31. [host]
  32. label=:
  33. command=uname -r
  34. #color=#03A9F4
  35. interval=once
  36.  
  37. [weather]
  38. instance=3647651
  39. interval=60
  40. #color=#00BCD4
  41.  
  42. # Memory usage
  43. #
  44. # The type defaults to "mem" if the instance is not specified.
  45. [memory]
  46. label=:
  47. command=/usr/lib/i3blocks/memory
  48. #color=#00DCC2
  49. instance=mem
  50. interval=30
  51. separator=true
  52.  
  53. [memory]
  54. label=:
  55. command=/usr/lib/i3blocks/memory swap
  56. #color=#0DF48E
  57. instance=swap
  58. interval=30
  59. separator=true
  60.  
  61. # CPU usage
  62. #
  63. # The script may be called with -w and -c switches to specify thresholds,
  64. # see the script for details.
  65. [cpu_usage]
  66. label=:
  67. command=/usr/lib/i3blocks/cpu_usage
  68. #color=#22C701
  69. interval=10
  70. #min_width=CPU:100%
  71. separator=true
  72.  
  73. [uptime_label]
  74. label=:
  75. command=~/.config/i3/blocks/uptime
  76. #color=#5FFB05
  77. interval=60
  78.  
  79. [temp]
  80. label=:
  81. command=echo `sensors -A | grep -oP '^Core.+? \+\K\d+' | awk '{k+=$1}END{print k/NR}'` °C
  82. #color=#8FC830
  83. interval=10
  84.  
  85. # Disk usage
  86. #
  87. # The directory defaults to $HOME if the instance is not specified.
  88. # The script may be called with a optional argument to set the alert
  89. # (defaults to 10 for 10%).
  90.  
  91. [disk-home]
  92. label=:
  93. command=/usr/lib/i3blocks/disk $HOME
  94. #color=#C6D927
  95. instance=/home/virus69
  96. interval=30
  97.  
  98. [disk-root]
  99. label=:
  100. command=/usr/lib/i3blocks/disk_root
  101. #color=#FFE700
  102. instance=/
  103. interval=30
  104.  
  105. # Network interface monitoring
  106. #
  107. # If the instance is not specified, use the interface used for default route.
  108. # The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
  109.  
  110. #[iface]
  111. #instance=wlan0
  112. #label=:
  113. #command=/usr/lib/i3blocks/iface
  114. #color=#6D0A63
  115. #interval=10
  116. #separator=false
  117.  
  118. [wifi]
  119. instance=wlan0
  120. label=:
  121. command=/usr/lib/i3blocks/wifi
  122. #color=#DA9329
  123. interval=10
  124. #separator=true
  125.  
  126. #[bandwidth]
  127. #instance=eth0
  128. #label=:
  129. #interval=5
  130.  
  131. # Volume indicator
  132. #
  133. # The first parameter sets the step (and units to display)
  134. # The second parameter overrides the mixer selection
  135. # See the script for details.
  136.  
  137. [volume]
  138. label=:
  139. command=/usr/lib/i3blocks/volume
  140. #color=#D9482A
  141. interval=2
  142. signal=10
  143.  
  144. # Date Time
  145. #
  146. [time]
  147. label=
  148. command=date '+%a-%d-%b-%Y'
  149. interval=5
  150. #color=#DC1D26
  151. #99A1FB
  152. #00B7DC
  153. #56E4F5
  154.  
  155. [time]
  156. label=
  157. command=date '+%I:%M %p'
  158. interval=5
  159. #color=#CC35AF
  160. #00DCC2,#00DCA6,#00FCBD
  161.  
  162. [music]
  163. label=♪
  164. command=mpc current
  165. #color=#7F37FF
  166. interval=20
  167.  
  168. # ----- Desactivated -----#
  169.  
  170. #[load_average]
  171. #label=
  172. #command=/usr/lib/i3blocks/load_average
  173. #color=#FFE700
  174. #interval=10
  175.  
  176. # Temperature
  177. #
  178. # Support multiple chips, though lm-sensors.
  179. # The script may be called with -w and -c switches to specify thresholds,
  180. # see the script for details.
  181.  
  182. #[temperature]
  183. #label=
  184. #command=/usr/lib/i3blocks/temperature
  185. #interval=10
  186.  
  187. # Battery indicator
  188. #
  189. # The battery instance defaults to 0.
  190. #[battery]
  191. #label=BAT
  192. #label=⚡
  193. #instance=1
  194. interval=30
  195.  
  196. # Generic media player support
  197. #
  198. # This displays "ARTIST - SONG" if a music is playing.
  199. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
  200. #[mediaplayer]
  201. #label=
  202. #instance=ncmpcpp
  203. #interval=5
  204. #signal=10
  205.  
  206. # OpenVPN support
  207. #
  208. # Support multiple VPN, with colors.
  209. #[openvpn]
  210. #interval=20
  211.  
  212. # Key indicators
  213. #
  214. # Add the following bindings to i3 config file:
  215. #
  216. # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
  217. # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
  218. #[keyindicator]
  219. #instance=CAPS
  220. #interval=once
  221. #signal=11
  222.  
  223. #[keyindicator]
  224. #instance=NUM
  225. #interval=once
  226. #signal=11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement