- Playerctl, let you control your music player (Spotify, vlc, audacious, bmp, xmms2, and others) from shell.
- playerctl.el is just a simple binding to play your music from emacs
In your emacs.d/init.el :
(require 'playerctl) (define-key global-map (kbd "C-c C-SPC") 'playerctl-play-pause-song) (define-key global-map (kbd "C-c C-n") 'playerctl-next-song)
(use-package playerctl :bind( ("C-c C-SPC" . playerctl-play-pause-song) ("C-c C-n" . playerctl-next-song) ("C-c C-p" . playerctl-previous-song) ("C-c C-f" . playerctl-seek-foward) ("C-c C-b" . playerctl-seek-backward) ) )
[M-x] playerctl-play-pause-song
: Creat joy or stop noise[M-x] playerctl-next-song
: change your univers[M-x] playerctl-previous-song
: Your best wish was yesterday[M-x] playerctl-stop-song
: Push back your brain in real world[M-x] playerctl-status
: Give you the status of the player[M-x] playerctl-volume-up
: Turn volume up[M-x] playerctl-volume-down
: Turns volume down[M-x] playerctl-seek-forward
: Seeks forward[M-x] playerctl-seek-backward
: Seeks backward[M-x] playerctl-metadata
: Show metadata (player name, status, artist, album, and title)
- Write a true documentation
- Check if playerctl is installed
- Put status / artist / song in statusbar