Skip to content
Discussion options

You must be logged in to vote

Same trick as your fzf line. Set EZA_CONFIG_DIR to a directory that already has a theme.yml. You can leave the yaml as-is.

Copy extras/eza/tokyonight_night.yml from folke/tokyonight.nvim to ~/.config/eza/dark/theme.yml and tokyonight_day.yml to ~/.config/eza/light/theme.yml. The filename has to be theme.yml. The stock files are in eza-themes. Unset LS_COLORS and EZA_COLORS or they override the yaml. Then next to the fzf export:

export COLORSCHEME=$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo 'dark' || echo 'light')
export EZA_CONFIG_DIR="${XDG_CONFIG_HOME}/eza/${COLORSCHEME}"
unset LS_COLORS EZA_COLORS

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tony-sol
Comment options

Answer selected by tony-sol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants