From edfd5063bee6bcd18ddd6e9d1c1f2a629d719508 Mon Sep 17 00:00:00 2001 From: Jordi Pakey-Rodriguez Date: Thu, 1 Mar 2018 18:38:37 -0600 Subject: Improve readme --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d3c37dd..26667e3 100644 --- a/README.md +++ b/README.md @@ -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. - - -- cgit v1.2.3