summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-18 16:14:03 +0300
committerThanos Apollo <[email protected]>2023-08-18 16:14:03 +0300
commit2850fb0a2df9f5b123f2da5ff0e373b9b69649b4 (patch)
tree13da05324155c53b93a2cad8603980a28d6491fe
parente19ece6e847794a747e59e1e2e8e9af020b713db (diff)
Add yeetube-mpv-toggle-fullscreen
-rw-r--r--yeetube.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/yeetube.el b/yeetube.el
index e2f669f..b6f53ad 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -248,7 +248,11 @@ Example Usage:
(process-send-string "yeetube" "p")
(message "yeetube: toggle pause"))
-(defun yeetube-toggle-video-mpv ()
+(defun yeetube-mpv-toggle-fullscreen ()
+ "Toggle fullscreen."
+ (interactive)
+ (process-send-string "yeetube" "f")
+ (message "toggle fullscreen"))
"Toggle video on/off mpv."
(interactive)
(unless (string-match "mpv" yeetube-player)