Advertisement
Guest User

Untitled

a guest
Oct 9th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 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. # 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=once
  42. signal=10
  43.  
  44. [weather]
  45. label=
  46. command=/usr/bin/node /home/benni/node-weather/index.js | awk '{print "<span color=\"#ffffff\">"$0"</span>"}'
  47. markup=pango
  48. interval=1800
  49. color=#1D99BC
  50.  
  51. [cpu_temp]
  52. label=
  53. command=sensors | grep "Physical id 0:" | awk '{print $4}' | cut -c2- | awk '{print "<span color=\"#ffffff\">"$0"</span>"}'
  54. markup=pango
  55. interval=15
  56. color=#1D99BC
  57.  
  58. [keyboard]
  59. label=
  60. command=setxkbmap -query | grep layout | awk '{print "<span color=\"#ffffff\">"$2"</span>"}'
  61. markup=pango
  62. interval=30
  63. color=#1D99BC
  64.  
  65. # Memory usage
  66. #
  67. # The type defaults to "mem" if the instance is not specified.
  68. [memory]
  69. label=
  70. separator=true
  71. interval=30
  72. color=#1D99BC
  73. command=/usr/lib/i3blocks/memory | awk '{print "<span color=\"#ffffff\">"$1"</span>"}'
  74. markup=pango
  75.  
  76. # Disk usage
  77. #
  78. # The directory defaults to $HOME if the instance is not specified.
  79. # The script may be called with a optional argument to set the alert
  80. # (defaults to 10 for 10%).
  81. [disk]
  82. label=
  83. #instance=/mnt/data
  84. interval=30
  85. color=#1D99BC
  86. markup=pango
  87. command=/usr/lib/i3blocks/disk | awk '{print "<span color=\"#ffffff\">"$1"</span>"}'
  88.  
  89. # Network interface monitoring
  90. #
  91. # If the instance is not specified, use the interface used for default route.
  92. # The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
  93. [iface]
  94. label=
  95. interval=10
  96. separator=true
  97. color=#1D99BC
  98. markup=pango
  99. command=/usr/lib/i3blocks/iface | awk '{print "<span color=\"#ffffff\">"$1"</span>"}'
  100.  
  101. [wifi]
  102. #instance=wlp3s0
  103. interval=10
  104. separator=true
  105.  
  106. [bandwidth]
  107. label=
  108. #instance=eth0
  109. interval=5
  110. color=#1D99BC
  111. markup=pango
  112. command=/usr/lib/i3blocks/bandwidth | awk '{print "<span color=\"#ffffff\">"$0"</span>"}'
  113.  
  114. # CPU usage
  115. #
  116. # The script may be called with -w and -c switches to specify thresholds,
  117. # see the script for details.
  118. [cpu_usage]
  119. label=CPU
  120. interval=10
  121. min_width=CPU: 100.00%
  122. #separator=false
  123.  
  124. #[load_average]
  125. #interval=10
  126.  
  127. # Battery indicator
  128. #
  129. # The battery instance defaults to 0.
  130. [battery]
  131. label=BAT
  132. #label=⚡
  133. #instance=1
  134. interval=30
  135.  
  136. # Date Time
  137. #
  138. [time]
  139. label=
  140. interval=5
  141. separator=true
  142. color=#1D99BC
  143. markup=pango
  144. command=date '+%d.%m.%Y %H:%M:%S' | awk '{print "<span color=\"#ffffff\">"$0"</span>"}'
  145.  
  146. # Generic media player support
  147. #
  148. # This displays "ARTIST - SONG" if a music is playing.
  149. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
  150. #[mediaplayer]
  151. #instance=spotify
  152. #interval=5
  153. #signal=10
  154.  
  155. # OpenVPN support
  156. #
  157. # Support multiple VPN, with colors.
  158. #[openvpn]
  159. #interval=20
  160.  
  161. # Temperature
  162. #
  163. # Support multiple chips, though lm-sensors.
  164. # The script may be called with -w and -c switches to specify thresholds,
  165. # see the script for details.
  166. #[temperature]
  167. #label=TEMP
  168. #interval=10
  169.  
  170. # Key indicators
  171. #
  172. # Add the following bindings to i3 config file:
  173. #
  174. # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
  175. # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
  176. #[keyindicator]
  177. #instance=CAPS
  178. #interval=once
  179. #signal=11
  180.  
  181. #[keyindicator]
  182. #instance=NUM
  183. #interval=once
  184. #signal=11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement