Skip to content

Instantly share code, notes, and snippets.

@meandavejustice
Last active August 29, 2015 14:05
Show Gist options
  • Save meandavejustice/7b808b51559dea03dcd9 to your computer and use it in GitHub Desktop.
Save meandavejustice/7b808b51559dea03dcd9 to your computer and use it in GitHub Desktop.
;; mplayer on arch linux skipping issue
(unless (package-installed-p 'emms)
(package-install 'emms))
(require 'emms)
(emms-all)
(emms-default-players)
(setq emms-source-file-default-directory "~/Share-everything/Music/")
(global-set-key (kbd "<XF86AudioPlay>") 'emms-pause)
(global-set-key (kbd "<XF86AudioStop>") 'emms-stop)
(global-set-key (kbd "<XF86AudioPrev>") 'emms-previous)
(global-set-key (kbd "<XF86AudioNext>") 'emms-next)
(provide 'cfg-emms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment