diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-20T16·48+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-22T21·13+0000 |
commit | 3d6b521919db8229b738cfbde34b45b10c8cacf6 (patch) | |
tree | ddc0a22238cd5ac191d89e0a60cbd2d273cf97cb /configs/shared/.emacs.d/wpc | |
parent | 16fd606f9199de7cebcce1f19439c3695906d134 (diff) |
Ensure scrot.el initializes
- Adds scrot to init.el - Moves the EXWM keybindings to keybindings.el
Diffstat (limited to 'configs/shared/.emacs.d/wpc')
-rw-r--r-- | configs/shared/.emacs.d/wpc/keybindings.el | 3 | ||||
-rw-r--r-- | configs/shared/.emacs.d/wpc/scrot.el | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/configs/shared/.emacs.d/wpc/keybindings.el b/configs/shared/.emacs.d/wpc/keybindings.el index 85a6f8cb8852..22457c3b6d37 100644 --- a/configs/shared/.emacs.d/wpc/keybindings.el +++ b/configs/shared/.emacs.d/wpc/keybindings.el @@ -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 diff --git a/configs/shared/.emacs.d/wpc/scrot.el b/configs/shared/.emacs.d/wpc/scrot.el index 3911d262fc92..eeb12b3731e9 100644 --- a/configs/shared/.emacs.d/wpc/scrot.el +++ b/configs/shared/.emacs.d/wpc/scrot.el @@ -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 |