How to install a theme #37
caioariede
announced in
Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A theme in dpv is just a shell script. In order to use a theme, you have to pass the path of the theme script through the
DPV_THEME
environment variable.Download a theme
Let's download the
creator
theme that is provided within the dpv repository. It's recommended to use the~/.dpv/themes/
directory to store themes:curl -sfSLO --create-dirs --output-dir ~/.dpv/themes/ https://raw.githubusercontent.com/caioariede/dpv/HEAD/themes/creator.sh
Needed configuration
Now that you have the theme downloaded, make sure you add the following line to your shell configuration file. It's recommended to put all dpv-related configuration together, so you can add it right after the dpv's internal-load-shell call:
DPV_THEME=~/.dpv/themes/creator.sh
Fin.
Beta Was this translation helpful? Give feedback.
All reactions