Guest User

Untitled

a guest
Apr 21st, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. out_to_x no
  2. own_window no
  3. out_to_console yes
  4. background no
  5. max_text_width 0
  6. update_interval 1.0
  7. total_run_times 0
  8. short_units yes
  9. cpu_avg_samples 4
  10.  
  11. TEXT
  12.  
  13. # JSON for i3bar
  14. [
  15. #mpd
  16. $if_mpd_playing
  17. {
  18. "full_text":"$mpd_status :",
  19. "color":"\#FEA731",
  20. "separator":false,
  21. "separator_block_width":3
  22. },
  23. {
  24. "full_text" : "$mpd_artist-$mpd_title",
  25. "color":"\#DE4A30"
  26. },
  27. $endif
  28. {
  29. "full_text":"home:",
  30. "color":"\#FEA731",
  31. "separator":false,
  32. "separator_block_width":3
  33. },
  34. {
  35. "full_text":"${fs_free /home/alf}",
  36. "color":"\#FEA730"
  37. },
  38. {
  39. "full_text" : "root:",
  40. "color":"\#FEA731",
  41. "separator":false,
  42. "separator_block_width":3
  43. },
  44. { "full_text":"${fs_free /}",
  45. "color":"\#FEA730"
  46. },
  47. ${if_up eth0}
  48. {
  49. "full_text" : "eth0:",
  50. "color" : "\#FEA731",
  51. "separator":false,
  52. "separator_block_width":3
  53. },
  54. { "align":"left",
  55. "min_width":27,
  56. "full_text" : "${downspeed eth0}",
  57. "color" : "\#FEA730",
  58. "separator":false,
  59. "separator_block_width":2
  60. },
  61. $endif
  62. ${if_up ppp0}
  63. {
  64. "align":"left",
  65. "full_text" : "ppp0:",
  66. "color":"\#FEA731",
  67. "separator":false,
  68. "separator_block_width":3
  69. },
  70. {
  71. "align":"left",
  72. "min_width":27,
  73. "full_text":"${downspeed ppp0}",
  74. "color":"\#FEA730"
  75. },
  76. $endif
  77. {
  78. "full_text" : "Cpu:",
  79. "color" : "\#FEA731",
  80. "separator":false,
  81. "separator_block_width":3
  82. },
  83. {
  84. "align":"left",
  85. "min_width":20,
  86. "full_text":"${cpu}%",
  87. "color":"\#FEA730"
  88. },
  89. {
  90. "full_text" : "Mem:",
  91. "color" : "\#FEA731",
  92. "separator":false,
  93. "separator_block_width":3
  94. },
  95. {
  96. "align":"left",
  97. "min_width":20,
  98. "full_text":"${memperc}%",
  99. "color":"\#FEA730"
  100. },
  101. {
  102. "full_text" : "Vol:",
  103. "color" : "\#FEA731 ",
  104. "separator":false,
  105. "separator_block_width":3
  106. },
  107. {
  108. "align":"left",
  109. "min_width":20,
  110. "full_text":"${execi 10 ~/.i3/volume}",
  111. "color":"\#FEA730"
  112. },
  113. {
  114. "align":"left",
  115. "min_width" : 0,
  116. "full_text" : "${time %a %d %b} ",
  117. "color" : "\#FEA731",
  118. "separator":false,
  119. "separator_block_width":0
  120. },
  121. {
  122. "align":"left",
  123. "min_width" : 38,
  124. "full_text" : "${time %H:%M:%S}",
  125. "color" : "\#FEA730",
  126. "separator":false,
  127. "separator_block_width":2
  128. }
  129. ${if_up ppp0}
  130. ,
  131. ${if_match ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ UWSS temperature}>0}
  132. {"full_text" : "+${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ UWSS temperature}°C","color" : "\#FEA731"}
  133. ${endif}
  134. ${if_match ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ UWSS temperature}==0}
  135. {"full_text" : "${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ UWSS temperature}°C", "color" : "\#FFFFFF"}
  136. ${endif}
  137. ${if_match ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ UWSS temperature}<0}
  138. {"full_text" : "${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ UWSS temperature}°C", "color" : "\#2393f3"}
  139. ${endif}
  140. ${endif}
  141. ],
Advertisement
Add Comment
Please, Sign In to add comment