Nyanyanyanya Move Nyancat related packages to the Org config
This commit is contained in:
parent
7ff80992b8
commit
8f4232063a
@ -699,6 +699,43 @@ Because we can.
|
||||
|
||||
* ~use-package~ packages
|
||||
|
||||
** Nyanyanyanyanya
|
||||
|
||||
*** Nyan-cat style position marker
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package nyan-mode
|
||||
:init
|
||||
(setq-default nyan-animate-nyancat t
|
||||
nyan-wavy-trail t)
|
||||
:config
|
||||
(nyan-mode t))
|
||||
#+END_SRC
|
||||
|
||||
*** Nyan prompt in EShell
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(when (display-graphic-p)
|
||||
(use-package nyan-prompt
|
||||
:disabled t
|
||||
:config
|
||||
(add-hook 'eshell-load-hook 'nyan-prompt-enable)))
|
||||
#+END_SRC
|
||||
|
||||
*** Zone out with Nyancat
|
||||
|
||||
Unfortunately, this works only in a graphical mode.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(when (display-graphic-p)
|
||||
(use-package zone-nyan
|
||||
:after
|
||||
zone
|
||||
:config
|
||||
(setq-default zone-nyan-hide-progress t)
|
||||
(setq zone-programs (vconcat zone-programs [zone-nyan]))))
|
||||
#+END_SRC
|
||||
|
||||
** Highlight the current line
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
23
init.el
23
init.el
@ -103,29 +103,6 @@
|
||||
(setq-default save-place t)
|
||||
(setq save-place-file (expand-file-name ".places" user-emacs-directory)))
|
||||
|
||||
;; Nyanyanyanyanya
|
||||
(use-package nyan-mode
|
||||
:init
|
||||
(setq-default nyan-animate-nyancat t
|
||||
nyan-wavy-trail t)
|
||||
:config
|
||||
(nyan-mode t))
|
||||
|
||||
(when (display-graphic-p)
|
||||
(use-package nyan-prompt
|
||||
:disabled t
|
||||
:config
|
||||
(add-hook 'eshell-load-hook 'nyan-prompt-enable)))
|
||||
|
||||
;; Zone!
|
||||
(when (display-graphic-p)
|
||||
(use-package zone-nyan
|
||||
:after
|
||||
zone
|
||||
:config
|
||||
(setq-default zone-nyan-hide-progress t)
|
||||
(setq zone-programs (vconcat zone-programs [zone-nyan]))))
|
||||
|
||||
(defun gpolonkai/zone-enable ()
|
||||
"Enable zoning out."
|
||||
(interactive)
|
||||
|
Loading…
Reference in New Issue
Block a user