diff options
-rw-r--r-- | init.el | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -3096,6 +3096,21 @@ (global-set-key (kbd "<f4>") #'jao-toggle-audio-applet) +;;;; streaming aliases +(defalias 'jao-streaming-list #'ignore) +(defalias 'jao-streaming-like #'ignore) +(defalias 'jao-streaming-dislike #'ignore) +(defalias 'jao-streaming-toggle-shuffle #'ignore) +(defalias 'jao-streaming-lyrics #'ignore) +(defalias 'jao-streaming-toggle #'ignore) +(defalias 'jao-streaming-next #'ignore) +(defalias 'jao-streaming-prev #'ignore) +(defalias 'jao-streaming-current #'ignore) +(defalias 'jao-streaming-seek #'ignore) +(defalias 'jao-streaming-seek-back #'ignore) +(defalias 'jao-streaming-volume #'ignore) +(defalias 'jao-streaming-volume-down #'ignore) + ;;;; mpris (defun jao-mpris-lyrics (&optional force) (interactive "P") @@ -3103,9 +3118,6 @@ (use-package jao-mpris :demand t) -(defalias 'jao-streaming-list #'ignore) -(defalias 'jao-streaming-like #'ignore) -(defalias 'jao-streaming-dislike #'ignore) (defalias 'jao-streaming-lyrics #'jao-mpris-lyrics) (defalias 'jao-streaming-toggle #'jao-mpris-play-pause) (defalias 'jao-streaming-next #'jao-mpris-next) @@ -3198,7 +3210,8 @@ (defalias 'jao-streaming-volume #'jao-spt-vol) (defalias 'jao-streaming-volume-down #'jao-spt-vol-down) (defalias 'jao-streaming-like #'jao-spt-like) - (defalias 'jao-streaming-dislike #'jao-spt-dislike))) + (defalias 'jao-streaming-dislike #'jao-spt-dislike) + (defalias 'jao-streaming-toggle-shuffle #'jao-spt-toggle-shuffle))) (defvar jao-spt-on nil) (defun jao-spt-on-p () jao-spt-on) @@ -3266,6 +3279,7 @@ ["Act" ("k" "like" jao-streaming-like) ("K" "dislike" jao-streaming-dislike) + ("S" "toggle shuffle" jao-streaming-toggle-shuffle) ("t" "toggle player" jao-streaming-toggle-player)]]) (transient-define-prefix jao-transient-media () |