-
Notifications
You must be signed in to change notification settings - Fork 20
Configuration examples
Example configuration:
alacritty:
enabled: true
files:
default:
path: ~/.config/alacritty/alacritty.yml
mode: replace
start_marker: "# <<<<<<<<<<"
end_marker: "# >>>>>>>>>>"
Replace the theme definition in the Alacritty config file by:
# <<<<<<<<<<
# >>>>>>>>>>
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
dunst:
enabled: true
files:
default:
path: ~/.config/dunst/dunstrc
mode: replace
start_marker: "# <<<<<<<<<<"
end_marker: "# >>>>>>>>>>"
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
foot:
enabled: true
files:
default-256:
path: ~/.config/foot/foot.ini
mode: replace
start_marker: "# <<<<<<<<<<"
end_marker: "# >>>>>>>>>>"
Example configuration:
fzf:
enabled: true
files:
default:
path: ~/.fzf-base16.sh
mode: rewrite
Then add the line source $HOME/.fzf-base16.sh
to your bash, zsh, etc.
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
i3:
enabled: true
hook: i3-msg 'restart'
files:
default:
path: ~/.config/i3/config
mode: replace
start_marker: "# <<<<<<<<<<"
end_marker: "# >>>>>>>>>>"
i3 cannot include files, the colors have to be set in the main configuration file.
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
kitty:
enabled: true
files:
default:
path: ~/.config/kitty/kitty.conf
mode: replace
start_marker: "# <<<<<<<<<<"
end_marker: "# >>>>>>>>>>"
Replace the theme defition in the Kitty config file with:
# <<<<<<<<<<
# >>>>>>>>>>
Example configuration:
konsole:
enabled: true
files:
default:
path: ~/.local/share/konsole/base16.colorscheme
mode: rewrite
Then select the theme under appearance in profile settings.
Example configuration:
//TODO
Example configuration:
mako:
enabled: true
hook: makoctl reload
files:
default:
path: ~/.config/mako/config
mode: replace
start_marker: "# <<<<<<<<<<"
end_marker: "# >>>>>>>>>>"
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
nvim:
enabled: true
files:
default:
path: ~/.config/nvim/colors/base16.lua
mode: replace
start_marker: '-- <<<<<<<<<<'
end_marker: '-- >>>>>>>>>>'
Then:
- Add
colorscheme base16
to your nvim config. Also add let base16colorspace=256 before calling the colorscheme command if you have a 256 colorspace. - Create a ~/.config/nvim/colors/base16.lua file with the base16-universal-manager markers and the following command at the end of the file:
vim.g.colors_name = "base16"
.
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
qutebrowser:
enabled: true
files:
default:
path: ~/.config/qutebrowser/theme.py
mode: rewrite
Example qutebrowser configuration:
config.source('theme.py')
- Repo: TODO
Example configuration:
//TODO
Example configuration:
rofi:
enabled: true
files:
default:
path: ~/.config/rofi/base16-theme.rasi
mode: rewrite
In the ~/.config/rofi/config.rasi
file, add:
configuration {
theme: "~/.config/rofi/base16-theme.rasi";
}
Example configuration:
shell:
enabled: true
files:
default:
path: ~/.base16_theme
mode: rewrite
For bash: in ~/.bashrc
, add:
[ -f ~/.base16_theme ] && . ~/.base16_theme
If you use the fish shell: in ~/.config/fish/config.fish
, add:
if status --is-interactive; and status --is-login
[ -f ~/.base16_theme ] && eval sh '"'(realpath ~/.base16_theme)'"'
end
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
sway:
enabled: true
hook: swaymsg reload
files:
colors:
path: ~/.config/sway/theme.conf
mode: rewrite
Add into sway config:
include theme.conf
# Basic color configuration using the Base16 variables for windows and borders.
# Property Name Border BG Text Indicator Child Border
client.focused $base05 $base0D $base00 $base0D $base0D
client.focused_inactive $base01 $base01 $base05 $base03 $base01
client.unfocused $base01 $base00 $base05 $base01 $base01
client.urgent $base08 $base08 $base00 $base08 $base08
client.placeholder $base00 $base00 $base05 $base00 $base00
client.background $base07
If you use statusbar, add the following into the bar section:
colors {
background $base00
separator $base01
statusline $base04
# State Border BG Text
focused_workspace $base05 $base0D $base00
active_workspace $base05 $base03 $base00
inactive_workspace $base03 $base01 $base05
urgent_workspace $base08 $base08 $base00
binding_mode $base00 $base0A $base00
}
Example configuration:
//TODO
- Repo: TODO
Example configuration:
//TODO
Example configuration:
termite:
enabled: true
hook: killall -USR1 termite
files:
default:
path: ~/.config/termite/config
mode: replace
start_marker: "# <<<<<<<<<<"
end_marker: "# >>>>>>>>>>"
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
vim:
enabled: true
files:
default:
path: ~/.vim/colors/base16.vim
mode: replace
start_marker: '" <<<<<<<<<<'
end_marker: '" >>>>>>>>>>'
Then:
- Add
colorscheme base16
to your vim config. Also addlet base16colorspace=256
before calling the colorscheme command if you have a 256 colorspace. - Create a
~/.vim/colors/base16.vim
file with the base16-universal-manager markers and the following command at the end of the file:let g:colors_name="base16"
.
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
//TODO
Example configuration:
xresources:
enabled: true
# Replace <username> with your username. '~/' doesn't work here
hook: xrdb -load /home/<username>/.Xresources
files:
default:
path: ~/.Xresources.d/colors
mode: rewrite
Example configuration:
//TODO
Example configuration:
zathura:
enabled: true
files:
default:
path: ~/.config/zathura/zathurarc
mode: replace
start_marker: "# <<<<<<<<<<"
end_marker: "# >>>>>>>>>>"
Add these lines to your zathurarc file:
# <<<<<<<<<<
# >>>>>>>>>>
If you want to use the recolor options then you will have to replace default
with recolor
in the config.