blob: d3c37dddd62f3e5d2f9c2177bca1890d119d2ced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
base16-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`
```sh
mkdir ~/.config/rofi
curl https://raw.githubusercontent.com/0xdec/base16-rofi/master/themes/base16-default-dark.config >> ~/.config/rofi/config
```
### 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:
```
> 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.
|