summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-10 11:30:32 +0200
committerThanos Apollo <[email protected]>2024-02-10 11:30:32 +0200
commitd50fa9de5e25d1b3c3be5ec8808f3f937d0f5f29 (patch)
treee54fabe5fa26f91cfe46453088add5d85695c729
parent925cdbe626639f54b9aa4c35f749a86160d66726 (diff)
yeetube-mode: Add Date
-rw-r--r--yeetube.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/yeetube.el b/yeetube.el
index 02f27d1..74894cd 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -533,9 +533,10 @@ column."
:keymap yeetube-mode-map
(setf tabulated-list-format
[("Title" 60 t)
- ("Views" 12 yeetube--sort-views)
+ ("Views" 11 yeetube--sort-views)
("Duration" 9 yeetube--sort-duration)
- ("Channel" 12 t)]
+ ("Date" 13 yeetube--sort-date)
+ ("Channel" 8 t)]
tabulated-list-entries
(cl-map 'list
(lambda (content)
@@ -544,6 +545,7 @@ column."
:title 'yeetube-face-title
:view-count 'yeetube-face-view-count
:duration 'yeetube-face-duration
+ :date 'yeetube-face-date
:channel 'yeetube-face-channel)))
(reverse yeetube-content))
tabulated-list-sort-key (cons yeetube-default-sort-column