diff options
author | Vincent Ambo <tazjin@google.com> | 2020-04-04T19·01+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-04-04T19·05+0100 |
commit | e9aa5ae46336b83bc863594248e3c7feb1e4c994 (patch) | |
tree | 549981f9031584523f10aea81d7fe227b3ca05e1 /tools/emacs/config/functions.el | |
parent | f43294cd90812b1daa4134cdc4778ab6383aaada (diff) |
fix(tools/emacs): Include date in scrot screenshot names r/624
Diffstat (limited to 'tools/emacs/config/functions.el')
-rw-r--r-- | tools/emacs/config/functions.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el index 512f056cdc98..62611bb63857 100644 --- a/tools/emacs/config/functions.el +++ b/tools/emacs/config/functions.el @@ -267,7 +267,7 @@ "Take a screenshot based on a mouse-selection and save it to ~/screenshots." (interactive) - (shell-command "scrot '$a_%s.png' -s -e 'mv $f ~/screenshots/'")) + (shell-command "scrot '$a_%Y-%m-%d_%s.png' -s -e 'mv $f ~/screenshots/'")) (defun graph-unread-mails () "Create a bar chart of unread mails based on notmuch tags. |