diff options
author | Jordi Pakey-Rodriguez <jordi.orlando@gmail.com> | 2018-03-01 18:38:37 -0600 |
---|---|---|
committer | Jordi Pakey-Rodriguez <jordi.orlando@gmail.com> | 2018-03-01 18:38:37 -0600 |
commit | edfd5063bee6bcd18ddd6e9d1c1f2a629d719508 (patch) | |
tree | 3453076b756ee95128e29090abb1d39613cabac4 /README.md | |
parent | 9e21739cc5f808337f917864eccf29a57ff5189b (diff) |
Improve readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -1,20 +1,27 @@ base16-rofi =========== -[Base16](https://github.com/chriskempson/base16) for [rofi](https://github.com/DaveDavenport/rofi) +[Base16](https://github.com/chriskempson/base16) for [Rofi](https://github.com/DaveDavenport/rofi) ### Installation -For Rofi >= 1.4.x copy the .rasi theme to `~/.local/share/rofi/themes/`. -For Rofi < 1.4.x replace the configuration file `~/.config/rofi/config` +Copy or link the desired base16-*.rasi theme files to `~/.local/share/rofi/themes/`. ```sh +git clone https://github.com/0xdec/base16-rofi.git +ln -s base16-rofi ~/.local/share/rofi/themes/ +rofi -theme base16-default-dark +``` + +For older Rofi versions (< 1.4), copy the desired base16-*.config theme file to `~/.config/rofi/config`. +```sh +git clone https://github.com/0xdec/base16-rofi.git mkdir ~/.config/rofi -curl https://raw.githubusercontent.com/0xdec/base16-rofi/master/themes/base16-default-dark.config >> ~/.config/rofi/config +ln -s base16-rofi/themes/base16-default-dark.config >> ~/.config/rofi/config ``` -### Base16-shell hook +### Base16-Shell Hook -For Rofi < 1.4.x this repo also provides a hook to switch the colorscheme automatically when a base16_shell theme is set. The setup is pretty straightforward: +For Rofi < 1.4 this repo also provides a hook to switch the colorscheme automatically when a base16_shell theme is set. The setup is pretty straightforward: ``` > export BASE16_SHELL_HOOKS=$HOME/.config/base16-shell/hooks @@ -23,5 +30,3 @@ For Rofi < 1.4.x this repo also provides a hook to switch the colorscheme automa ``` Then set the `rofi_config_file` and `rofi_themes_dir` variables in the script. - - |