diff --git a/flavours.org b/flavours.org new file mode 100644 index 0000000..c3753dc --- /dev/null +++ b/flavours.org @@ -0,0 +1,1248 @@ +#+PROPERTY: header-args :mkdirp yes +#+title:Flavours +* Purpose +I don't really remember how this works, but it will be more +comfortable to manage as a tangle file than it was as a massive +directory. I need to come back and make this work once everything else +is troubleshot for nix + +* .config +** config.toml +*** TODO +- reconfigure hooks for systemd +#+begin_src toml :tangle .config/flavours/config.toml + [[items]] + file = "~/.config/dunst/dunstrc" + template = "dunst" + rewrite = false + hook = "pkill dunst" + + # fzf, bat, vim, dunst, lemonbar, dmenu, ls_colors?, st, bspwm + + # [[items]] + # file = "~/.config/flavours/env.fish" + # template = "environment" + # rewrite = true + # hook = "~/.config/flavours/env.fish && lemonlaunch" + # # TODO: reload all env dependent things ? + + [[items]] + file = "~/scripts/lemonlaunch" + template = "lemonlaunch" + rewrite = true + hook = "lemonlaunch &" + + [[items]] + file = "~/.config/bspwm/bspwmrc" + template = "bspwm" + rewrite = false + hook = "bspc wm -r" + + [[items]] + file = "~/.Xresources" + template = "xresources" + rewrite = false + start = "/* start flavours */" + end = "/* end flavours */" + hook = "xrdb -load .Xresources && pidof st | xargs kill -s USR1" + + [[items]] + file = "~/.config/sxhkd/sxhkdrc" + template = "sxhkd" + rewrite = false + hook = "pkill -USR1 -x sxhkd" + # TODO: actually, make dmenu aliases and redefine them here + # TODO: cleanup sxhkdrc stuff ? + + [[items]] + file = "~/.config/nvim/lua/init.lua" + template = "nvim" + rewrite = false + start = "-- start flavours" + end = "-- end flavours" + hook = "echo 'loaded'" + + [[items]] + file = "~/scripts/dmenu_run_top" + template = "dmenu_run_top" + rewrite = false + start = "# start flavours" + end = "# end flavours" + hook = "" +#+end_src +** env.fish +*** TODO +- What is this for? Is it needed? +#+begin_src fish :tangle ~/.config/flavours/env.fish + #!/usr/bin/fish + set -e FLAV01 + set -e FLAV02 + set -e FLAV03 + set -e FLAV04 + set -e FLAV05 + set -e FLAV06 + set -e FLAV07 + set -e FLAV08 + set -e FLAV09 + set -e FLAV10 + set -e FLAV11 + set -e FLAV12 + set -e FLAV13 + set -e FLAV14 + set -e FLAV15 + set -e FLAV16 + + set -Ux FLAV01 "#ebdbb2" + set -Ux FLAV02 "#d5c4a1" + set -Ux FLAV03 "#bdae93" + set -Ux FLAV04 "#665c54" + set -Ux FLAV05 "#504945" + set -Ux FLAV06 "#3c3836" + set -Ux FLAV07 "#282828" + set -Ux FLAV08 "#9d0006" + set -Ux FLAV09 "#af3a03" + set -Ux FLAV10 "#f9f5d7" + set -Ux FLAV11 "#f9f5d7" + set -Ux FLAV12 "#9d0006" + set -Ux FLAV13 "#b57614" + set -Ux FLAV14 "#79740e" + set -Ux FLAV15 "#427b58" + set -Ux FLAV16 "#076678" +#+end_src +* Templates +** TODO +- Why do so many of these have .dunstrc extensions? +** Default +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/environment/templates/default.mustache +#!/usr/bin/fish +set -e FLAV01 +set -e FLAV02 +set -e FLAV03 +set -e FLAV04 +set -e FLAV05 +set -e FLAV06 +set -e FLAV07 +set -e FLAV08 +set -e FLAV09 +set -e FLAV10 +set -e FLAV11 +set -e FLAV12 +set -e FLAV13 +set -e FLAV14 +set -e FLAV15 +set -e FLAV16 + +set -Ux FLAV01 "#{{base01-hex}}" +set -Ux FLAV02 "#{{base02-hex}}" +set -Ux FLAV03 "#{{base03-hex}}" +set -Ux FLAV04 "#{{base04-hex}}" +set -Ux FLAV05 "#{{base05-hex}}" +set -Ux FLAV06 "#{{base06-hex}}" +set -Ux FLAV07 "#{{base07-hex}}" +set -Ux FLAV08 "#{{base08-hex}}" +set -Ux FLAV09 "#{{base09-hex}}" +set -Ux FLAV10 "#{{base10-hex}}" +set -Ux FLAV11 "#{{base11-hex}}" +set -Ux FLAV12 "#{{base12-hex}}" +set -Ux FLAV13 "#{{base13-hex}}" +set -Ux FLAV14 "#{{base14-hex}}" +set -Ux FLAV15 "#{{base15-hex}}" +set -Ux FLAV16 "#{{base16-hex}}" + +#+end_src +** Amfora +#+begin_src yaml :tangle ~/.local/share/flavours/base16/templates/amfora/templates/config.yaml +default: + extension: .toml + output: colors +#+end_src +#+begin_src ini :tangle ~/.local/share/flavours/base16/templates/amfora/templates/default.mustache +# Base16 {{scheme-name}} - amfora color config +# {{scheme-author}} + +[theme] +bg = "#{{base00-hex}}" +fg = "#{{base05-hex}}" + +bottombar_label = "#{{base0E-hex}}" +bottombar_text = "#{{base05-hex}}" +bottombar_bg = "#{{base01-hex}}" + +tab_num = "#{{base02-hex}}" +tab_divider = "#{{base04-hex}}" + +amfora_link = "#{{base0B-hex}}" +foreign_link = "#{{base03-hex}}" +link_number = "#{{base03-hex}}" + +btn_bg = "#{{base01-hex}}" +btn_text = "#{{base05-hex}}" + +input_modal_bg = "#{{base01-hex}}" +input_modal_text = "#{{base05-hex}}" +input_modal_field_bg = "#{{base00-hex}}" +input_modal_field_text = "#{{base05-hex}}" +info_modal_bg = "#{{base01-hex}}" +info_modal_text = "#{{base05-hex}}" +error_modal_bg = "#{{base01-hex}}" +error_modal_text = "#{{base0F-hex}}" +yesno_modal_bg = "#{{base01-hex}}" +yesno_modal_text = "#{{base05-hex}}" +tofu_modal_bg = "#{{base01-hex}}" +tofu_modal_text = "#{{base05-hex}}" +subscription_modal_bg = "#{{base01-hex}}" +subscription_modal_text = "#{{base05-hex}}" + +hdg_1 = "#{{base09-hex}}" +hdg_2 = "#{{base0A-hex}}" +hdg_3 = "#{{base0D-hex}}" +regular_text = "#{{base05-hex}}" +preformatted_text = "#{{base0C-hex}}" +list_text = "#{{base05-hex}}" + +#+end_src +** BSPWM +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/bspwm/templates/default.mustache +bspc config normal_border_color "#{{base01-hex}}" +bspc config active_border_color "#{{base14-hex}}" +bspc config focused_border_color "#{{base14-hex}}" +bspc config presel_feedback_color "#{{base15-hex}}" + +#+end_src +** Dmenu +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/dmenu_run_top/templates/config.yaml +default: + extension: .dunstrc + output: themes + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/dmenu_run_top/templates/default.mustache +norm_fg="#{{base05-hex}}" +norm_bg="#{{base00-hex}}" +sel_fg="#{{base00-hex}}" +sel_bg="#{{base0B-hex}}" + +#+end_src +** Dunst +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/dunst/templates/config.yaml +default: + extension: .dunstrc + output: themes + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/dunst/templates/default.mustache +[global] +frame_color = "#{{base05-hex}}" +separator_color = "#{{base05-hex}}" + +[base16_low] + msg_urgency = low + background = "#{{base01-hex}}" + foreground = "#{{base03-hex}}" + +[base16_normal] + msg_urgency = normal + background = "#{{base02-hex}}" + foreground = "#{{base05-hex}}" + +[base16_critical] + msg_urgency = critical + background = "#{{base08-hex}}" + foreground = "#{{base06-hex}}" + +#+end_src +** FZF +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/fzf/templates/config.yaml +default: + extension: .config + output: bash + +fish: + extension: .fish + output: fish + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/fzf/templates/default.mustache +# Base16 {{scheme-name}} +# Author: {{scheme-author}} + +_gen_fzf_default_opts() { + +local color00='#{{base00-hex}}' +local color01='#{{base01-hex}}' +local color02='#{{base02-hex}}' +local color03='#{{base03-hex}}' +local color04='#{{base04-hex}}' +local color05='#{{base05-hex}}' +local color06='#{{base06-hex}}' +local color07='#{{base07-hex}}' +local color08='#{{base08-hex}}' +local color09='#{{base09-hex}}' +local color0A='#{{base0A-hex}}' +local color0B='#{{base0B-hex}}' +local color0C='#{{base0C-hex}}' +local color0D='#{{base0D-hex}}' +local color0E='#{{base0E-hex}}' +local color0F='#{{base0F-hex}}' + +export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\ +" --color=bg+:$color01,bg:$color00,spinner:$color0C,hl:$color0D"\ +" --color=fg:$color04,header:$color0D,info:$color0A,pointer:$color0C"\ +" --color=marker:$color0C,fg+:$color06,prompt:$color0A,hl+:$color0D" + +} + +_gen_fzf_default_opts + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/fzf/templates/fish.mustache +# Base16 {{scheme-name}} +# Author: {{scheme-author}} + +set -l color00 '#{{base00-hex}}' +set -l color01 '#{{base01-hex}}' +set -l color02 '#{{base02-hex}}' +set -l color03 '#{{base03-hex}}' +set -l color04 '#{{base04-hex}}' +set -l color05 '#{{base05-hex}}' +set -l color06 '#{{base06-hex}}' +set -l color07 '#{{base07-hex}}' +set -l color08 '#{{base08-hex}}' +set -l color09 '#{{base09-hex}}' +set -l color0A '#{{base0A-hex}}' +set -l color0B '#{{base0B-hex}}' +set -l color0C '#{{base0C-hex}}' +set -l color0D '#{{base0D-hex}}' +set -l color0E '#{{base0E-hex}}' +set -l color0F '#{{base0F-hex}}' + +set -l FZF_NON_COLOR_OPTS + +for arg in (echo $FZF_DEFAULT_OPTS | tr " " "\n") + if not string match -q -- "--color*" $arg + set -a FZF_NON_COLOR_OPTS $arg + end +end + +set -Ux FZF_DEFAULT_OPTS "$FZF_NON_COLOR_OPTS"\ +" --color=bg+:$color01,bg:$color00,spinner:$color0C,hl:$color0D"\ +" --color=fg:$color04,header:$color0D,info:$color0A,pointer:$color0C"\ +" --color=marker:$color0C,fg+:$color06,prompt:$color0A,hl+:$color0D" + +#+end_src +** Lemonbar +*** TODO: replace with polybar +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/lemonlaunch/templates/default.mustache +#!/usr/bin/fish +if ps -a | grep lemonbar + pkill lemonbar +end + +sleep .1 && +~/.config/lemonbar/lemonbar.fish | lemonbar -pb -f "BitstreamVeraSansMono:size=12" -B "#{{base01-hex}}" -F "#{{base06-hex}}" & +sleep .1 && +xdo above -t (xdo id -n root) (xdo id -n lemonbar) + +#+end_src +** Neovim +*** TODO: remove +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/nvim/templates/config.yaml +default: + extension: .dunstrc + output: themes + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/nvim/templates/default.mustache +require('base16-colorscheme').setup({ + base00 = '#{{base00-hex}}', + base01 = '#{{base01-hex}}', + base02 = '#{{base02-hex}}', + base03 = '#{{base03-hex}}', + base04 = '#{{base04-hex}}', + base05 = '#{{base05-hex}}', + base06 = '#{{base06-hex}}', + base07 = '#{{base07-hex}}', + base08 = '#{{base08-hex}}', + base09 = '#{{base09-hex}}', + base0A = '#{{base0A-hex}}', + base0B = '#{{base0B-hex}}', + base0C = '#{{base0C-hex}}', + base0D = '#{{base0D-hex}}', + base0E = '#{{base0E-hex}}', + base0F = '#{{base0F-hex}}' +}) + +#+end_src +** Qutebrowser +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/qutebrowser/templates/config.yaml +default: + extension: .config.py + output: themes/default + +minimal: + extension: .config.py + output: themes/minimal + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/qutebrowser/templates/default.mustache +# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) +# Base16 qutebrowser template by theova +# {{scheme-name}} scheme by {{scheme-author}} + +base00 = "#{{base00-hex}}" +base01 = "#{{base01-hex}}" +base02 = "#{{base02-hex}}" +base03 = "#{{base03-hex}}" +base04 = "#{{base04-hex}}" +base05 = "#{{base05-hex}}" +base06 = "#{{base06-hex}}" +base07 = "#{{base07-hex}}" +base08 = "#{{base08-hex}}" +base09 = "#{{base09-hex}}" +base0A = "#{{base0A-hex}}" +base0B = "#{{base0B-hex}}" +base0C = "#{{base0C-hex}}" +base0D = "#{{base0D-hex}}" +base0E = "#{{base0E-hex}}" +base0F = "#{{base0F-hex}}" + +# set qutebrowser colors + +# Text color of the completion widget. May be a single color to use for +# all columns or a list of three colors, one for each column. +c.colors.completion.fg = base05 + +# Background color of the completion widget for odd rows. +c.colors.completion.odd.bg = base01 + +# Background color of the completion widget for even rows. +c.colors.completion.even.bg = base00 + +# Foreground color of completion widget category headers. +c.colors.completion.category.fg = base0A + +# Background color of the completion widget category headers. +c.colors.completion.category.bg = base00 + +# Top border color of the completion widget category headers. +c.colors.completion.category.border.top = base00 + +# Bottom border color of the completion widget category headers. +c.colors.completion.category.border.bottom = base00 + +# Foreground color of the selected completion item. +c.colors.completion.item.selected.fg = base05 + +# Background color of the selected completion item. +c.colors.completion.item.selected.bg = base02 + +# Top border color of the selected completion item. +c.colors.completion.item.selected.border.top = base02 + +# Bottom border color of the selected completion item. +c.colors.completion.item.selected.border.bottom = base02 + +# Foreground color of the matched text in the selected completion item. +c.colors.completion.item.selected.match.fg = base0B + +# Foreground color of the matched text in the completion. +c.colors.completion.match.fg = base0B + +# Color of the scrollbar handle in the completion view. +c.colors.completion.scrollbar.fg = base05 + +# Color of the scrollbar in the completion view. +c.colors.completion.scrollbar.bg = base00 + +# Background color of disabled items in the context menu. +c.colors.contextmenu.disabled.bg = base01 + +# Foreground color of disabled items in the context menu. +c.colors.contextmenu.disabled.fg = base04 + +# Background color of the context menu. If set to null, the Qt default is used. +c.colors.contextmenu.menu.bg = base00 + +# Foreground color of the context menu. If set to null, the Qt default is used. +c.colors.contextmenu.menu.fg = base05 + +# Background color of the context menu’s selected item. If set to null, the Qt default is used. +c.colors.contextmenu.selected.bg = base02 + +#Foreground color of the context menu’s selected item. If set to null, the Qt default is used. +c.colors.contextmenu.selected.fg = base05 + +# Background color for the download bar. +c.colors.downloads.bar.bg = base00 + +# Color gradient start for download text. +c.colors.downloads.start.fg = base00 + +# Color gradient start for download backgrounds. +c.colors.downloads.start.bg = base0D + +# Color gradient end for download text. +c.colors.downloads.stop.fg = base00 + +# Color gradient stop for download backgrounds. +c.colors.downloads.stop.bg = base0C + +# Foreground color for downloads with errors. +c.colors.downloads.error.fg = base08 + +# Font color for hints. +c.colors.hints.fg = base00 + +# Background color for hints. Note that you can use a `rgba(...)` value +# for transparency. +c.colors.hints.bg = base0A + +# Font color for the matched part of hints. +c.colors.hints.match.fg = base05 + +# Text color for the keyhint widget. +c.colors.keyhint.fg = base05 + +# Highlight color for keys to complete the current keychain. +c.colors.keyhint.suffix.fg = base05 + +# Background color of the keyhint widget. +c.colors.keyhint.bg = base00 + +# Foreground color of an error message. +c.colors.messages.error.fg = base00 + +# Background color of an error message. +c.colors.messages.error.bg = base08 + +# Border color of an error message. +c.colors.messages.error.border = base08 + +# Foreground color of a warning message. +c.colors.messages.warning.fg = base00 + +# Background color of a warning message. +c.colors.messages.warning.bg = base0E + +# Border color of a warning message. +c.colors.messages.warning.border = base0E + +# Foreground color of an info message. +c.colors.messages.info.fg = base05 + +# Background color of an info message. +c.colors.messages.info.bg = base00 + +# Border color of an info message. +c.colors.messages.info.border = base00 + +# Foreground color for prompts. +c.colors.prompts.fg = base05 + +# Border used around UI elements in prompts. +c.colors.prompts.border = base00 + +# Background color for prompts. +c.colors.prompts.bg = base00 + +# Background color for the selected item in filename prompts. +c.colors.prompts.selected.bg = base02 + +# Foreground color for the selected item in filename prompts. +c.colors.prompts.selected.fg = base05 + +# Foreground color of the statusbar. +c.colors.statusbar.normal.fg = base0B + +# Background color of the statusbar. +c.colors.statusbar.normal.bg = base00 + +# Foreground color of the statusbar in insert mode. +c.colors.statusbar.insert.fg = base00 + +# Background color of the statusbar in insert mode. +c.colors.statusbar.insert.bg = base0D + +# Foreground color of the statusbar in passthrough mode. +c.colors.statusbar.passthrough.fg = base00 + +# Background color of the statusbar in passthrough mode. +c.colors.statusbar.passthrough.bg = base0C + +# Foreground color of the statusbar in private browsing mode. +c.colors.statusbar.private.fg = base00 + +# Background color of the statusbar in private browsing mode. +c.colors.statusbar.private.bg = base01 + +# Foreground color of the statusbar in command mode. +c.colors.statusbar.command.fg = base05 + +# Background color of the statusbar in command mode. +c.colors.statusbar.command.bg = base00 + +# Foreground color of the statusbar in private browsing + command mode. +c.colors.statusbar.command.private.fg = base05 + +# Background color of the statusbar in private browsing + command mode. +c.colors.statusbar.command.private.bg = base00 + +# Foreground color of the statusbar in caret mode. +c.colors.statusbar.caret.fg = base00 + +# Background color of the statusbar in caret mode. +c.colors.statusbar.caret.bg = base0E + +# Foreground color of the statusbar in caret mode with a selection. +c.colors.statusbar.caret.selection.fg = base00 + +# Background color of the statusbar in caret mode with a selection. +c.colors.statusbar.caret.selection.bg = base0D + +# Background color of the progress bar. +c.colors.statusbar.progress.bg = base0D + +# Default foreground color of the URL in the statusbar. +c.colors.statusbar.url.fg = base05 + +# Foreground color of the URL in the statusbar on error. +c.colors.statusbar.url.error.fg = base08 + +# Foreground color of the URL in the statusbar for hovered links. +c.colors.statusbar.url.hover.fg = base05 + +# Foreground color of the URL in the statusbar on successful load +# (http). +c.colors.statusbar.url.success.http.fg = base0C + +# Foreground color of the URL in the statusbar on successful load +# (https). +c.colors.statusbar.url.success.https.fg = base0B + +# Foreground color of the URL in the statusbar when there's a warning. +c.colors.statusbar.url.warn.fg = base0E + +# Background color of the tab bar. +c.colors.tabs.bar.bg = base00 + +# Color gradient start for the tab indicator. +c.colors.tabs.indicator.start = base0D + +# Color gradient end for the tab indicator. +c.colors.tabs.indicator.stop = base0C + +# Color for the tab indicator on errors. +c.colors.tabs.indicator.error = base08 + +# Foreground color of unselected odd tabs. +c.colors.tabs.odd.fg = base05 + +# Background color of unselected odd tabs. +c.colors.tabs.odd.bg = base01 + +# Foreground color of unselected even tabs. +c.colors.tabs.even.fg = base05 + +# Background color of unselected even tabs. +c.colors.tabs.even.bg = base00 + +# Background color of pinned unselected even tabs. +c.colors.tabs.pinned.even.bg = base0C + +# Foreground color of pinned unselected even tabs. +c.colors.tabs.pinned.even.fg = base07 + +# Background color of pinned unselected odd tabs. +c.colors.tabs.pinned.odd.bg = base0B + +# Foreground color of pinned unselected odd tabs. +c.colors.tabs.pinned.odd.fg = base07 + +# Background color of pinned selected even tabs. +c.colors.tabs.pinned.selected.even.bg = base02 + +# Foreground color of pinned selected even tabs. +c.colors.tabs.pinned.selected.even.fg = base05 + +# Background color of pinned selected odd tabs. +c.colors.tabs.pinned.selected.odd.bg = base02 + +# Foreground color of pinned selected odd tabs. +c.colors.tabs.pinned.selected.odd.fg = base05 + +# Foreground color of selected odd tabs. +c.colors.tabs.selected.odd.fg = base05 + +# Background color of selected odd tabs. +c.colors.tabs.selected.odd.bg = base02 + +# Foreground color of selected even tabs. +c.colors.tabs.selected.even.fg = base05 + +# Background color of selected even tabs. +c.colors.tabs.selected.even.bg = base02 + +# Background color for webpages if unset (or empty to use the theme's +# color). +# c.colors.webpage.bg = base00 + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/qutebrowser/templates/minimal.mustache +# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) +# Base16 qutebrowser template by theova and Daniel Mulford +# {{scheme-name}} scheme by {{scheme-author}} + +base00 = "#{{base00-hex}}" +base01 = "#{{base01-hex}}" +base02 = "#{{base02-hex}}" +base03 = "#{{base03-hex}}" +base04 = "#{{base04-hex}}" +base05 = "#{{base05-hex}}" +base06 = "#{{base06-hex}}" +base07 = "#{{base07-hex}}" +base08 = "#{{base08-hex}}" +base09 = "#{{base09-hex}}" +base0A = "#{{base0A-hex}}" +base0B = "#{{base0B-hex}}" +base0C = "#{{base0C-hex}}" +base0D = "#{{base0D-hex}}" +base0E = "#{{base0E-hex}}" +base0F = "#{{base0F-hex}}" + +# set qutebrowser colors + +# Text color of the completion widget. May be a single color to use for +# all columns or a list of three colors, one for each column. +c.colors.completion.fg = base05 + +# Background color of the completion widget for odd rows. +c.colors.completion.odd.bg = base00 + +# Background color of the completion widget for even rows. +c.colors.completion.even.bg = base00 + +# Foreground color of completion widget category headers. +c.colors.completion.category.fg = base0D + +# Background color of the completion widget category headers. +c.colors.completion.category.bg = base00 + +# Top border color of the completion widget category headers. +c.colors.completion.category.border.top = base00 + +# Bottom border color of the completion widget category headers. +c.colors.completion.category.border.bottom = base00 + +# Foreground color of the selected completion item. +c.colors.completion.item.selected.fg = base05 + +# Background color of the selected completion item. +c.colors.completion.item.selected.bg = base02 + +# Top border color of the selected completion item. +c.colors.completion.item.selected.border.top = base02 + +# Bottom border color of the selected completion item. +c.colors.completion.item.selected.border.bottom = base02 + +# Foreground color of the matched text in the selected completion item. +c.colors.completion.item.selected.match.fg = base05 + +# Foreground color of the matched text in the completion. +c.colors.completion.match.fg = base09 + +# Color of the scrollbar handle in the completion view. +c.colors.completion.scrollbar.fg = base05 + +# Color of the scrollbar in the completion view. +c.colors.completion.scrollbar.bg = base00 + +# Background color of disabled items in the context menu. +c.colors.contextmenu.disabled.bg = base01 + +# Foreground color of disabled items in the context menu. +c.colors.contextmenu.disabled.fg = base04 + +# Background color of the context menu. If set to null, the Qt default is used. +c.colors.contextmenu.menu.bg = base00 + +# Foreground color of the context menu. If set to null, the Qt default is used. +c.colors.contextmenu.menu.fg = base05 + +# Background color of the context menu’s selected item. If set to null, the Qt default is used. +c.colors.contextmenu.selected.bg = base02 + +#Foreground color of the context menu’s selected item. If set to null, the Qt default is used. +c.colors.contextmenu.selected.fg = base05 + +# Background color for the download bar. +c.colors.downloads.bar.bg = base00 + +# Color gradient start for download text. +c.colors.downloads.start.fg = base00 + +# Color gradient start for download backgrounds. +c.colors.downloads.start.bg = base0D + +# Color gradient end for download text. +c.colors.downloads.stop.fg = base00 + +# Color gradient stop for download backgrounds. +c.colors.downloads.stop.bg = base0C + +# Foreground color for downloads with errors. +c.colors.downloads.error.fg = base08 + +# Font color for hints. +c.colors.hints.fg = base00 + +# Background color for hints. Note that you can use a `rgba(...)` value +# for transparency. +c.colors.hints.bg = base0A + +# Font color for the matched part of hints. +c.colors.hints.match.fg = base05 + +# Text color for the keyhint widget. +c.colors.keyhint.fg = base05 + +# Highlight color for keys to complete the current keychain. +c.colors.keyhint.suffix.fg = base05 + +# Background color of the keyhint widget. +c.colors.keyhint.bg = base00 + +# Foreground color of an error message. +c.colors.messages.error.fg = base00 + +# Background color of an error message. +c.colors.messages.error.bg = base08 + +# Border color of an error message. +c.colors.messages.error.border = base08 + +# Foreground color of a warning message. +c.colors.messages.warning.fg = base00 + +# Background color of a warning message. +c.colors.messages.warning.bg = base0E + +# Border color of a warning message. +c.colors.messages.warning.border = base0E + +# Foreground color of an info message. +c.colors.messages.info.fg = base05 + +# Background color of an info message. +c.colors.messages.info.bg = base00 + +# Border color of an info message. +c.colors.messages.info.border = base00 + +# Foreground color for prompts. +c.colors.prompts.fg = base05 + +# Border used around UI elements in prompts. +c.colors.prompts.border = base00 + +# Background color for prompts. +c.colors.prompts.bg = base00 + +# Background color for the selected item in filename prompts. +c.colors.prompts.selected.bg = base02 + +# Foreground color for the selected item in filename prompts. +c.colors.prompts.selected.fg = base05 + +# Foreground color of the statusbar. +c.colors.statusbar.normal.fg = base05 + +# Background color of the statusbar. +c.colors.statusbar.normal.bg = base00 + +# Foreground color of the statusbar in insert mode. +c.colors.statusbar.insert.fg = base0C + +# Background color of the statusbar in insert mode. +c.colors.statusbar.insert.bg = base00 + +# Foreground color of the statusbar in passthrough mode. +c.colors.statusbar.passthrough.fg = base0A + +# Background color of the statusbar in passthrough mode. +c.colors.statusbar.passthrough.bg = base00 + +# Foreground color of the statusbar in private browsing mode. +c.colors.statusbar.private.fg = base0E + +# Background color of the statusbar in private browsing mode. +c.colors.statusbar.private.bg = base00 + +# Foreground color of the statusbar in command mode. +c.colors.statusbar.command.fg = base04 + +# Background color of the statusbar in command mode. +c.colors.statusbar.command.bg = base01 + +# Foreground color of the statusbar in private browsing + command mode. +c.colors.statusbar.command.private.fg = base0E + +# Background color of the statusbar in private browsing + command mode. +c.colors.statusbar.command.private.bg = base01 + +# Foreground color of the statusbar in caret mode. +c.colors.statusbar.caret.fg = base0D + +# Background color of the statusbar in caret mode. +c.colors.statusbar.caret.bg = base00 + +# Foreground color of the statusbar in caret mode with a selection. +c.colors.statusbar.caret.selection.fg = base0D + +# Background color of the statusbar in caret mode with a selection. +c.colors.statusbar.caret.selection.bg = base00 + +# Background color of the progress bar. +c.colors.statusbar.progress.bg = base0D + +# Default foreground color of the URL in the statusbar. +c.colors.statusbar.url.fg = base05 + +# Foreground color of the URL in the statusbar on error. +c.colors.statusbar.url.error.fg = base08 + +# Foreground color of the URL in the statusbar for hovered links. +c.colors.statusbar.url.hover.fg = base09 + +# Foreground color of the URL in the statusbar on successful load +# (http). +c.colors.statusbar.url.success.http.fg = base0B + +# Foreground color of the URL in the statusbar on successful load +# (https). +c.colors.statusbar.url.success.https.fg = base0B + +# Foreground color of the URL in the statusbar when there's a warning. +c.colors.statusbar.url.warn.fg = base0E + +# Background color of the tab bar. +c.colors.tabs.bar.bg = base00 + +# Color gradient start for the tab indicator. +c.colors.tabs.indicator.start = base0D + +# Color gradient end for the tab indicator. +c.colors.tabs.indicator.stop = base0C + +# Color for the tab indicator on errors. +c.colors.tabs.indicator.error = base08 + +# Foreground color of unselected odd tabs. +c.colors.tabs.odd.fg = base05 + +# Background color of unselected odd tabs. +c.colors.tabs.odd.bg = base00 + +# Foreground color of unselected even tabs. +c.colors.tabs.even.fg = base05 + +# Background color of unselected even tabs. +c.colors.tabs.even.bg = base00 + +# Background color of pinned unselected even tabs. +c.colors.tabs.pinned.even.bg = base0B + +# Foreground color of pinned unselected even tabs. +c.colors.tabs.pinned.even.fg = base00 + +# Background color of pinned unselected odd tabs. +c.colors.tabs.pinned.odd.bg = base0B + +# Foreground color of pinned unselected odd tabs. +c.colors.tabs.pinned.odd.fg = base00 + +# Background color of pinned selected even tabs. +c.colors.tabs.pinned.selected.even.bg = base02 + +# Foreground color of pinned selected even tabs. +c.colors.tabs.pinned.selected.even.fg = base05 + +# Background color of pinned selected odd tabs. +c.colors.tabs.pinned.selected.odd.bg = base02 + +# Foreground color of pinned selected odd tabs. +c.colors.tabs.pinned.selected.odd.fg = base05 + +# Foreground color of selected odd tabs. +c.colors.tabs.selected.odd.fg = base05 + +# Background color of selected odd tabs. +c.colors.tabs.selected.odd.bg = base02 + +# Foreground color of selected even tabs. +c.colors.tabs.selected.even.fg = base05 + +# Background color of selected even tabs. +c.colors.tabs.selected.even.bg = base02 + +# Background color for webpages if unset (or empty to use the theme's +# color). +c.colors.webpage.bg = base00 + +#+end_src +** SXHKD +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/sxhkd/templates/config.yaml +default: + extension: .dunstrc + output: themes + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/sxhkd/templates/default.mustache +set norm_bg "#{{base01-hex}}" +set norm_fg "#{{base06-hex}}" +set sel_bg "#{{base14-hex}}" +set sel_fg "#{{base01-hex}}" + +#+end_src +** Tmux +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/tmux/templates/config.yaml +default: + extension: .conf + output: colors + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/tmux/templates/default.mustache +# COLOUR (base16) + +# default statusbar colors +set-option -g status-style "fg=#{{base04-hex}},bg=#{{base01-hex}}" + +# default window title colors +set-window-option -g window-status-style "fg=#{{base04-hex}},bg=default" + +# active window title colors +set-window-option -g window-status-current-style "fg=#{{base0A-hex}},bg=default" + +# pane border +set-option -g pane-border-style "fg=#{{base01-hex}}" +set-option -g pane-active-border-style "fg=#{{base02-hex}}" + +# message text +set-option -g message-style "fg=#{{base05-hex}},bg=#{{base01-hex}}" + +# pane number display +set-option -g display-panes-active-colour "#{{base0B-hex}}" +set-option -g display-panes-colour "#{{base0A-hex}}" + +# clock +set-window-option -g clock-mode-colour "#{{base0B-hex}}" + +# copy mode highligh +set-window-option -g mode-style "fg=#{{base04-hex}},bg=#{{base02-hex}}" + +# bell +set-window-option -g window-status-bell-style "fg=#{{base01-hex}},bg=#{{base08-hex}}" + +#+end_src +** Xresources +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/xresources/templates/config.yaml +default: + extension: .Xresources + output: xresources +default-256: + extension: -256.Xresources + output: xresources + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/xresources/templates/default-256.mustache +! Base16 {{scheme-name}} +! Scheme: {{scheme-author}} + +#define base00 #{{base00-hex}} +#define base01 #{{base01-hex}} +#define base02 #{{base02-hex}} +#define base03 #{{base03-hex}} +#define base04 #{{base04-hex}} +#define base05 #{{base05-hex}} +#define base06 #{{base06-hex}} +#define base07 #{{base07-hex}} +#define base08 #{{base08-hex}} +#define base09 #{{base09-hex}} +#define base0A #{{base0A-hex}} +#define base0B #{{base0B-hex}} +#define base0C #{{base0C-hex}} +#define base0D #{{base0D-hex}} +#define base0E #{{base0E-hex}} +#define base0F #{{base0F-hex}} + +*foreground: base05 +#ifdef background_opacity +*background: [background_opacity]base00 +#else +*background: base00 +#endif +*cursorColor: base05 + +*color0: base00 +*color1: base08 +*color2: base0B +*color3: base0A +*color4: base0D +*color5: base0E +*color6: base0C +*color7: base05 + +*color8: base03 +*color9: base08 +*color10: base0B +*color11: base0A +*color12: base0D +*color13: base0E +*color14: base0C +*color15: base07 + +! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt), +! use 'shell' template to set these if necessary +*color16: base09 +*color17: base0F +*color18: base01 +*color19: base02 +*color20: base04 +*color21: base06 + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/xresources/templates/default.mustache +#define base00 #{{base00-hex}} +#define base01 #{{base01-hex}} +#define base02 #{{base02-hex}} +#define base03 #{{base03-hex}} +#define base04 #{{base04-hex}} +#define base05 #{{base05-hex}} +#define base06 #{{base06-hex}} +#define base07 #{{base07-hex}} +#define base08 #{{base08-hex}} +#define base09 #{{base09-hex}} +#define base0A #{{base0A-hex}} +#define base0B #{{base0B-hex}} +#define base0C #{{base0C-hex}} +#define base0D #{{base0D-hex}} +#define base0E #{{base0E-hex}} +#define base0F #{{base0F-hex}} + +*foreground: base05 +#ifdef background_opacity +*background: [background_opacity]base00 +#else +*background: base00 +#endif +*cursorColor: base05 + +!black +*color0: base00 +*color8: base03 +!red +*color1: base08 +*color9: base09 +!green +*color2: base0B +*color10: base0B +!yellow +*color3: base0A +*color11: base0A +!blue +*color4: base0D +*color12: base0D +!magenta +*color5: base0E +*color13: base0E +!cyan +*color6: base0C +*color14: base0C +!white +*color7: base05 +*color15: base07 + +#+end_src +** Zathura +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/zathura/templates/config.yaml +default: + extension: .config + output: colors + +recolor: + extension: .config + output: recolors + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/zathura/templates/default.mustache +# Base16 {{scheme-name}} +# Author: {{scheme-author}} + +set default-bg "#{{base00-hex}}" +set default-fg "#{{base01-hex}}" + +set statusbar-fg "#{{base04-hex}}" +set statusbar-bg "#{{base02-hex}}" + +set inputbar-bg "#{{base00-hex}}" +set inputbar-fg "#{{base07-hex}}" + +set notification-bg "#{{base00-hex}}" +set notification-fg "#{{base07-hex}}" + +set notification-error-bg "#{{base00-hex}}" +set notification-error-fg "#{{base08-hex}}" + +set notification-warning-bg "#{{base00-hex}}" +set notification-warning-fg "#{{base08-hex}}" + +set highlight-color "#{{base0A-hex}}" +set highlight-active-color "#{{base0D-hex}}" + +set completion-bg "#{{base01-hex}}" +set completion-fg "#{{base0D-hex}}" + +set completion-highlight-fg "#{{base07-hex}}" +set completion-highlight-bg "#{{base0D-hex}}" + +set recolor-lightcolor "#{{base00-hex}}" +set recolor-darkcolor "#{{base06-hex}}" + +set recolor "false" +set recolor-keephue "false" + +#+end_src +#+begin_src toml :tangle ~/.local/share/flavours/base16/templates/zathura/templates/recolor.mustache +# Base16 {{scheme-name}} +# Author: {{scheme-author}} + +set default-bg "#{{base00-hex}}" +set default-fg "#{{base01-hex}}" + +set statusbar-fg "#{{base04-hex}}" +set statusbar-bg "#{{base02-hex}}" + +set inputbar-bg "#{{base00-hex}}" +set inputbar-fg "#{{base07-hex}}" + +set notification-bg "#{{base00-hex}}" +set notification-fg "#{{base07-hex}}" + +set notification-error-bg "#{{base00-hex}}" +set notification-error-fg "#{{base08-hex}}" + +set notification-warning-bg "#{{base00-hex}}" +set notification-warning-fg "#{{base08-hex}}" + +set highlight-color "#{{base0A-hex}}" +set highlight-active-color "#{{base0D-hex}}" + +set completion-bg "#{{base01-hex}}" +set completion-fg "#{{base0D-hex}}" + +set completion-highlight-fg "#{{base07-hex}}" +set completion-highlight-bg "#{{base0D-hex}}" + +set recolor-lightcolor "#{{base00-hex}}" +set recolor-darkcolor "#{{base06-hex}}" +#+end_src