summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-06 06:20:32 +0200
committerThanos Apollo <[email protected]>2024-03-06 06:20:32 +0200
commit93f6f218deb06b73a2af1b2c8bdbb7a547a0c53e (patch)
tree8c6f84bb0553a7ddd6c110a30e434fe1212311a0
parent324af85bf74986ea2f0f057306e74e64e3d512fb (diff)
Add defcustom yeetube-thumbnail size
Cons for height & width
-rw-r--r--yeetube.el11
1 files changed, 3 insertions, 8 deletions
diff --git a/yeetube.el b/yeetube.el
index 90468ad..4f7f1d3 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -116,14 +116,9 @@ Valid options include:
:tag "Yeetube Faces"
:prefix 'yeetube-face)
-(defcustom yeetube-thumbnail-height 80
- "Height of the thumbnail."
- :type 'number
- :group 'yeetube)
-
-(defcustom yeetube-thumbnail-width 80
- "Width of the thumbnail."
- :type 'number
+(defcustom yeetube-thumbnail-size '(90 . 90)
+ "Thumbnail size (height width)."
+ :type '(cons integer integer)
:group 'yeetube)
(defcustom yeetube-display-thumbnails nil