Advertisement
okubax

conky-i3

Feb 28th, 2014
1,079
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1. out_to_x no
  2. out_to_console yes
  3. short_units yes
  4. update_interval 1
  5.  
  6. TEXT
  7.  
  8. [\
  9. # MPD
  10. { "full_text" : ${if_mpd_playing} "now_playing ", "color" : "\#545454", "separator" : false, "separator_block_width" : 3 },\
  11. { "full_text" : "${mpd_artist 20} - ${mpd_title 30}"${else}""${endif}, "color" : "\#909737", "min_width" : 300, "separator" : false, "separator_block_width" : 3 },\
  12. # CPU temperature:
  13. {"full_text":"CPU","color":"\#545454","separator":false,"separator_block_width":6},\
  14. {"full_text":"${if_match ${acpitemp}<45}${acpitemp}°C","color":"\#909737","separator":false,"separator_block_width":6},\
  15. {"full_text":"${else}"},\
  16. {"full_text":"${if_match ${acpitemp}<55}${acpitemp}°C","color":"\#b27d12","separator":false,"separator_block_width":6},\
  17. {"full_text":"${else}"},\
  18. {"full_text":"${if_match ${acpitemp}>=55}${acpitemp}°C","color":"\#802828","separator":false,"separator_block_width":6},\
  19. {"full_text":"${else}"},\
  20. {"full_text":"${endif}${endif}${endif}"},\
  21. # Download:
  22. {"full_text":"DOWN","color":"\#545454","separator":false,"separator_block_width":6},\
  23. {"full_text":"${if_match ${downspeedf wlo1}<1000}${downspeed wlo1}","color":"\#909737","separator":false,"separator_block_width":6},\
  24. {"full_text":"${else}"},\
  25. {"full_text":"${if_match ${downspeedf wlo1}<3000}${downspeed wlo1}","color":"\#b27d12","separator":false,"separator_block_width":6},\
  26. {"full_text":"${else}"},\
  27. {"full_text":"${if_match ${downspeedf wlo1}>=3000}${downspeed wlo1}","color":"\#802828","separator":false,"separator_block_width":6},\
  28. {"full_text":"${endif}${endif}${endif}"},\
  29. # Upload:
  30. {"full_text":"UP","color":"\#545454","separator":false,"separator_block_width":6},\
  31. {"full_text":"${if_match ${upspeedf wlo1}<300}${upspeed wlo1}","color":"\#909737","separator":false,"separator_block_width":6},\
  32. {"full_text":"${else}"},\
  33. {"full_text":"${if_match ${upspeedf wlo1}<800}${upspeed wlo1}","color":"\#b27d12","separator":false,"separator_block_width":6},\
  34. {"full_text":"${else}"},\
  35. {"full_text":"${if_match ${upspeedf wlo1}>=800}${upspeed wlo1}","color":"\#802828","separator":false,"separator_block_width":6},\
  36. {"full_text":"${endif}${endif}${endif}"},\
  37. # Memory:
  38. {"full_text":"MEM","color":"\#545454","separator":false,"separator_block_width":6},\
  39. {"full_text":"${if_match ${memperc}<30}${memeasyfree}","color":"\#909737","separator":false,"separator_block_width":6},\
  40. {"full_text":"${else}"},\
  41. {"full_text":"${if_match ${memperc}<70}${memeasyfree}","color":"\#b27d12","separator":false,"separator_block_width":6},\
  42. {"full_text":"${else}"},\
  43. {"full_text":"${if_match ${memperc}>=70}${memeasyfree}","color":"\#802828","separator":false,"separator_block_width":6},\
  44. {"full_text":"${endif}${endif}${endif}"},\
  45. # CPU:
  46. {"full_text":"CPU","color":"\#545454","separator":false,"separator_block_width":6},\
  47. {"full_text":"${if_match ${cpu cpu0}<50}${cpu cpu0}%","color":"\#909737","separator":false,"separator_block_width":6},\
  48. {"full_text":"${else}"},\
  49. {"full_text":"${if_match ${cpu cpu0}<60E}${cpu cpu0}%","color":"\#b27d12","separator":false,"separator_block_width":6},\
  50. {"full_text":"${else}"},\
  51. {"full_text":"${if_match ${cpu cpu0}<=100}${cpu cpu0}%","color":"\#802828","separator":false,"separator_block_width":6},\
  52. {"full_text":"${endif}${endif}${endif}"},\
  53. # Weather:
  54. #{"full_text":"☂","color":"\#545454","separator":false,"separator_block_width":6},\
  55. #{"full_text":"${execi 300 ~/bin/weather_simple "EUR|UK|UK241|LONDON"}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
  56. # Mail:
  57. {"full_text":"MAIL","color":"\#545454","separator":false,"separator_block_width":6},\
  58. {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}<=0}${execpi 60 python ~/bin/gmail.py}","color":"\#909737","separator":false,"separator_block_width":6},\
  59. {"full_text":"${else}"},\
  60. {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}<2}${execpi 60 python ~/bin/gmail.py}","color":"\#b27d12","separator":false,"separator_block_width":6},\
  61. {"full_text":"${else}"},\
  62. {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}>2}${execpi 60 python ~/bin/gmail.py}","color":"\#802828","separator":false,"separator_block_width":6},\
  63. {"full_text":"${endif}${endif}${endif}"},\
  64. # Battery:
  65. {"full_text":"BAT","color":"\#545454","separator":false,"separator_block_width":6},\
  66. {"full_text":"${if_match ${battery_percent}<30}${battery_percent}%","color":"\#802828","separator":false,"separator_block_width":6},\
  67. {"full_text":"${else}"},\
  68. {"full_text":"${if_match ${battery_percent}<70}${battery_percent}%","color":"\#b27d12","separator":false,"separator_block_width":6},\
  69. {"full_text":"${else}"},\
  70. {"full_text":"${if_match ${battery_percent}>=70}${battery_percent}%","color":"\#909737","separator":false,"separator_block_width":6},\
  71. {"full_text":"${endif}${endif}${endif}"},\
  72. # Dropbox
  73. {"full_text":"DB","color":"\#545454","separator":false,"separator_block_width":6},\
  74. {"full_text":"${execi 6 dropbox status | sed -n 1p}","color":"\#909737","separator":false},\
  75. # Volume:
  76. {"full_text":"VOL","color":"\#545454","separator":false,"separator_block_width":6},\
  77. {"full_text":"${execi 1 amixer sget Master,0 | egrep -o '([0-9]+%|\[(on|off)\])' | sed ':a;N;$!ba;s/\n/ /g'}","color":"\#909737","separator":false},\
  78. # Date:
  79. {"full_text":"|","color":"\#545454","separator":false,"separator_block_width":6},\
  80. {"full_text":"${time %D}","color":"\#aaaaaa","separator":false,"separator_block_width":6},\
  81. # Time:
  82. {"full_text":"|","color":"\#545454","separator":false,"separator_block_width":6},\
  83. {"full_text":"${time %H:%M}","color":"\#aaaaaa","separator":false}\
  84. ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement