diff options
author | Thanos Apollo <[email protected]> | 2023-08-18 16:14:16 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-08-18 16:14:16 +0300 |
commit | a6b10db1cb7e911582a8c759b15b8691be515fdd (patch) | |
tree | 1070d03cce25e55988a0b1ba7255435c6abae2fe | |
parent | 2850fb0a2df9f5b123f2da5ff0e373b9b69649b4 (diff) |
Add yeetube-mpv-send-keypress
-rw-r--r-- | yeetube.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -253,6 +253,11 @@ Example Usage: (interactive) (process-send-string "yeetube" "f") (message "toggle fullscreen")) + +(defun yeetube-mpv-send-keypress (key) + "Send KEY to mpv process." + (interactive "sKeypress: ") + (process-send-string "yeetube" key)) "Toggle video on/off mpv." (interactive) (unless (string-match "mpv" yeetube-player) |