From 3d6b521919db8229b738cfbde34b45b10c8cacf6 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 20 Jan 2020 16:48:42 +0000 Subject: Ensure scrot.el initializes - Adds scrot to init.el - Moves the EXWM keybindings to keybindings.el --- configs/shared/.emacs.d/init.el | 1 + configs/shared/.emacs.d/wpc/keybindings.el | 3 +++ configs/shared/.emacs.d/wpc/scrot.el | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'configs/shared') diff --git a/configs/shared/.emacs.d/init.el b/configs/shared/.emacs.d/init.el index 5e60f0d11487..0d2bec7645a5 100644 --- a/configs/shared/.emacs.d/init.el +++ b/configs/shared/.emacs.d/init.el @@ -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) 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 -- cgit 1.4.1