diff --git a/desktop/.config/flavours/config.toml b/desktop/.config/flavours/config.toml index 14f189d..41700ab 100644 --- a/desktop/.config/flavours/config.toml +++ b/desktop/.config/flavours/config.toml @@ -61,7 +61,6 @@ template = "qutebrowser" subtemplate = "minimal" file = "~/.local/state/qutebrowser/colorscheme.py" rewrite = true -light = false hook = "pgrep -x qutebrowser && qutebrowser :config-source" # CSS Webpage styling in qutebrowser @@ -90,3 +89,10 @@ file = "~/.config/sioyek/prefs_user.config" rewrite = false start = "# START FLAVOURS" end = "# END FLAVOURS" + +[[items]] +template = "fzf" +subtemplate = "sh" +file = "~/.config/sh/env.d/fzf-base16.sh" +rewrite = true +hook = "source ~/.config/sh/env.d/fzf-base16.sh" diff --git a/desktop/.config/flavours/templates/fzf/templates/sh.mustache b/desktop/.config/flavours/templates/fzf/templates/sh.mustache new file mode 100644 index 0000000..8e3bc01 --- /dev/null +++ b/desktop/.config/flavours/templates/fzf/templates/sh.mustache @@ -0,0 +1,9 @@ +# Scheme name: {{scheme-name}} +# Scheme system: {{scheme-system}} +# Scheme author: {{scheme-author}} +# Template author: Tinted Theming (https://github.com/tinted-theming) + +export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\ +" --color=bg+:#{{base01-hex}},bg:#{{base00-hex}},spinner:#{{base0C-hex}},hl:#{{base0D-hex}}"\ +" --color=fg:#{{base04-hex}},header:#{{base0D-hex}},info:#{{base0A-hex}},pointer:#{{base0C-hex}}"\ +" --color=marker:#{{base0C-hex}},fg+:#{{base06-hex}},prompt:#{{base0A-hex}},hl+:#{{base0D-hex}}" diff --git a/sh/.config/sh/env b/sh/.config/sh/env index 5cdc638..7895185 100644 --- a/sh/.config/sh/env +++ b/sh/.config/sh/env @@ -21,15 +21,15 @@ export BIBFILE="${BIBFILE:-$LIBRARYROOT/library.bib}" # these are my personal 'important' application settings if exist nvim; then - export EDITOR="nvim" + export EDITOR="nvim" elif exist vim; then - export EDITOR="vim" + export EDITOR="vim" elif exist vi; then - export EDITOR="vi" + export EDITOR="vi" elif exist micro; then - export EDITOR="micro" + export EDITOR="micro" else - export EDITOR="nano" + export EDITOR="nano" fi export BROWSER="qutebrowser" export TERMINAL="wezterm" @@ -54,5 +54,5 @@ export TERM=xterm-256color . dark_bg if exist fzf; then - export FZF_DEFAULT_OPTS="--bind 'tab:toggle+down,shift-tab:toggle+up,ctrl-g:top,ctrl-t:toggle-preview,ctrl-d:preview-half-page-down,ctrl-u:preview-half-page-up' --color=light -1 -m --delimiter :" + export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS --bind 'tab:toggle+down,shift-tab:toggle+up,ctrl-g:top,ctrl-t:toggle-preview,ctrl-d:preview-half-page-down,ctrl-u:preview-half-page-up' -1 -m --delimiter :" fi