fix(tools/emacs): Include date in scrot screenshot names

This commit is contained in:
Vincent Ambo 2020-04-04 20:01:24 +01:00
parent f43294cd90
commit e9aa5ae463

View file

@ -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.