From 2f41167a6f7210ecbfe4082b380a04d956c82e5e Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 16 Jan 2020 19:21:39 +0000 Subject: [PATCH] Drop support for window-manager/screenshot After defining the scrot.el module, I don't have much use for this function. In fairness, I never used this function too much; I wrote it early on when I first switched from i3 to EXWM. As such, it's a bit sloppy. Happy whenever I get a change to do some spring cleaning. --- configs/shared/.emacs.d/wpc/window-manager.el | 8 -------- 1 file changed, 8 deletions(-) diff --git a/configs/shared/.emacs.d/wpc/window-manager.el b/configs/shared/.emacs.d/wpc/window-manager.el index d034b5f5e..baac37ada 100644 --- a/configs/shared/.emacs.d/wpc/window-manager.el +++ b/configs/shared/.emacs.d/wpc/window-manager.el @@ -422,14 +422,6 @@ These are the types of items that would usually appear in dmenu.") ;; can provide a small mode for accepting user-input. ;; TODO: Put this somewhere more diliberate. -(defun window-manager/screenshot () - "Choose between \"Local\" and \"Google\" screenshots." - (interactive) - (pcase (ivy-read "Type of screenshot: " '("Google" "Local")) - ;; TODO: Drop `zsh -i -c' dependency and reimplement in Elisp. - ("Google" (shell-command "zsh -i -c snipit")) - ("Local" (shell-command "zsh -i -c screenshot")))) - ;; TODO: Configure the environment variables for xsecurelock so that the font is ;; smaller, different, and the glinux wallpaper doesn't show. ;; - XSECURELOCK_FONT="InputMono-Black 10"