Skip to content

Configuration examples

Paul Riou edited this page Feb 20, 2021 · 17 revisions

alacritty

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:

# <<<<<<<<<<
# >>>>>>>>>>

binary-ninja

  • Repo: TODO

Example configuration:

//TODO

blink

  • Repo: TODO

Example configuration:

//TODO

c_header

  • Repo: TODO

Example configuration:

//TODO

concfg

  • Repo: TODO

Example configuration:

//TODO

conemu

  • Repo: TODO

Example configuration:

//TODO

console2

  • Repo: TODO

Example configuration:

//TODO

crosh

  • Repo: TODO

Example configuration:

//TODO

dunst

Example configuration:

dunst:
  enabled: true
  files:
    default:
      path: ~/.config/dunst/dunstrc
      mode: replace
      start_marker: "# <<<<<<<<<<"
      end_marker: "# >>>>>>>>>>"

emacs

  • Repo: TODO

Example configuration:

//TODO

foot

Example configuration:

foot:
  enabled: true
  files:
    default-256:
      path: ~/.config/foot/foot.ini
      mode: replace
      start_marker: "# <<<<<<<<<<"
      end_marker: "# >>>>>>>>>>"

fzf

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.

gnome-terminal

  • Repo: TODO

Example configuration:

//TODO

godot

  • Repo: TODO

Example configuration:

//TODO

gtk2

  • Repo: TODO

Example configuration:

//TODO

highlight

  • Repo: TODO

Example configuration:

//TODO

html-preview

  • Repo: TODO

Example configuration:

//TODO

i3

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.

i3status-rust

  • Repo: TODO

Example configuration:

//TODO

iterm2

  • Repo: TODO

Example configuration:

//TODO

jetbrains

  • Repo: TODO

Example configuration:

//TODO

joe

  • Repo: TODO

Example configuration:

//TODO

kakoune

  • Repo: TODO

Example configuration:

//TODO

kitty

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:

# <<<<<<<<<<
# >>>>>>>>>>

konsole

Example configuration:

konsole:
  enabled: true
  files:
    default:
      path: ~/.local/share/konsole/base16.colorscheme
      mode: rewrite

Then select the theme under appearance in profile settings.

mako

Example configuration:

mako:
  enabled: true
  hook: makoctl reload
  files:
    default:
      path: ~/.config/mako/config
      mode: replace
      start_marker: "# <<<<<<<<<<"
      end_marker: "# >>>>>>>>>>"

mintty

  • Repo: TODO

Example configuration:

//TODO

monodevelop

  • Repo: TODO

Example configuration:

//TODO

prism

  • Repo: TODO

Example configuration:

//TODO

prompt-toolkit

  • Repo: TODO

Example configuration:

//TODO

putty

  • Repo: TODO

Example configuration:

//TODO

pygments

  • Repo: TODO

Example configuration:

//TODO

pywal

  • Repo: TODO

Example configuration:

//TODO

qtcreator

  • Repo: TODO

Example configuration:

//TODO

qutebrowser

Example configuration:

qutebrowser:
  enabled: true
  files:
    default:
    path: ~/.config/qutebrowser/theme.py
    mode: rewrite

Example qutebrowser configuration:

config.source('theme.py')

radare2

  • Repo: TODO

Example configuration:

//TODO

rofi

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";
}

shell

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

scide

  • Repo: TODO

Example configuration:

//TODO

st

  • Repo: TODO

Example configuration:

//TODO

stumpwm

  • Repo: TODO

Example configuration:

//TODO

styles

  • Repo: TODO

Example configuration:

//TODO

sway

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
}

telegram-desktop

  • Repo: TODO

Example configuration:

//TODO

termite

Example configuration:

termite:
  enabled: true
  hook: killall -USR1 termite
  files:
    default:
      path: ~/.config/termite/config
      mode: replace
      start_marker: "# <<<<<<<<<<"
      end_marker: "# >>>>>>>>>>"

termux

  • Repo: TODO

Example configuration:

//TODO

textmate

  • Repo: TODO

Example configuration:

//TODO

tmux

  • Repo: TODO

Example configuration:

//TODO

tilix

  • Repo: TODO

Example configuration:

//TODO

vim

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 add let 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".

vis

  • Repo: TODO

Example configuration:

//TODO

vscode

  • Repo: TODO

Example configuration:

//TODO

windows-command-prompt

  • Repo: TODO

Example configuration:

//TODO

xcode

  • Repo: TODO

Example configuration:

//TODO

xfce4-terminal

  • Repo: TODO

Example configuration:

//TODO

xresources

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

xshell

  • Repo: TODO

Example configuration:

//TODO

zathura

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.