From cf62f1f6762ee1e9b3619175d0405137e37e0473 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Sun, 15 Sep 2024 00:59:55 +0200 Subject: [PATCH] base16-flavours: add initial config --- config/dot-config/flavours/config.toml | 59 ++++ config/dot-config/flavours/hooks/reloadqb | 8 + .../flavours/sources/schemes/list.yaml | 92 ++++++ .../dot-config/flavours/sources/sources.yaml | 2 + .../sources/sources/schemes/list.yaml | 92 ++++++ .../sources/sources/templates/list.yaml | 81 +++++ .../flavours/sources/templates/list.yaml | 81 +++++ .../templates/kakoune/templates/config.yaml | 11 + .../templates/dabruin-default.mustache | 5 + .../kakoune/templates/dabruin.mustache | 5 + .../kakoune/templates/default.mustache | 73 +++++ .../qutebrowser/templates/config.yaml | 7 + .../qutebrowser/templates/default.mustache | 302 +++++++++++++++++ .../qutebrowser/templates/minimal.mustache | 303 ++++++++++++++++++ local/dot-local/bin/base16-flavours | 127 ++++++++ 15 files changed, 1248 insertions(+) create mode 100644 config/dot-config/flavours/config.toml create mode 100755 config/dot-config/flavours/hooks/reloadqb create mode 100644 config/dot-config/flavours/sources/schemes/list.yaml create mode 100644 config/dot-config/flavours/sources/sources.yaml create mode 100644 config/dot-config/flavours/sources/sources/schemes/list.yaml create mode 100644 config/dot-config/flavours/sources/sources/templates/list.yaml create mode 100644 config/dot-config/flavours/sources/templates/list.yaml create mode 100644 config/dot-config/flavours/templates/kakoune/templates/config.yaml create mode 100644 config/dot-config/flavours/templates/kakoune/templates/dabruin-default.mustache create mode 100644 config/dot-config/flavours/templates/kakoune/templates/dabruin.mustache create mode 100644 config/dot-config/flavours/templates/kakoune/templates/default.mustache create mode 100644 config/dot-config/flavours/templates/qutebrowser/templates/config.yaml create mode 100644 config/dot-config/flavours/templates/qutebrowser/templates/default.mustache create mode 100644 config/dot-config/flavours/templates/qutebrowser/templates/minimal.mustache create mode 100755 local/dot-local/bin/base16-flavours diff --git a/config/dot-config/flavours/config.toml b/config/dot-config/flavours/config.toml new file mode 100644 index 00000000..2aafe57d --- /dev/null +++ b/config/dot-config/flavours/config.toml @@ -0,0 +1,59 @@ +shell = "bash -c '{}'" + +[[item]] +template = "foot" +file = "~/.config/foot/colours.ini" +rewrite = true + +[[item]] +template = "shell" +file = "~/.local/bin/base16-flavours" +rewrite = true +hook = "pkill -USR1 fish" + +[[item]] +template = "fuzzel" +subtemplate = "smooth" +file = "~/.config/fuzzel/fuzzel-startmenu.ini" +[[item]] +template = "fuzzel" +subtemplate = "smooth" +file = "~/.config/fuzzel/fuzzel-centered.ini" +[[item]] +template = "fuzzel" +subtemplate = "smooth" +file = "~/.config/fuzzel/fuzzel-powermenu.ini" + +[[item]] +template = "hyprland" +subtemplate = "colors" +file = "~/.config/hypr/colors.conf" +hook = "hyprctl reload" +rewrite = true + +[[item]] +template = "qutebrowser" +subtemplate = "minimal" +file = "~/.config/qutebrowser/config.py" +hook = "~/.config/flavours/hooks/reloadqb" +start = "# Start flavours" +end = "# End flavours" + +[[item]] +template = "waybar" +file = "~/.config/waybar/colors.css" +hook = "swaync-client -rs -sw && reloadwb.sh" +rewrite = true + +[[item]] +template = "kdeplasma" +file = "~/.local/share/color-schemes/base16.colors" +rewrite = true +hook = "plasma-apply-colorscheme Oxygen && plasma-apply-colorscheme base16" + +[[item]] +template = "kakoune" +subtemplate = "dabruin-default" +file = "~/.config/kak/kakrc" +rewrite = false + diff --git a/config/dot-config/flavours/hooks/reloadqb b/config/dot-config/flavours/hooks/reloadqb new file mode 100755 index 00000000..03d4d08c --- /dev/null +++ b/config/dot-config/flavours/hooks/reloadqb @@ -0,0 +1,8 @@ +#!/usr/bin/bash +if [ $(darkmode query) = "dark" ]; then + sed -i 's/c.colors.webpage.preferred_color_scheme = "light"/c.colors.webpage.preferred_color_scheme = "dark"/' ~/.config/qutebrowser/config.py +else + sed -i 's/c.colors.webpage.preferred_color_scheme = "dark"/c.colors.webpage.preferred_color_scheme = "light"/' ~/.config/qutebrowser/config.py +fi +pgrep -x qutebrowser && qutebrowser :config-source + diff --git a/config/dot-config/flavours/sources/schemes/list.yaml b/config/dot-config/flavours/sources/schemes/list.yaml new file mode 100644 index 00000000..daeb0962 --- /dev/null +++ b/config/dot-config/flavours/sources/schemes/list.yaml @@ -0,0 +1,92 @@ +# Please order list alphanumerically +# apprentice: https://github.com/casonadams/base16-apprentice-scheme +# atelier: https://github.com/atelierbram/base16-atelier-schemes +# atlas: https://github.com/ajlende/base16-atlas-scheme +# black-metal: https://github.com/metalelf0/base16-black-metal-scheme +# blueish: https://github.com/TheMayoras/base16-blueish-scheme +# #brogrammer: https://github.com/piggyslasher/base16-brogrammer-scheme +# brushtrees: https://github.com/WhiteAbeLincoln/base16-brushtrees-scheme +# circus: https://github.com/stepchowfun/base16-circus-scheme +# classic: https://github.com/detly/base16-classic-scheme +# codeschool: https://github.com/blockloop/base16-codeschool-scheme +# colors: https://github.com/hakatashi/base16-colors-scheme +# cupertino: https://github.com/Defman21/base16-cupertino +# danqing: https://github.com/CosmosAtlas/base16-danqing-scheme +# darkmoss: https://github.com/avanzzzi/base16-darkmoss-scheme +# darkviolet: https://github.com/ruler501/base16-darkviolet-scheme +default: https://github.com/chriskempson/base16-default-schemes +# dirtysea: https://github.com/tartansandal/base16-dirtysea-scheme +dracula: https://github.com/dracula/base16-dracula-scheme +# edge: https://github.com/cjayross/base16-edge-schemes +# equilibrium: https://github.com/carloabelli/base16-equilibrium-scheme +# espresso: https://github.com/alexmirrington/base16-espresso-scheme +# eva: https://github.com/kjakapat/base16-eva-scheme +# framer: https://github.com/jssee/base16-framer-scheme +# fruit-soda: https://github.com/jozip/base16-fruit-soda-scheme +# gigavolt: https://github.com/Whillikers/base16-gigavolt-scheme +# github: https://github.com/Defman21/base16-github-scheme +gruvbox: https://github.com/dawikur/base16-gruvbox-scheme +# hardcore: https://github.com/callerc1/base16-hardcore-scheme +# heetch: https://github.com/tealeg/base16-heetch-scheme +# helios: https://github.com/reyemxela/base16-helios-scheme +# horizon: https://github.com/michael-ball/base16-horizon-scheme +horizon: https://git.michaelball.name/base16-horizon-scheme +# humanoid: https://github.com/humanoid-colors/base16-humanoid-schemes +# ia: https://github.com/aramisgithub/base16-ia-scheme +# icy: https://github.com/icyphox/base16-icy-scheme +# katy: https://github.com/gessig/base16-katy-scheme +# kimber: https://github.com/akhsiM/base16-kimber-scheme +# limelight: https://github.com/limelier/base16-limelight-scheme +# materia: https://github.com/Defman21/base16-materia +# material-vivid: https://github.com/joshyrobot/base16-material-vivid-scheme +# materialtheme: https://github.com/ntpeters/base16-materialtheme-scheme +# mellow: https://github.com/gidsi/base16-mellow-scheme +# mexico-light: https://github.com/drzel/base16-mexico-light-scheme +# nebula: https://github.com/Misterio77/base16-nebula-scheme +nord: https://github.com/ada-lovecraft/base16-nord-scheme +# nova: https://github.com/gessig/base16-nova-scheme +# one-light: https://github.com/purpleKarrot/base16-one-light-scheme +# onedark: https://github.com/tilal6991/base16-onedark-scheme +# outrun: https://github.com/hugodelahousse/base16-outrun-schemes +# #papercolor: https://github.com/jonleopard/base16-papercolor-scheme +# pasque: https://github.com/Misterio77/base16-pasque-scheme +# pinky: https://github.com/b3nj5m1n/base16-pinky-scheme +# porple: https://github.com/AuditeMarlow/base16-porple-scheme +# primer: https://github.com/jmlntw/base16-primer-scheme +# purpledream: https://github.com/archmalet/base16-purpledream-scheme +# qualia: https://github.com/isaacwhanson/base16-qualia-scheme +# rebecca: https://github.com/vic/base16-rebecca +rose-pine: https://github.com/edunfelt/base16-rose-pine-scheme +# sagelight: https://github.com/cveldy/base16-sagelight-scheme +# sakura: https://github.com/Misterio77/base16-sakura-scheme +# sandcastle: https://github.com/gessig/base16-sandcastle-scheme +# shades-of-purple: https://github.com/ahmadawais/base16-shades-of-purple +# silk: https://github.com/misterio77/base16-silk-scheme +# snazzy: https://github.com/h404bi/base16-snazzy-scheme +# solarflare: https://github.com/mnussbaum/base16-solarflare-scheme +# solarized: https://github.com/aramisgithub/base16-solarized-scheme +# spaceduck: https://github.com/Misterio77/base16-spaceduck-scheme +# stella: https://github.com/Shrimpram/base16-stella-scheme +# summercamp: https://github.com/zoefiri/base16-summercamp +# summerfruit: https://github.com/cscorley/base16-summerfruit-scheme +# synth-midnight: https://github.com/michael-ball/base16-synth-midnight-scheme +# tango: https://github.com/Schnouki/base16-tango-scheme +# tender: https://github.com/DanManN/base16-tender-scheme +tomorrow: https://github.com/chriskempson/base16-tomorrow-scheme +twilight: https://github.com/hartbit/base16-twilight-scheme +# unikitty: https://github.com/joshwlewis/base16-unikitty +vice: https://github.com/Thomashighbaugh/base16-vice-scheme +vulcan: https://github.com/andreyvpng/base16-vulcan-scheme +# #wood: https://github.com/shhra/base16-wood-scheme +# woodland: https://github.com/jcornwall/base16-woodland-scheme +# xcode-dusk: https://github.com/gonsie/base16-xcode-dusk-scheme +# zenburn: https://github.com/elnawe/base16-zenburn-scheme + +# If your scheme is in this repository, please give it a new home! +# unclaimed: https://github.com/chriskempson/base16-unclaimed-schemes + +# NOTE: the original repo at https://github.com/8-uh/base16-nord-scheme +# is based on another color scheme and doesn't quite match. There was a +# fork to improve the colors, so that's what we're using. If the original +# repo ever gets updated, we can switch back to that. +# nord: https://github.com/spejamchr/base16-nord-scheme diff --git a/config/dot-config/flavours/sources/sources.yaml b/config/dot-config/flavours/sources/sources.yaml new file mode 100644 index 00000000..225bbffd --- /dev/null +++ b/config/dot-config/flavours/sources/sources.yaml @@ -0,0 +1,2 @@ +schemes: https://github.com/chriskempson/base16-schemes-source.git +templates: https://github.com/chriskempson/base16-templates-source.git \ No newline at end of file diff --git a/config/dot-config/flavours/sources/sources/schemes/list.yaml b/config/dot-config/flavours/sources/sources/schemes/list.yaml new file mode 100644 index 00000000..daeb0962 --- /dev/null +++ b/config/dot-config/flavours/sources/sources/schemes/list.yaml @@ -0,0 +1,92 @@ +# Please order list alphanumerically +# apprentice: https://github.com/casonadams/base16-apprentice-scheme +# atelier: https://github.com/atelierbram/base16-atelier-schemes +# atlas: https://github.com/ajlende/base16-atlas-scheme +# black-metal: https://github.com/metalelf0/base16-black-metal-scheme +# blueish: https://github.com/TheMayoras/base16-blueish-scheme +# #brogrammer: https://github.com/piggyslasher/base16-brogrammer-scheme +# brushtrees: https://github.com/WhiteAbeLincoln/base16-brushtrees-scheme +# circus: https://github.com/stepchowfun/base16-circus-scheme +# classic: https://github.com/detly/base16-classic-scheme +# codeschool: https://github.com/blockloop/base16-codeschool-scheme +# colors: https://github.com/hakatashi/base16-colors-scheme +# cupertino: https://github.com/Defman21/base16-cupertino +# danqing: https://github.com/CosmosAtlas/base16-danqing-scheme +# darkmoss: https://github.com/avanzzzi/base16-darkmoss-scheme +# darkviolet: https://github.com/ruler501/base16-darkviolet-scheme +default: https://github.com/chriskempson/base16-default-schemes +# dirtysea: https://github.com/tartansandal/base16-dirtysea-scheme +dracula: https://github.com/dracula/base16-dracula-scheme +# edge: https://github.com/cjayross/base16-edge-schemes +# equilibrium: https://github.com/carloabelli/base16-equilibrium-scheme +# espresso: https://github.com/alexmirrington/base16-espresso-scheme +# eva: https://github.com/kjakapat/base16-eva-scheme +# framer: https://github.com/jssee/base16-framer-scheme +# fruit-soda: https://github.com/jozip/base16-fruit-soda-scheme +# gigavolt: https://github.com/Whillikers/base16-gigavolt-scheme +# github: https://github.com/Defman21/base16-github-scheme +gruvbox: https://github.com/dawikur/base16-gruvbox-scheme +# hardcore: https://github.com/callerc1/base16-hardcore-scheme +# heetch: https://github.com/tealeg/base16-heetch-scheme +# helios: https://github.com/reyemxela/base16-helios-scheme +# horizon: https://github.com/michael-ball/base16-horizon-scheme +horizon: https://git.michaelball.name/base16-horizon-scheme +# humanoid: https://github.com/humanoid-colors/base16-humanoid-schemes +# ia: https://github.com/aramisgithub/base16-ia-scheme +# icy: https://github.com/icyphox/base16-icy-scheme +# katy: https://github.com/gessig/base16-katy-scheme +# kimber: https://github.com/akhsiM/base16-kimber-scheme +# limelight: https://github.com/limelier/base16-limelight-scheme +# materia: https://github.com/Defman21/base16-materia +# material-vivid: https://github.com/joshyrobot/base16-material-vivid-scheme +# materialtheme: https://github.com/ntpeters/base16-materialtheme-scheme +# mellow: https://github.com/gidsi/base16-mellow-scheme +# mexico-light: https://github.com/drzel/base16-mexico-light-scheme +# nebula: https://github.com/Misterio77/base16-nebula-scheme +nord: https://github.com/ada-lovecraft/base16-nord-scheme +# nova: https://github.com/gessig/base16-nova-scheme +# one-light: https://github.com/purpleKarrot/base16-one-light-scheme +# onedark: https://github.com/tilal6991/base16-onedark-scheme +# outrun: https://github.com/hugodelahousse/base16-outrun-schemes +# #papercolor: https://github.com/jonleopard/base16-papercolor-scheme +# pasque: https://github.com/Misterio77/base16-pasque-scheme +# pinky: https://github.com/b3nj5m1n/base16-pinky-scheme +# porple: https://github.com/AuditeMarlow/base16-porple-scheme +# primer: https://github.com/jmlntw/base16-primer-scheme +# purpledream: https://github.com/archmalet/base16-purpledream-scheme +# qualia: https://github.com/isaacwhanson/base16-qualia-scheme +# rebecca: https://github.com/vic/base16-rebecca +rose-pine: https://github.com/edunfelt/base16-rose-pine-scheme +# sagelight: https://github.com/cveldy/base16-sagelight-scheme +# sakura: https://github.com/Misterio77/base16-sakura-scheme +# sandcastle: https://github.com/gessig/base16-sandcastle-scheme +# shades-of-purple: https://github.com/ahmadawais/base16-shades-of-purple +# silk: https://github.com/misterio77/base16-silk-scheme +# snazzy: https://github.com/h404bi/base16-snazzy-scheme +# solarflare: https://github.com/mnussbaum/base16-solarflare-scheme +# solarized: https://github.com/aramisgithub/base16-solarized-scheme +# spaceduck: https://github.com/Misterio77/base16-spaceduck-scheme +# stella: https://github.com/Shrimpram/base16-stella-scheme +# summercamp: https://github.com/zoefiri/base16-summercamp +# summerfruit: https://github.com/cscorley/base16-summerfruit-scheme +# synth-midnight: https://github.com/michael-ball/base16-synth-midnight-scheme +# tango: https://github.com/Schnouki/base16-tango-scheme +# tender: https://github.com/DanManN/base16-tender-scheme +tomorrow: https://github.com/chriskempson/base16-tomorrow-scheme +twilight: https://github.com/hartbit/base16-twilight-scheme +# unikitty: https://github.com/joshwlewis/base16-unikitty +vice: https://github.com/Thomashighbaugh/base16-vice-scheme +vulcan: https://github.com/andreyvpng/base16-vulcan-scheme +# #wood: https://github.com/shhra/base16-wood-scheme +# woodland: https://github.com/jcornwall/base16-woodland-scheme +# xcode-dusk: https://github.com/gonsie/base16-xcode-dusk-scheme +# zenburn: https://github.com/elnawe/base16-zenburn-scheme + +# If your scheme is in this repository, please give it a new home! +# unclaimed: https://github.com/chriskempson/base16-unclaimed-schemes + +# NOTE: the original repo at https://github.com/8-uh/base16-nord-scheme +# is based on another color scheme and doesn't quite match. There was a +# fork to improve the colors, so that's what we're using. If the original +# repo ever gets updated, we can switch back to that. +# nord: https://github.com/spejamchr/base16-nord-scheme diff --git a/config/dot-config/flavours/sources/sources/templates/list.yaml b/config/dot-config/flavours/sources/sources/templates/list.yaml new file mode 100644 index 00000000..afd378a8 --- /dev/null +++ b/config/dot-config/flavours/sources/sources/templates/list.yaml @@ -0,0 +1,81 @@ +# Please order list alphanumerically +aerc: https://git.sr.ht/~h4n1/base16-aerc +# alacritty: https://github.com/aaron-williamson/base16-alacritty +# binary-ninja: https://github.com/evanrichter/base16-binary-ninja +# blink: https://github.com/niklaas/base16-blink.git +# c_header: https://github.com/m1sports20/base16-c_header +# concfg: https://github.com/h404bi/base16-concfg +# conemu: https://github.com/martinlindhe/base16-conemu +# console2: https://github.com/AFulgens/base16-console2 +# consolez: https://github.com/AFulgens/base16-consolez +# crosh: https://github.com/philj56/base16-crosh +# dwm: https://github.com/dgmulf/base16-dwm +# dunst: https://github.com/khamer/base16-dunst +# emacs: https://github.com/belak/base16-emacs +# everything: https://github.com/spitfire05/base16-everything +foot: https://github.com/tinted-theming/base16-foot +fuzzel: https://github.com/dark-beep-boop/base16-fuzzel +# fzf: https://github.com/fnune/base16-fzf +# gnome-terminal: https://github.com/aaron-williamson/base16-gnome-terminal +# godot: https://github.com/Calinou/base16-godot +# gtk-flatcolor: https://github.com/Misterio77/base16-gtk-flatcolor +# gtk2: https://github.com/dawikur/base16-gtk2 +# hexchat: https://github.com/Diablo-D3/base16-hexchat +# highlight: https://github.com/bezhermoso/base16-highlight +# html-preview: https://github.com/chriskempson/base16-html-preview +# hugo: https://github.com/yawpitch/base16-hugo +hyprland: https://github.com/kirasok/base16-hyprland +# i3: https://github.com/khamer/base16-i3 +# i3status: https://github.com/Eluminae/base16-i3status +# i3status-rust: https://github.com/mystfox/base16-i3status-rust +# iterm2: https://github.com/martinlindhe/base16-iterm2 +# jetbrains: https://github.com/adilosa/base16-jetbrains +# joe: https://github.com/jjjordan/base16-joe +kakoune: https://github.com/aprilarcus/base16-kakoune +kdeplasma: https://github.com/Base24/base16-kdeplasma +# kitty: https://github.com/kdrag0n/base16-kitty +# konsole: https://github.com/cskeeters/base16-konsole +# luakit: https://github.com/twnaing/base16-luakit +# mako: https://github.com/Eluminae/base16-mako +# mintty: https://github.com/iamthad/base16-mintty +# monodevelop: https://github.com/netpyoung/base16-monodevelop +# prism: https://github.com/atelierbram/base16-prism +# prompt-toolkit: https://github.com/memeplex/base16-prompt-toolkit +# putty: https://github.com/abravalheri/base16-putty +# pygments: https://github.com/mohd-akram/base16-pygments +# pywal: https://github.com/metalelf0/base16-pywal +# qownnotes: https://github.com/themix-project/base16-template-qOwnNotes +# qtcreator: https://github.com/ilpianista/base16-qtcreator +qutebrowser: https://github.com/theova/base16-qutebrowser +# #radare2: https://github.com/jtalowell/base16-radare2 +# rofi: https://gitlab.com/0xdec/base16-rofi +# scide: https://github.com/brunoro/base16-scide +shell: https://github.com/chriskempson/base16-shell +# st: https://github.com/dgmulf/base16-st +# stumpwm: https://github.com/tpine/base16-stumpwm +# styles: https://github.com/samme/base16-styles +# sway: https://github.com/rkubosz/base16-sway +# terminator: https://github.com/Schnouki/base16-terminator +# termite: https://github.com/khamer/base16-termite +# termux: https://github.com/kdrag0n/base16-termux +# textadept: https://github.com/rgieseke/base16-textadept +# textmate: https://github.com/chriskempson/base16-textmate +# tilix: https://github.com/karlding/base16-tilix +# tmux: https://github.com/mattdavis90/base16-tmux +# vim-airline-themes: https://github.com/dawikur/base16-vim-airline-themes +# vim: https://github.com/chriskempson/base16-vim +# vimiv: https://github.com/karlch/base16-vimiv +# vis: https://github.com/pshevtsov/base16-vis +# vscode: https://github.com/golf1052/base16-vscode +waybar: https://github.com/mnussbaum/base16-waybar +# windows-command-prompt: https://github.com/iamthad/base16-windows-command-prompt +# windows-terminal: https://github.com/wuqs-net/base16-windows-terminal +# wofi: https://git.sr.ht/~knezi/base16-wofi +# xcode: https://github.com/kreeger/base16-xcode +# xfce4-terminal: https://github.com/afg984/base16-xfce4-terminal +# xshell: https://github.com/h404bi/base16-xshell +# zathura: https://github.com/nicodebo/base16-zathura + +# Disabled until https://gitlab.com/theova/base16-telegram-desktop/issues/1 is +# resolved. +# telegram-desktop: https://gitlab.com/theova/base16-telegram-desktop diff --git a/config/dot-config/flavours/sources/templates/list.yaml b/config/dot-config/flavours/sources/templates/list.yaml new file mode 100644 index 00000000..afd378a8 --- /dev/null +++ b/config/dot-config/flavours/sources/templates/list.yaml @@ -0,0 +1,81 @@ +# Please order list alphanumerically +aerc: https://git.sr.ht/~h4n1/base16-aerc +# alacritty: https://github.com/aaron-williamson/base16-alacritty +# binary-ninja: https://github.com/evanrichter/base16-binary-ninja +# blink: https://github.com/niklaas/base16-blink.git +# c_header: https://github.com/m1sports20/base16-c_header +# concfg: https://github.com/h404bi/base16-concfg +# conemu: https://github.com/martinlindhe/base16-conemu +# console2: https://github.com/AFulgens/base16-console2 +# consolez: https://github.com/AFulgens/base16-consolez +# crosh: https://github.com/philj56/base16-crosh +# dwm: https://github.com/dgmulf/base16-dwm +# dunst: https://github.com/khamer/base16-dunst +# emacs: https://github.com/belak/base16-emacs +# everything: https://github.com/spitfire05/base16-everything +foot: https://github.com/tinted-theming/base16-foot +fuzzel: https://github.com/dark-beep-boop/base16-fuzzel +# fzf: https://github.com/fnune/base16-fzf +# gnome-terminal: https://github.com/aaron-williamson/base16-gnome-terminal +# godot: https://github.com/Calinou/base16-godot +# gtk-flatcolor: https://github.com/Misterio77/base16-gtk-flatcolor +# gtk2: https://github.com/dawikur/base16-gtk2 +# hexchat: https://github.com/Diablo-D3/base16-hexchat +# highlight: https://github.com/bezhermoso/base16-highlight +# html-preview: https://github.com/chriskempson/base16-html-preview +# hugo: https://github.com/yawpitch/base16-hugo +hyprland: https://github.com/kirasok/base16-hyprland +# i3: https://github.com/khamer/base16-i3 +# i3status: https://github.com/Eluminae/base16-i3status +# i3status-rust: https://github.com/mystfox/base16-i3status-rust +# iterm2: https://github.com/martinlindhe/base16-iterm2 +# jetbrains: https://github.com/adilosa/base16-jetbrains +# joe: https://github.com/jjjordan/base16-joe +kakoune: https://github.com/aprilarcus/base16-kakoune +kdeplasma: https://github.com/Base24/base16-kdeplasma +# kitty: https://github.com/kdrag0n/base16-kitty +# konsole: https://github.com/cskeeters/base16-konsole +# luakit: https://github.com/twnaing/base16-luakit +# mako: https://github.com/Eluminae/base16-mako +# mintty: https://github.com/iamthad/base16-mintty +# monodevelop: https://github.com/netpyoung/base16-monodevelop +# prism: https://github.com/atelierbram/base16-prism +# prompt-toolkit: https://github.com/memeplex/base16-prompt-toolkit +# putty: https://github.com/abravalheri/base16-putty +# pygments: https://github.com/mohd-akram/base16-pygments +# pywal: https://github.com/metalelf0/base16-pywal +# qownnotes: https://github.com/themix-project/base16-template-qOwnNotes +# qtcreator: https://github.com/ilpianista/base16-qtcreator +qutebrowser: https://github.com/theova/base16-qutebrowser +# #radare2: https://github.com/jtalowell/base16-radare2 +# rofi: https://gitlab.com/0xdec/base16-rofi +# scide: https://github.com/brunoro/base16-scide +shell: https://github.com/chriskempson/base16-shell +# st: https://github.com/dgmulf/base16-st +# stumpwm: https://github.com/tpine/base16-stumpwm +# styles: https://github.com/samme/base16-styles +# sway: https://github.com/rkubosz/base16-sway +# terminator: https://github.com/Schnouki/base16-terminator +# termite: https://github.com/khamer/base16-termite +# termux: https://github.com/kdrag0n/base16-termux +# textadept: https://github.com/rgieseke/base16-textadept +# textmate: https://github.com/chriskempson/base16-textmate +# tilix: https://github.com/karlding/base16-tilix +# tmux: https://github.com/mattdavis90/base16-tmux +# vim-airline-themes: https://github.com/dawikur/base16-vim-airline-themes +# vim: https://github.com/chriskempson/base16-vim +# vimiv: https://github.com/karlch/base16-vimiv +# vis: https://github.com/pshevtsov/base16-vis +# vscode: https://github.com/golf1052/base16-vscode +waybar: https://github.com/mnussbaum/base16-waybar +# windows-command-prompt: https://github.com/iamthad/base16-windows-command-prompt +# windows-terminal: https://github.com/wuqs-net/base16-windows-terminal +# wofi: https://git.sr.ht/~knezi/base16-wofi +# xcode: https://github.com/kreeger/base16-xcode +# xfce4-terminal: https://github.com/afg984/base16-xfce4-terminal +# xshell: https://github.com/h404bi/base16-xshell +# zathura: https://github.com/nicodebo/base16-zathura + +# Disabled until https://gitlab.com/theova/base16-telegram-desktop/issues/1 is +# resolved. +# telegram-desktop: https://gitlab.com/theova/base16-telegram-desktop diff --git a/config/dot-config/flavours/templates/kakoune/templates/config.yaml b/config/dot-config/flavours/templates/kakoune/templates/config.yaml new file mode 100644 index 00000000..2f9f5536 --- /dev/null +++ b/config/dot-config/flavours/templates/kakoune/templates/config.yaml @@ -0,0 +1,11 @@ +default: + extension: .kak + output: colors + +dabruin: + extension: .kak + output: colors + +dabruin-default: + extension: .kak + output: colors diff --git a/config/dot-config/flavours/templates/kakoune/templates/dabruin-default.mustache b/config/dot-config/flavours/templates/kakoune/templates/dabruin-default.mustache new file mode 100644 index 00000000..6598250d --- /dev/null +++ b/config/dot-config/flavours/templates/kakoune/templates/dabruin-default.mustache @@ -0,0 +1,5 @@ +## base16-kakoune (https://github.com/leira/base16-kakoune) +## by Leira Hua +## {{scheme-name}} scheme by {{scheme-author}} +declare-option str dabruin_background 'default' +declare-option str dabruin_accent 'rgb:{{base0C-hex}}' diff --git a/config/dot-config/flavours/templates/kakoune/templates/dabruin.mustache b/config/dot-config/flavours/templates/kakoune/templates/dabruin.mustache new file mode 100644 index 00000000..5d1a8d67 --- /dev/null +++ b/config/dot-config/flavours/templates/kakoune/templates/dabruin.mustache @@ -0,0 +1,5 @@ +## base16-kakoune (https://github.com/leira/base16-kakoune) +## by Leira Hua +## {{scheme-name}} scheme by {{scheme-author}} +declare-option str dabruin_background 'rgb:{{base00-hex}}' +declare-option str dabruin_accent 'rgb:{{base0C-hex}}' diff --git a/config/dot-config/flavours/templates/kakoune/templates/default.mustache b/config/dot-config/flavours/templates/kakoune/templates/default.mustache new file mode 100644 index 00000000..1e36c053 --- /dev/null +++ b/config/dot-config/flavours/templates/kakoune/templates/default.mustache @@ -0,0 +1,73 @@ +## base16-kakoune (https://github.com/leira/base16-kakoune) +## by Leira Hua +## {{scheme-name}} scheme by {{scheme-author}} + +evaluate-commands %sh{ + base00='rgb:{{base00-hex}}' + base01='rgb:{{base01-hex}}' + base02='rgb:{{base02-hex}}' + base03='rgb:{{base03-hex}}' + base04='rgb:{{base04-hex}}' + base05='rgb:{{base05-hex}}' + base06='rgb:{{base06-hex}}' + base07='rgb:{{base07-hex}}' + base08='rgb:{{base08-hex}}' + base09='rgb:{{base09-hex}}' + base0A='rgb:{{base0A-hex}}' + base0B='rgb:{{base0B-hex}}' + base0C='rgb:{{base0C-hex}}' + base0D='rgb:{{base0D-hex}}' + base0E='rgb:{{base0E-hex}}' + base0F='rgb:{{base0F-hex}}' + + ## code + echo " + face global value ${base09} + face global type ${base0A}+b + face global identifier ${base08} + face global string ${base0B} + face global keyword ${base0E}+b + face global operator ${base05} + face global attribute ${base0C} + face global comment ${base03} + face global meta ${base0D} + face global builtin ${base0D}+b + " + + ## markup + echo " + face global title ${base0D}+b + face global header ${base0D}+b + face global bold ${base0A}+b + face global italic ${base0E} + face global mono ${base0B} + face global block ${base0C} + face global link ${base09} + face global bullet ${base08} + face global list ${base08} + " + + ## builtin + echo " + face global Default ${base05},${base00} + face global PrimarySelection ${base06},${base0D} + face global SecondarySelection ${base06},${base0F} + face global PrimaryCursor ${base00},${base05} + face global SecondaryCursor ${base06},${base0C} + face global LineNumbers ${base02},${base00} + face global LineNumberCursor ${base0A},${base00} + face global MenuForeground ${base00},${base0D} + face global MenuBackground ${base00},${base0C} + face global MenuInfo ${base02} + face global Information ${base00},${base0A} + face global Error ${base00},${base08} + face global StatusLine ${base04},${base01} + face global StatusLineMode ${base0B} + face global StatusLineInfo ${base0D} + face global StatusLineValue ${base0C} + face global StatusCursor ${base00},${base05} + face global Prompt ${base0D},${base01} + face global MatchingChar ${base06},${base02}+b + face global BufferPadding ${base03},${base00} + " +} diff --git a/config/dot-config/flavours/templates/qutebrowser/templates/config.yaml b/config/dot-config/flavours/templates/qutebrowser/templates/config.yaml new file mode 100644 index 00000000..d033b4c4 --- /dev/null +++ b/config/dot-config/flavours/templates/qutebrowser/templates/config.yaml @@ -0,0 +1,7 @@ +default: + extension: .config.py + output: themes/default + +minimal: + extension: .config.py + output: themes/minimal diff --git a/config/dot-config/flavours/templates/qutebrowser/templates/default.mustache b/config/dot-config/flavours/templates/qutebrowser/templates/default.mustache new file mode 100644 index 00000000..6d4fa9d4 --- /dev/null +++ b/config/dot-config/flavours/templates/qutebrowser/templates/default.mustache @@ -0,0 +1,302 @@ +# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) +# Scheme name: {{scheme-name}} +# Scheme author: {{scheme-author}} +# Template author: theova +# Commentary: Tinted Theming: (https://github.com/tinted-theming) + +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 diff --git a/config/dot-config/flavours/templates/qutebrowser/templates/minimal.mustache b/config/dot-config/flavours/templates/qutebrowser/templates/minimal.mustache new file mode 100644 index 00000000..cf3b1fe0 --- /dev/null +++ b/config/dot-config/flavours/templates/qutebrowser/templates/minimal.mustache @@ -0,0 +1,303 @@ +# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) +# Scheme name: {{scheme-name}} +# Scheme author: {{scheme-author}} +# Template author: theova +# Commentary: Tinted Theming: (https://github.com/tinted-theming) + +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 = base06 + +# Background color of the selected completion item. +c.colors.completion.item.selected.bg = base07 + +# 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 = base0C + +# 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 = base00 + +# 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 = base03 + +#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 = base09 + +# Color gradient end for the tab indicator. +c.colors.tabs.indicator.stop = base0B + +# 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 = base01 + +# Background color of pinned unselected even tabs. +c.colors.tabs.pinned.even.bg = base02 + +# Foreground color of pinned unselected even tabs. +c.colors.tabs.pinned.even.fg = base05 + +# Background color of pinned unselected odd tabs. +c.colors.tabs.pinned.odd.bg = base02 + +# Foreground color of pinned unselected odd tabs. +c.colors.tabs.pinned.odd.fg = base05 + +# Background color of pinned selected even tabs. +c.colors.tabs.pinned.selected.even.bg = base04 + +# Foreground color of pinned selected even tabs. +c.colors.tabs.pinned.selected.even.fg = base00 + +# Background color of pinned selected odd tabs. +c.colors.tabs.pinned.selected.odd.bg = base04 + +# Foreground color of pinned selected odd tabs. +c.colors.tabs.pinned.selected.odd.fg = base00 + +# Foreground color of selected odd tabs. +c.colors.tabs.selected.odd.fg = base00 + +# Background color of selected odd tabs. +c.colors.tabs.selected.odd.bg = base04 + +# Foreground color of selected even tabs. +c.colors.tabs.selected.even.fg = base00 + +# Background color of selected even tabs. +c.colors.tabs.selected.even.bg = base04 + +# Background color for webpages if unset (or empty to use the theme's +# color). +c.colors.webpage.bg = base00 + diff --git a/local/dot-local/bin/base16-flavours b/local/dot-local/bin/base16-flavours new file mode 100755 index 00000000..86012781 --- /dev/null +++ b/local/dot-local/bin/base16-flavours @@ -0,0 +1,127 @@ +#!/bin/sh +# base16-shell (https://github.com/chriskempson/base16-shell) +# Base16 Shell template by Chris Kempson (http://chriskempson.com) +# Ocean scheme by Chris Kempson (http://chriskempson.com) +export BASE16_THEME=ocean + +color00="2b/30/3b" # Base 00 - Black +color01="bf/61/6a" # Base 08 - Red +color02="a3/be/8c" # Base 0B - Green +color03="eb/cb/8b" # Base 0A - Yellow +color04="8f/a1/b3" # Base 0D - Blue +color05="b4/8e/ad" # Base 0E - Magenta +color06="96/b5/b4" # Base 0C - Cyan +color07="c0/c5/ce" # Base 05 - White +color08="65/73/7e" # Base 03 - Bright Black +color09=$color01 # Base 08 - Bright Red +color10=$color02 # Base 0B - Bright Green +color11=$color03 # Base 0A - Bright Yellow +color12=$color04 # Base 0D - Bright Blue +color13=$color05 # Base 0E - Bright Magenta +color14=$color06 # Base 0C - Bright Cyan +color15="ef/f1/f5" # Base 07 - Bright White +color16="d0/87/70" # Base 09 +color17="ab/79/67" # Base 0F +color18="34/3d/46" # Base 01 +color19="4f/5b/66" # Base 02 +color20="a7/ad/ba" # Base 04 +color21="df/e1/e8" # Base 06 +color_foreground="c0/c5/ce" # Base 05 +color_background="2b/30/3b" # Base 00 + +if [ -n "$TMUX" ]; then + # Tell tmux to pass the escape sequences through + # (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) + put_template() { printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $@; } + put_template_var() { printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $@; } + put_template_custom() { printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $@; } +elif [ "${TERM%%[-.]*}" = "screen" ]; then + # GNU screen (screen, screen-256color, screen-256color-bce) + put_template() { printf '\033P\033]4;%d;rgb:%s\007\033\\' $@; } + put_template_var() { printf '\033P\033]%d;rgb:%s\007\033\\' $@; } + put_template_custom() { printf '\033P\033]%s%s\007\033\\' $@; } +elif [ "${TERM%%-*}" = "linux" ]; then + put_template() { [ $1 -lt 16 ] && printf "\e]P%x%s" $1 $(echo $2 | sed 's/\///g'); } + put_template_var() { true; } + put_template_custom() { true; } +else + put_template() { printf '\033]4;%d;rgb:%s\033\\' $@; } + put_template_var() { printf '\033]%d;rgb:%s\033\\' $@; } + put_template_custom() { printf '\033]%s%s\033\\' $@; } +fi + +# 16 color space +put_template 0 $color00 +put_template 1 $color01 +put_template 2 $color02 +put_template 3 $color03 +put_template 4 $color04 +put_template 5 $color05 +put_template 6 $color06 +put_template 7 $color07 +put_template 8 $color08 +put_template 9 $color09 +put_template 10 $color10 +put_template 11 $color11 +put_template 12 $color12 +put_template 13 $color13 +put_template 14 $color14 +put_template 15 $color15 + +# 256 color space +put_template 16 $color16 +put_template 17 $color17 +put_template 18 $color18 +put_template 19 $color19 +put_template 20 $color20 +put_template 21 $color21 + +# foreground / background / cursor color +if [ -n "$ITERM_SESSION_ID" ]; then + # iTerm2 proprietary escape codes + put_template_custom Pg c0c5ce # foreground + put_template_custom Ph 2b303b # background + put_template_custom Pi c0c5ce # bold color + put_template_custom Pj 4f5b66 # selection color + put_template_custom Pk c0c5ce # selected text color + put_template_custom Pl c0c5ce # cursor + put_template_custom Pm 2b303b # cursor text +else + put_template_var 10 $color_foreground + if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]; then + put_template_var 11 $color_background + if [ "${TERM%%-*}" = "rxvt" ]; then + put_template_var 708 $color_background # internal border (rxvt) + fi + fi + put_template_custom 12 ";7" # cursor (reverse video) +fi + +# clean up +unset -f put_template +unset -f put_template_var +unset -f put_template_custom +unset color00 +unset color01 +unset color02 +unset color03 +unset color04 +unset color05 +unset color06 +unset color07 +unset color08 +unset color09 +unset color10 +unset color11 +unset color12 +unset color13 +unset color14 +unset color15 +unset color16 +unset color17 +unset color18 +unset color19 +unset color20 +unset color21 +unset color_foreground +unset color_background \ No newline at end of file -- 2.51.2