diff options
author | jao <jao@gnu.org> | 2022-09-07 05:16:36 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-07 05:16:36 +0100 |
commit | ce7c0c9886d07618d70fc43e9be7f44797da299e (patch) | |
tree | 196dcc4a58b051d7ad41d9545435c31eacba19de | |
parent | 526aa894681f653231707ca0313483c4a01107e8 (diff) | |
download | elibs-ce7c0c9886d07618d70fc43e9be7f44797da299e.tar.gz elibs-ce7c0c9886d07618d70fc43e9be7f44797da299e.tar.bz2 |
streaming alias for "toggle shuffle"
-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 () |