Set up rudimentary vuiet hydra

This commit is contained in:
Jeremy Dormitzer 2020-03-31 23:10:34 -04:00
parent 8366cad0e3
commit 7cc8934e21

View File

@ -5777,6 +5777,16 @@ A music browser and player:
(jdormit/define-prefix "av" "vuiet") (jdormit/define-prefix "av" "vuiet")
(jdormit/define-prefix "avp" "player") (jdormit/define-prefix "avp" "player")
(jdormit/define-prefix "avb" "browser") (jdormit/define-prefix "avb" "browser")
(defhydra hydra-vuiet (:hint nil)
"
Player
^^^^^^------------------------
_s_top | _p_lay/pause | _n_ext
"
("s" vuiet-stop :color blue)
("p" vuiet-play-pause)
("n" vuiet-next)
("q" nil "quit" :color blue))
:config :config
(advice-add 'vuiet-update-mode-line :around (advice-add 'vuiet-update-mode-line :around
(lambda (oldfn &rest args) (lambda (oldfn &rest args)