Ensure scrot.el initializes

- Adds scrot to init.el
- Moves the EXWM keybindings to keybindings.el
This commit is contained in:
William Carroll 2020-01-20 16:48:42 +00:00
parent 16fd606f91
commit 3d6b521919
3 changed files with 4 additions and 2 deletions

View file

@ -27,6 +27,7 @@
(require 'email)
;; TODO: Consider renaming entr.el.
(require 'entr)
(require 'scrot)
;; TODO: Reconcile kbd.el, keybindings.el, wpc-keybindings.el, keyboard.el.
(require 'keybindings)

View file

@ -13,6 +13,7 @@
(require 'clipboard)
(require 'screen-brightness)
(require 'chrome)
(require 'scrot)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Configuration
@ -34,5 +35,7 @@
(keybinding/exwm "C-M-c" #'chrome/browse)
(keybinding/exwm (kbd/raw 'x11 "s") #'scrot/select)
(provide 'keybindings)
;;; keybindings.el ends here

View file

@ -60,7 +60,5 @@ The output path is copied to the user's clipboard."
(scrot/call "--select" screenshot-path)
(scrot/copy-image screenshot-path)))
(exwm-input-set-key (kbd/raw 'x11 "s") #'scrot/select)
(provide 'scrot)
;;; scrot.el ends here