diff options
Diffstat (limited to 'attic/elisp')
| -rw-r--r-- | attic/elisp/misc.el | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el index 36c39d3..8808a5f 100644 --- a/attic/elisp/misc.el +++ b/attic/elisp/misc.el @@ -946,21 +946,6 @@ 'notmuch-tree-no-match-author-face))) (propertize auth 'face face))) -;; winttr - -(defun jao-weather (&optional wide) - (interactive "P") - (if (not wide) - (message "%s" - (jao-shell-string "curl -s" - "https://wttr.in/?format=%l++%m++%C+%c+%t+%w++%p")) - (jao-afio-goto-scratch) - (if-let ((b (get-buffer "*wttr*"))) - (progn (pop-to-buffer b) - (term-send-string (get-buffer-process nil) "clear;curl wttr.in\n")) - (jao-exec-in-term "curl wttr.in" "*wttr*")))) -(global-set-key (kbd "<f5>") #'jao-weather) - ;; so-long (setq large-file-warning-threshold (* 200 1024 1024)) |
