flavours: Add fzf styling
Added styling for fzf using the base16 schemes. Currently applies only on newly opened shell environments but that's good enough for me.
This commit is contained in:
parent
6d82162f16
commit
d0a2853bf2
3 changed files with 22 additions and 7 deletions
|
@ -61,7 +61,6 @@ template = "qutebrowser"
|
||||||
subtemplate = "minimal"
|
subtemplate = "minimal"
|
||||||
file = "~/.local/state/qutebrowser/colorscheme.py"
|
file = "~/.local/state/qutebrowser/colorscheme.py"
|
||||||
rewrite = true
|
rewrite = true
|
||||||
light = false
|
|
||||||
hook = "pgrep -x qutebrowser && qutebrowser :config-source"
|
hook = "pgrep -x qutebrowser && qutebrowser :config-source"
|
||||||
|
|
||||||
# CSS Webpage styling in qutebrowser
|
# CSS Webpage styling in qutebrowser
|
||||||
|
@ -90,3 +89,10 @@ file = "~/.config/sioyek/prefs_user.config"
|
||||||
rewrite = false
|
rewrite = false
|
||||||
start = "# START FLAVOURS"
|
start = "# START FLAVOURS"
|
||||||
end = "# END 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"
|
||||||
|
|
|
@ -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}}"
|
|
@ -54,5 +54,5 @@ export TERM=xterm-256color
|
||||||
. dark_bg
|
. dark_bg
|
||||||
|
|
||||||
if exist fzf; then
|
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
|
fi
|
||||||
|
|
Loading…
Reference in a new issue