Make the theme installable through TPM (#4)
* Rename to have .tmux extension so TPM can pick it up * Create a separate file for TPM & source the theme file * Update readme with instructions for installation through TPM
This commit is contained in:
parent
b9ee2fc021
commit
d7b2556307
2 changed files with 13 additions and 0 deletions
|
@ -8,6 +8,7 @@ Theme with 'retro groove' flavor for [Tmux][github-tmux], based on Pavel Pertsev
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
### Install manually
|
||||||
The simplest way is just:
|
The simplest way is just:
|
||||||
|
|
||||||
> HINT: Always make a backup of your config files before any action.
|
> HINT: Always make a backup of your config files before any action.
|
||||||
|
@ -16,6 +17,14 @@ The simplest way is just:
|
||||||
cat tmux-gruvbox-dark.conf >> ~/.tmux.conf
|
cat tmux-gruvbox-dark.conf >> ~/.tmux.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Install through [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm)
|
||||||
|
Add plugin to the list of TPM plugins in `.tmux.conf`
|
||||||
|
```
|
||||||
|
set -g @plugin 'egel/tmux-gruvbox'
|
||||||
|
```
|
||||||
|
Hit `prefix + I` to fetch the plugin and source it.
|
||||||
|
Your tmux should be updated with the theme at this point.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
GPLv3 - Maciej Sypień
|
GPLv3 - Maciej Sypień
|
||||||
|
|
||||||
|
|
4
gruvbox-tpm.tmux
Executable file
4
gruvbox-tpm.tmux
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
tmux source-file "$CURRENT_DIR/tmux-gruvbox-dark.conf"
|
Loading…
Add table
Add a link
Reference in a new issue