pithos-conky 1.3 KB

12345678910111213141516171819202122232425
  1. # TEXT code block 6: START
  2. ############################################################################################
  3. # #
  4. # Sixth TEXT code block displays Music info from Pithos: #
  5. # -> Requires installation of pithos and php5-cli to run a php script #
  6. # http://kevinmehall.net/p/pithos/ #
  7. # sudo apt-get install php5-cli #
  8. # #
  9. ############################################################################################
  10. default_color 00b2b2
  11. color1 eeeeee
  12. TEXT
  13. ###${color}${if_empty ${exec pgrep pithos}}${else}
  14. #${color1}${font Heydings Icons:size=10}m${font}${color} Pithos
  15. ${color1}m${font}${color} Pithos
  16. ${color1}Title:${color} ${execp php ~/.conky/scripts/pithos.php 'title'}
  17. #${font Alfios:size=9}${color1}Title:${color} ${execp php ~/.conky/scripts/pithos.php 'title'}
  18. ${color1}Artist:${color} ${execp php ~/.conky/scripts/pithos.php 'artist'}
  19. ${color1}Album:${color} ${execp php ~/.conky/scripts/pithos.php 'album'}
  20. ###${endif}
  21. # TEXT code block 6: END