From 1b98ea8265ccfd99e2b8db4fb4494d80095384a8 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 16 Jul 2023 16:31:24 +0300 Subject: Add yeetube configuration --- emacs.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'emacs.org') diff --git a/emacs.org b/emacs.org index aa2b30d..b1f0b48 100755 --- a/emacs.org +++ b/emacs.org @@ -1182,6 +1182,21 @@ Set aliases for emacs functions and ~PATH~ (define-key 'thanos/applications-map (kbd "c") 'gptel-send) (setq gptel-api-key (password-store-get "chatgpt/api")) #+end_src +* YeeTube +#+begin_src emacs-lisp + (load-file "~/Developer/yeetube.el/yeetube.el") + + (setq yeetube-results-limit 15 + yeetube-display-info-keys t) + + (define-prefix-command 'thanos/yeetube) + (global-set-key (kbd "C-c y") 'thanos/yeetube) + (define-key thanos/yeetube (kbd "s") 'yeetube-search) + (define-key thanos/yeetube (kbd "d") 'yeetube-download-videos) + (define-key thanos/yeetube (kbd "p") 'yeetube-toggle-pause-mpv) + + (define-key yeetube-mode-map (kbd "c") 'yeetube-switch-mpv) +#+end_src * StumpWM #+begin_src emacs-lisp (setq stumpwm-shell-program "~/.stumpwm.d/modules/util/stumpish/stumpish") -- cgit v1.2.3