mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2025-01-10 15:02:40 +01:00
set fzf theme in dark/light mode
This commit is contained in:
parent
9fac1ba346
commit
0f2bc8d969
2 changed files with 18 additions and 6 deletions
|
@ -1,5 +1,11 @@
|
||||||
function dark --description 'Set shell theme to dark mode, including neovim'
|
function dark --description 'Set shell theme to dark mode, including neovim'
|
||||||
yes | fish_config theme save "Catppuccin Mocha"
|
yes | fish_config theme save "Catppuccin Mocha"
|
||||||
set -Ux BAT_THEME "Catppuccin Mocha"
|
set -Ux BAT_THEME "Catppuccin Mocha"
|
||||||
update_nvim_theme dark
|
set -Ux FZF_DEFAULT_OPTS "\
|
||||||
|
--color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \
|
||||||
|
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
|
||||||
|
--color=marker:#b4befe,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8 \
|
||||||
|
--color=selected-bg:#45475a \
|
||||||
|
--multi"
|
||||||
|
update_nvim_theme dark
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
function light --description 'Set shell theme to light mode, including neovim'
|
function light --description 'Set shell theme to light mode, including neovim'
|
||||||
yes | fish_config theme save "Catppuccin Latte"
|
yes | fish_config theme save "Catppuccin Latte"
|
||||||
set -Ux BAT_THEME "Catppuccin Latte"
|
set -Ux BAT_THEME "Catppuccin Latte"
|
||||||
update_nvim_theme light
|
set -Ux FZF_DEFAULT_OPTS "\
|
||||||
|
--color=bg+:#ccd0da,bg:#eff1f5,spinner:#dc8a78,hl:#d20f39 \
|
||||||
|
--color=fg:#4c4f69,header:#d20f39,info:#8839ef,pointer:#dc8a78 \
|
||||||
|
--color=marker:#7287fd,fg+:#4c4f69,prompt:#8839ef,hl+:#d20f39 \
|
||||||
|
--color=selected-bg:#bcc0cc \
|
||||||
|
--multi"
|
||||||
|
update_nvim_theme light
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue