config-music.el (1746B)
1 ;;; config-music.el --- -*- lexical-binding: t; -*- 2 ;;; Commentary: 3 ;;; Music configuration 4 ;;; Code: 5 6 (use-package bongo 7 :commands (bongo bongo-show) 8 :bind (("C-c x b" . bongo) 9 ("<C-XF86AudioPlay>" . bongo-pause/resume) 10 ("<C-XF86AudioNext>" . bongo-next) 11 ("<C-XF86AudioPrev>" . bongo-previous) 12 ("<M-XF86AudioPlay>" . bongo-show) 13 ("<S-XF86AudioNext>" . bongo-seek-forward-10) 14 ("<S-XF86AudioPrev>" . bongo-seek-backward-10)) 15 :config 16 (setq-default bongo-audio-file-name-extensions 17 '("669" "aac" "amf" "apun" "au" "dsm" "far" "flac" "g18" "g36" "gdm" 18 "imf" "it" "mdz" "med" "mid" "midi" "mka" "mod" "m4a" "mp2" "mp3" 19 "mtm" "ogg" "oga ""opus" "okt" "r36" "ra" "rcp" "rmi" "s3m" "spx" 20 "stm" "stx" "ult" "umx" "uni" "vqf" "wav" "wma" "xm") 21 bongo-custom-backend-matchers 22 '((mpv local-file "m4a") 23 (mpv local-file "oga") 24 (mpv local-file "opus")) 25 bongo-default-directory "/net/sakhalin.home/export/gaia/music" 26 bongo-prefer-library-buffers nil 27 bongo-insert-whole-directory-trees t 28 bongo-logo nil 29 bongo-display-track-icons nil 30 bongo-display-track-lengths nil 31 bongo-display-header-icons nil 32 bongo-display-playback-mode-indicator t 33 bongo-display-inline-playback-progress nil 34 bongo-join-inserted-tracks nil 35 bongo-field-separator (propertize " ยท " 'face 'shadow)) 36 (bongo-mode-line-indicator-mode -1) 37 (bongo-header-line-mode -1)) 38 39 (provide 'config-music) 40 ;;; config-music ends here