Add a snippet to enable nyan-cat only in GUI

This commit is contained in:
syl20bnr 2015-02-01 21:47:53 -05:00
parent af3b5f7884
commit dbd3f556d6

View file

@ -66,6 +66,17 @@ To enable the package `nyan-mode` set the variable
)
```
It may be handy to enable it only in a GUI, you can do it by using
a quasi-quoted list:
```elisp
(setq-default dotspacemacs-configuration-layers
`((colors :variables
colors-enable-nyan-cat-progress-bar ,(display-graphic-p)))
"List of contribution to load."
)
```
## Key bindings
The prefix associated with colors is <kbd>C</kbd>.