Add screenshot package
This commit is contained in:
parent
1078cbcd62
commit
a72561f44f
|
@ -10,3 +10,6 @@
|
|||
[submodule "authinfo-color-mode"]
|
||||
path = lisp/authinfo-color-mode
|
||||
url = https://github.com/tecosaur/authinfo-color-mode.git
|
||||
[submodule "screenshot"]
|
||||
path = lisp/screenshot
|
||||
url = https://github.com/tecosaur/screenshot.git
|
||||
|
|
15
config.org
15
config.org
|
@ -1201,7 +1201,22 @@ GoldenDict, it's likely we'll be able to switch from ~sdcv~ to that in the futur
|
|||
|
||||
Since GoldenDict supports StarDict files, I expect this will be a relatively
|
||||
painless switch.
|
||||
**** Screenshots
|
||||
This makes it a breeze to take lovely screenshots.
|
||||
#+begin_src emacs-lisp
|
||||
(package! screenshot :recipe (:local-repo "lisp/screenshot"))
|
||||
#+end_src
|
||||
|
||||
#+attr_html: :class invertible :alt Example screenshot.el screenshot
|
||||
[[https://tecosaur.com/lfs/emacs-config/screenshots/screenshot.png]]
|
||||
|
||||
Some light configuring is all we need, so we can make use of the [[https://github.com/Calinou/0x0][0x0]] wrapper
|
||||
file uploading script (which I've renamed to ~upload~).
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(use-package! screenshot
|
||||
:defer t
|
||||
:config (setq screenshot-upload-fn "upload %s 2>/dev/null"))
|
||||
#+end_src
|
||||
** Language packages
|
||||
*** LaTeX
|
||||
For mathematical convenience, WIP
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 0fcbe4c50ebf62acb14cfe5534d662cf2d486674
|
Binary file not shown.
Loading…
Reference in New Issue