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.
This commit is contained in:
William Carroll 2020-01-16 19:21:39 +00:00
parent f4d588b683
commit 2f41167a6f

View file

@ -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"