From e9aa5ae46336b83bc863594248e3c7feb1e4c994 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 4 Apr 2020 20:01:24 +0100 Subject: fix(tools/emacs): Include date in scrot screenshot names --- tools/emacs/config/functions.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el index 512f056cdc..62611bb638 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. -- cgit 1.4.1