My Private Spacemacs Config (as a layer)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
746B

  1. (defconst dalemacs-packages
  2. '(
  3. ;; Get the package from MELPA, ELPA, etc.
  4. virtualenvwrapper
  5. direnv
  6. emms
  7. ))
  8. (defun dalemacs/init-virtualenvwrapper ()
  9. (use-package virtualenvwrapper))
  10. (defun dalemacs/init-direnv ()
  11. (use-package direnv)
  12. (direnv-mode 1))
  13. (defun dalemacs/init-emms ()
  14. (use-package emms)
  15. (require 'emms-setup)
  16. (require 'emms-player-mpd)
  17. (emms-standard)
  18. (emms-default-players)
  19. (setq emms-player-list '(emms-player-mpd))
  20. (emms-player-set emms-player-mpd 'regex
  21. "\\.ogg\\|\\.mp3\\|\\.wma\\|\\.ogm\\|\\.asf\\|\\.mkv\\|\\.tta\\|\\.cue\\|http://\\|mms://\\|\\.rmvb\\|\\.flac\\|\\.vob\\|\\.m4a\\|\\.ape\\|\\.mpc")
  22. (emms-player-mpd-update-all)
  23. (emms-cache-set-from-mpd-all)
  24. )