aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndrea Schiavini <metalelf0@gmail.com>2017-11-22 20:14:03 +0100
committerJordi Pakey-Rodriguez <0xdec@users.noreply.github.com>2017-11-22 13:14:03 -0600
commit821a3d8730a3a1091e2af8f6c2395fe31c87c18d (patch)
tree425df8873f5a113a41a463601869fb1ec015b6cc /README.md
parent6f8f3d45baf74a181b4f0a61d83eb01fd4ff894e (diff)
Base16 shell integration (#3)
Base16 shell integration
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4153195..4c5a166 100644
--- a/README.md
+++ b/README.md
@@ -9,3 +9,17 @@ Add the theme to your `~/.config/rofi/config`
mkdir ~/.config/rofi
curl https://raw.githubusercontent.com/0xdec/base16-rofi/master/themes/base16-default-dark.config >> ~/.config/rofi/config
```
+
+### Base16-shell hook
+
+This repo also provides a hook to switch the rofi colorscheme automatically when a base16_shell theme is set. The setup is pretty straightforward:
+
+```
+> export BASE16_SHELL_HOOKS=$HOME/.config/base16-shell/hooks
+> mkdir -p $BASE16_SHELL_HOOKS
+> cp hook/rofi.sh $BASE16_SHELL_HOOKS && chmod +x $BASE16_SHELL_HOOK/rofi.sh
+```
+
+Then set the `rofi_config_file` and `rofi_themes_dir` variables in the script.
+
+