summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-07 08:21:41 +0200
committerThanos Apollo <[email protected]>2024-02-07 08:40:24 +0200
commita9ccca869b4b122c7b738b5d2b9a24742a5d6574 (patch)
tree466c24189e363f48369a81110e916c6a0835c8cf
parent440f5616458bed272e09ce7c040ae21e17cecbcb (diff)
Add yeetube-sort-by
Value to sort results for
-rw-r--r--yeetube.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/yeetube.el b/yeetube.el
index fe65181..569948a 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -73,6 +73,20 @@ Example Usage:
:type 'string
:group 'yeetube)
+(defcustom yeetube-sort-by "Relevance"
+ "Sorty search results for value.
+
+Valid options include:
+- \"Relevance\"
+- \"Date\"
+- \"Views\"
+- \"Rating\""
+ :type '(radio (const "Relevance")
+ (const "Date")
+ (const "Views")
+ (const "Rating"))
+ :group 'yeetube)
+
(defgroup yeetube-faces nil
"Faces used by yeetube."
:group 'yeetube