Browse Source

Add screenshot package

main
parent
commit
2a1990ed90
  1. 19
      README.org
  2. 9
      modules/writing.el

19
README.org

@ -1021,6 +1021,13 @@ Open an agenda buffer with =SPC a=.
*** Images *** Images
Capture screenshots with [[https://github.com/tecosaur/screenshot][screenshot.el]].
#+begin_src emacs-lisp
(use-package screenshot
:commands (screenshot))
#+end_src
Create screencasts with =one-frame-per-action= GIF recording via [[https://github.com/takaxp/emacs-gif-screencast][emacs-gif-screencast]]. Create screencasts with =one-frame-per-action= GIF recording via [[https://github.com/takaxp/emacs-gif-screencast][emacs-gif-screencast]].
+ Pause / Resume + Pause / Resume
@ -1035,15 +1042,15 @@ It requires the installation of ~scrot~, ~gifsicle~, and ~convert~ from the =Ima
:custom (gif-screencast-output-directory (concat dotfiles/home "docs/images/"))) :custom (gif-screencast-output-directory (concat dotfiles/home "docs/images/")))
#+end_src #+end_src
Screencast controls behind =SPC s=.
+ Start / stop with =s=
+ Pause with =t=
Place keybindings behind =SPC s=.
+ Screenshot with =s=
+ Screencast with =c=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(dotfiles/leader (dotfiles/leader
"s" '(:ignore t :which-key "Screencast")
"ss" '(gif-screencast-start-or-stop :which-key "Start / Stop")
"sp" '(gif-screencast-toggle-pause :which-key "Pause"))
"s" '(:ignore t :which-key "Screen")
"ss" '(screenshot :which-key "Screenshot")
"sc" '(gif-screencast-start-or-stop :which-key "Screencast"))
#+end_src #+end_src
*** Grammar *** Grammar

9
modules/writing.el

@ -121,14 +121,17 @@
(dotfiles/leader (dotfiles/leader
"a" '(org-agenda :which-key "Agenda")) "a" '(org-agenda :which-key "Agenda"))
(use-package screenshot
:commands (screenshot))
(use-package gif-screencast (use-package gif-screencast
:commands (gif-screencast-start-or-stop gif-screencast-toggle-pause) :commands (gif-screencast-start-or-stop gif-screencast-toggle-pause)
:custom (gif-screencast-output-directory (concat dotfiles/home "docs/images/"))) :custom (gif-screencast-output-directory (concat dotfiles/home "docs/images/")))
(dotfiles/leader (dotfiles/leader
"s" '(:ignore t :which-key "Screencast")
"ss" '(gif-screencast-start-or-stop :which-key "Start / Stop")
"sp" '(gif-screencast-toggle-pause :which-key "Pause"))
"s" '(:ignore t :which-key "Screen")
"ss" '(screenshot :which-key "Screenshot")
"sc" '(gif-screencast-start-or-stop :which-key "Screencast"))
(use-package writegood-mode (use-package writegood-mode
:after org :after org

Loading…
Cancel
Save