diff options
| author | jao <jao@gnu.org> | 2026-10-24 17:45:00 +0100 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-10-24 17:45:00 +0100 |
| commit | 1331c107a9edb1c7c4b4b902b83689d958a1b5ca (patch) | |
| tree | 21fba37336ca5c09c1a3803ff1cd9a282997eddc /attic | |
| parent | b454bdd4aca5342421c2f45190d917e1b82d9183 (diff) | |
| download | elibs-1331c107a9edb1c7c4b4b902b83689d958a1b5ca.tar.gz elibs-1331c107a9edb1c7c4b4b902b83689d958a1b5ca.tar.bz2 | |
weather
Diffstat (limited to 'attic')
| -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)) |
