Advertisement
okubax

i3bar/conky

Jul 18th, 2013
600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 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. # Kernel:
  10. {"full_text":"KERNEL","color":"\#888888","separator":false,"separator_block_width":6},\
  11. {"full_text":"${kernel}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
  12. # CPU temperature:
  13. {"full_text":"CPU TEMP","color":"\#888888","separator":false,"separator_block_width":6},\
  14. {"full_text":"${if_match ${acpitemp}<45}${acpitemp}","color":"\#AAF096","separator":false,"separator_block_width":0},\
  15. {"full_text":"${else}"},\
  16. {"full_text":"${if_match ${acpitemp}<50}${acpitemp}","color":"\#F0DC64","separator":false,"separator_block_width":0},\
  17. {"full_text":"${else}"},\
  18. {"full_text":"${if_match ${acpitemp}<55}${acpitemp}","color":"\#FF9933","separator":false,"separator_block_width":0},\
  19. {"full_text":"${else}"},\
  20. {"full_text":"${if_match ${acpitemp}>=55}${acpitemp}","color":"\#FF3333","separator":false,"separator_block_width":0},\
  21. {"full_text":"${else}"},\
  22. {"full_text":"${endif}${endif}${endif}${endif}"},\
  23. {"full_text":"CĀ°","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
  24. # Download:
  25. {"full_text":"DOWN","color":"\#888888","separator":false,"separator_block_width":6},\
  26. {"full_text":"${if_match ${downspeedf wlo1}<100}${downspeed wlo1}","color":"\#AAF096","separator":false,"separator_block_width":6},\
  27. {"full_text":"${else}"},\
  28. {"full_text":"${if_match ${downspeedf wlo1}<300}${downspeed wlo1}","color":"\#68B1E8","separator":false,"separator_block_width":6},\
  29. {"full_text":"${else}"},\
  30. {"full_text":"${if_match ${downspeedf wlo1}<700}${downspeed wlo1}","color":"\#DB70B8","separator":false,"separator_block_width":6},\
  31. {"full_text":"${else}"},\
  32. {"full_text":"${if_match ${downspeedf wlo1}<1000}${downspeed wlo1}","color":"\#9470DB","separator":false,"separator_block_width":6},\
  33. {"full_text":"${else}"},\
  34. {"full_text":"${if_match ${downspeedf wlo1}>=1000}${downspeed wlo1}","color":"\#FF3333","separator":false,"separator_block_width":6},\
  35. {"full_text":"${endif}${endif}${endif}${endif}${endif}"},\
  36. # Upload:
  37. {"full_text":"UP","color":"\#888888","separator":false,"separator_block_width":6},\
  38. {"full_text":"${if_match ${upspeedf wlo1}<15}${upspeed wlo1}","color":"\#AAF096","separator":false,"separator_block_width":6},\
  39. {"full_text":"${else}"},\
  40. {"full_text":"${if_match ${upspeedf wlo1}<35}${upspeed wlo1}","color":"\#9470DB","separator":false,"separator_block_width":6},\
  41. {"full_text":"${else}"},\
  42. {"full_text":"${if_match ${upspeedf wlo1}>=35}${upspeed wlo1}","color":"\#FF3333","separator":false,"separator_block_width":6},\
  43. {"full_text":"${endif}${endif}${endif}"},\
  44. # Memory:
  45. {"full_text":"MEM","color":"\#888888","separator":false,"separator_block_width":6},\
  46. {"full_text":"${if_match ${memperc}<30}${memeasyfree}","color":"\#AAF096","separator":false,"separator_block_width":6},\
  47. {"full_text":"${else}"},\
  48. {"full_text":"${if_match ${memperc}<60}${memeasyfree}","color":"\#F0DC64","separator":false,"separator_block_width":6},\
  49. {"full_text":"${else}"},\
  50. {"full_text":"${if_match ${memperc}<85}${memeasyfree}","color":"\#FF9933","separator":false,"separator_block_width":6},\
  51. {"full_text":"${else}"},\
  52. {"full_text":"${if_match ${memperc}>=85}${memeasyfree}","color":"\#FF3333","separator":false,"separator_block_width":6},\
  53. {"full_text":"${endif}${endif}${endif}${endif}"},\
  54. # CPU:
  55. {"full_text":"CPU","color":"\#888888","separator":false,"separator_block_width":6},\
  56. {"full_text":"${if_match ${cpu cpu0}<25}${cpu cpu0}","color":"\#AAF096","separator":false,"separator_block_width":0},\
  57. {"full_text":"${else}"},\
  58. {"full_text":"${if_match ${cpu cpu0}<50}${cpu cpu0}","color":"\#F0DC64","separator":false,"separator_block_width":0},\
  59. {"full_text":"${else}"},\
  60. {"full_text":"${if_match ${cpu cpu0}<75}${cpu cpu0}","color":"\#FF9933","separator":false,"separator_block_width":0},\
  61. {"full_text":"${else}"},\
  62. {"full_text":"${if_match ${cpu cpu0}<=100}${cpu cpu0}","color":"\#FF3333","separator":false,"separator_block_width":0},\
  63. {"full_text":"${endif}${endif}${endif}${endif}"},\
  64. {"full_text":"%","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
  65. # Mail:
  66. {"full_text":"MAIL","color":"\#888888","separator":false,"separator_block_width":6},\
  67. {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}<=0}${execpi 60 python ~/bin/gmail.py}","color":"\#AAF096","separator":false,"separator_block_width":6},\
  68. {"full_text":"${else}"},\
  69. {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}<2}${execpi 60 python ~/bin/gmail.py}","color":"\#F0DC64","separator":false,"separator_block_width":6},\
  70. {"full_text":"${else}"},\
  71. {"full_text":"${if_match ${execpi 60 python ~/bin/gmail.py}>2}${execpi 60 python ~/bin/gmail.py}","color":"\#FF9933","separator":false,"separator_block_width":6},\
  72. {"full_text":"${endif}${endif}${endif}"},\
  73. # Weather:
  74. {"full_text":"WEATHER","color":"\#888888","separator":false,"separator_block_width":6},\
  75. {"full_text":"${execi 300 ~/bin/weather_simple.sh "EUR|UK|UK241|LONDON"}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
  76. # Date:
  77. {"full_text":"DATE","color":"\#888888","separator":false,"separator_block_width":6},\
  78. {"full_text":"${time %D}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
  79. # Time:
  80. {"full_text":"TIME","color":"\#888888","separator":false,"separator_block_width":6},\
  81. {"full_text":"${time %R}","color":"\#EEEEEE","separator":false}\
  82. ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement