From a0922f054eb65f61767911cb11dbc46bee2b1a9a Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 28 Apr 2023 12:09:12 -0500 Subject: [PATCH] some tweaks to org-mode --- README.org | 7 ++-- init.el | 101 +++-------------------------------------------------- recentf | 2 +- 3 files changed, 9 insertions(+), 101 deletions(-) diff --git a/README.org b/README.org index e6278f1c..b820d5a0 100644 --- a/README.org +++ b/README.org @@ -753,7 +753,7 @@ Part of this config includes some special capture templates for my work as a you :jump-to-captured t) ("r" "Templates for projects") ("rt" "Project-local todo" entry - (file+headline chris/project-todo "Inbox") + (file+headline chris/project-todo "Tasks") "* TODO %?\n%a\n%i\n\n" :prepend t) ("rn" "Project-local notes" entry (file+headline chris/project-todo "Notes") @@ -3540,10 +3540,11 @@ Let's add our own eshell prompt. and set the password cache to a significantly h ("yeet" "paru -Rns $1") ("nixs" "nix search nixpkgs $1") ("myip" "curl icanhazip.com") - ("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s") + ("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s $1") ("nupg" "upgrade-nix") ("nupd" "update-nix") - ("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection"))) + ("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection") + ("wttr" "curl wttr.in/@home.cochrun.xyz"))) (defun chris/eshell-new() "Open a new eshell buffer" diff --git a/init.el b/init.el index ea99e4be..99f3e532 100644 --- a/init.el +++ b/init.el @@ -507,7 +507,7 @@ much faster. The hope is to also make this a faster version of imenu." :jump-to-captured t) ("r" "Templates for projects") ("rt" "Project-local todo" entry - (file+headline chris/project-todo "Inbox") + (file+headline chris/project-todo "Tasks") "* TODO %?\n%a\n%i\n\n" :prepend t) ("rn" "Project-local notes" entry (file+headline chris/project-todo "Notes") @@ -2639,10 +2639,11 @@ targets." ("yeet" "paru -Rns $1") ("nixs" "nix search nixpkgs $1") ("myip" "curl icanhazip.com") - ("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s") + ("ytd" "yt-dlp -o ~/Videos/%(title)s.%(ext)s $1") ("nupg" "upgrade-nix") ("nupd" "update-nix") - ("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection"))) + ("ws" "rsync -avzP public/ chris@staff.tfcconnection.org:tfcconnection") + ("wttr" "curl wttr.in/@home.cochrun.xyz"))) (defun chris/eshell-new() "Open a new eshell buffer" @@ -3114,97 +3115,3 @@ interfere with the default `bongo-playlist-buffer'." gcmh-verbose nil)) (setq warning-suppress-types '((comp))) -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(connection-local-criteria-alist - '(((:application eshell) - eshell-connection-default-profile) - ((:application tramp) - tramp-connection-local-default-system-profile tramp-connection-local-default-shell-profile))) - '(connection-local-profile-alist - '((eshell-connection-default-profile - (eshell-path-env-list)) - (tramp-connection-local-darwin-ps-profile - (tramp-process-attributes-ps-args "-acxww" "-o" "pid,uid,user,gid,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state=abcde" "-o" "ppid,pgid,sess,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etime,pcpu,pmem,args") - (tramp-process-attributes-ps-format - (pid . number) - (euid . number) - (user . string) - (egid . number) - (comm . 52) - (state . 5) - (ppid . number) - (pgrp . number) - (sess . number) - (ttname . string) - (tpgid . number) - (minflt . number) - (majflt . number) - (time . tramp-ps-time) - (pri . number) - (nice . number) - (vsize . number) - (rss . number) - (etime . tramp-ps-time) - (pcpu . number) - (pmem . number) - (args))) - (tramp-connection-local-busybox-ps-profile - (tramp-process-attributes-ps-args "-o" "pid,user,group,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "stat=abcde" "-o" "ppid,pgid,tty,time,nice,etime,args") - (tramp-process-attributes-ps-format - (pid . number) - (user . string) - (group . string) - (comm . 52) - (state . 5) - (ppid . number) - (pgrp . number) - (ttname . string) - (time . tramp-ps-time) - (nice . number) - (etime . tramp-ps-time) - (args))) - (tramp-connection-local-bsd-ps-profile - (tramp-process-attributes-ps-args "-acxww" "-o" "pid,euid,user,egid,egroup,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state,ppid,pgid,sid,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etimes,pcpu,pmem,args") - (tramp-process-attributes-ps-format - (pid . number) - (euid . number) - (user . string) - (egid . number) - (group . string) - (comm . 52) - (state . string) - (ppid . number) - (pgrp . number) - (sess . number) - (ttname . string) - (tpgid . number) - (minflt . number) - (majflt . number) - (time . tramp-ps-time) - (pri . number) - (nice . number) - (vsize . number) - (rss . number) - (etime . number) - (pcpu . number) - (pmem . number) - (args))) - (tramp-connection-local-default-shell-profile - (shell-file-name . "/bin/sh") - (shell-command-switch . "-c")) - (tramp-connection-local-default-system-profile - (path-separator . ":") - (null-device . "/dev/null")))) - '(pdf-misc-print-program "/usr/bin/lpr") - '(pdf-misc-print-program-args '("-o media=Letter" "-o fitplot")) - '(safe-local-variable-values '((eval chris/org-cycle-hide-drawers 'all)))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36")))) diff --git a/recentf b/recentf index d79321a6..6311c62e 100644 --- a/recentf +++ b/recentf @@ -1,4 +1,4 @@ -;;; Automatically generated by ‘recentf’ on Fri Feb 24 10:17:11 2023. +;;; Automatically generated by ‘recentf’ on Mon Apr 24 15:00:07 2023. (setq recentf-list 'nil)