Make zone-nyan load only for graphics mode

This commit is contained in:
Gergely Polonkai 2016-11-09 08:58:20 +01:00
parent bfbf069997
commit b71866dfd6

11
init.el
View File

@ -155,11 +155,12 @@
(add-hook 'eshell-load-hook 'nyan-prompt-enable))) (add-hook 'eshell-load-hook 'nyan-prompt-enable)))
;; Zone! ;; Zone!
(use-package zone-nyan (when (display-graphic-p)
:ensure t (use-package zone-nyan
:init :ensure t
(setq zone-programs [zone-nyan]) :config
(setq-default zone-nyan-hide-progress t)) (setq-default zone-nyan-hide-progress t)
(setq zone-programs (vconcat zone-programs [zone-nyan]))))
(defun gpolonkai/zone-enable () (defun gpolonkai/zone-enable ()
(interactive) (interactive)