diff options
| author | 2016-10-29 17:26:30 -0400 | |
|---|---|---|
| committer | 2016-10-29 17:26:35 -0400 | |
| commit | 4a2d2a858fad95d17a30608925b2a1c79f5c6e52 (patch) | |
| tree | 5dd3879925aee831eda274abf28aa88edcefb488 /README.md | |
| parent | dd59e08072e6840daab15f79805029d1f9fa2901 (diff) | |
Add a description of a more sophisticated config setup
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 41 |
1 files changed, 40 insertions, 1 deletions
@@ -1 +1,40 @@ -# base16-i3
\ No newline at end of file +# base16-i3 + +This repository is meant to work with +[chriskempson/base16](https://github.com/chriskempson/base16). +It provides a simple template that can be used with the base16 color schemes to +generate a functional config file for +[i3/i3](https://github.com/i3/i3), +a tiling and dynamic window manager. + +To use, you can copy one of the config files in themes/ or use curl. First up, you'll want to generate a starting i3 configuration using `i3-config-wizard`. Then you can + +``` +$ curl https://raw.githubusercontent.com/khamer/base16-i3/master/themes/base16-default-dark.config >> ~/.config/i3/config +``` + +Note that this will create a second bar because it provides a `bar { ... }` section. You can choose which you'd like. + +Alternatively, you can fetch just the base16 colors in a format for the i3 config to use them as variables: + +``` +$ curl https://raw.githubusercontent.com/khamer/base16-i3/master/colors/base16-default-dark.config >> ~/.config/i3/config +``` + +The benefit of this approach is you can reference the base16 colors through out +your configuration if you want to customize it further (in particular, +customize your `bar { ... }`.) + +For example, you might want to put the bulk of your configuration in `~/.config/i3/base`, reference the base16 variables, and then use a binding like this: + +``` +bindsym $mod+Shift+c exec "cat .config/i3/colors .config/i3/base > .config/i3/config && i3-msg reload" +``` + +So you can now run + +``` +$ curl https://raw.githubusercontent.com/khamer/base16-i3/master/colors/base16-default-dark.config > ~/.config/i3/colors +``` + +And hit **$mod + Shift + c** to load in the new colors. |
