summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/yeetube.el b/yeetube.el
index 862c850..6df9333 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -74,8 +74,11 @@ Example Usage:
:safe #'booleanp
:group 'yeetube)
-(defvar yeetube-mpv-socket (concat temporary-file-directory "yeet-socket")
- "MPV Input Socket.")
+(defcustom yeetube-mpv-socket (concat temporary-file-directory "yeet-socket")
+ "MPV Input Socket."
+ :type 'string
+ :safe #'stringp
+ :group 'yeetube)
(defcustom yeetube-player (concat
(executable-find "mpv") " --input-ipc-server=" yeetube-mpv-socket)