Use counsel-spotify
This commit is contained in:
parent
56a44242ed
commit
f0f8b1135c
@ -3832,3 +3832,28 @@ A fancy calendar view:
|
||||
('normal hackernews-mode-map "SPC" leader-map))
|
||||
(leader-def-key "ah" 'hackernews)
|
||||
#+END_SRC
|
||||
* counsel-spotify
|
||||
Spotify in Emacs!
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package counsel-spotify
|
||||
:commands (counsel-spotify-search-track
|
||||
counsel-spotify-search-album
|
||||
counsel-spotify-search-artist
|
||||
counsel-spotify-seach-tracks-by-album
|
||||
counsel-spotify-search-tracks-by-artist
|
||||
counsel-spotify-play
|
||||
counsel-spotify-toggle-play-pause
|
||||
counsel-spotify-next
|
||||
counsel-spotify-previous)
|
||||
:config
|
||||
(setq counsel-spotify-client-id "825add4224704126adf3912b847c86df"
|
||||
counsel-spotify-client-secret "f71fb236c06b4af886658667056ef7bd"))
|
||||
|
||||
(jdormit/define-prefix "iS" "counsel-spotify")
|
||||
(leader-def-key "iSt" #'counsel-spotify-search-track)
|
||||
(leader-def-key "iSa" #'counsel-spotify-search-album)
|
||||
(leader-def-key "iSA" #'counsel-spotify-search-artist)
|
||||
(leader-def-key "iS SPC" #'counsel-spotify-toggle-play-pause)
|
||||
(leader-def-key "iSn" #'counsel-spotify-next)
|
||||
(leader-def-key "iSp" #'counsel-spotify-previous)
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user