Ensure scrot.el initializes
- Adds scrot to init.el - Moves the EXWM keybindings to keybindings.el
This commit is contained in:
parent
16fd606f91
commit
3d6b521919
3 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue