Advertisement
Guest User

Sample i3bar/conkyrc config (nubi)

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