From 85ff89c23c0bcc3ea15306fa039b0fbb9187aa7d Mon Sep 17 00:00:00 2001 From: TechDufus Date: Thu, 19 Dec 2024 11:34:00 -0600 Subject: [PATCH] =?UTF-8?q?zsh:=20=E3=80=8BAdding=20catppuccin=20theme=20f?= =?UTF-8?q?or=20fzf.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/zsh/files/zsh/fzf_config.zsh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/zsh/files/zsh/fzf_config.zsh b/roles/zsh/files/zsh/fzf_config.zsh index d5a6949d..9165ab85 100644 --- a/roles/zsh/files/zsh/fzf_config.zsh +++ b/roles/zsh/files/zsh/fzf_config.zsh @@ -3,6 +3,13 @@ show_file_or_dir_preview="if [ -d {} ]; then lsd --oneline --tree --color=always --icon=always {} | head -200; else bat -n --color=always --line-range :500 {}; fi" export FZF_CTRL_T_OPTS="--preview '$show_file_or_dir_preview'" +# catppuccin mocha theme. +export 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" # Advanced customization of fzf options via _fzf_comprun function # - The first argument to the function is the name of the command.