summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-07-19 11:40:19 +0300
committerThanos Apollo <[email protected]>2023-07-19 11:40:19 +0300
commit291433bba3c92fd15e709037b5f37c3834e3bc60 (patch)
treeace594b8b88686406cf2c24c9e5f463dc5f7c490
parentc29ecae30ea47b725994ef41e012200a76e2fc37 (diff)
yeetube-mpv-socket: Set it as custom
Different systems, such as windows, will require to change it's value (see issue #3)
-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)