citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 2c819b5d76ca0cbec9677d69b2d84f8b1ca079d3
parent 184da3e1b68cb489318cd354566def7e21bee230
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 21 Apr 2021 09:59:31 -0700

bat: use light theme when in light mode

Diffstat:
Mdotfiles/.bash_aliases | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases @@ -10,8 +10,16 @@ export LESS="-cix8RM --save-marks" export RADV_PERFTEST=aco export AMD_DEBUG=nodma +TERM_THEME=$(basename $(readlink ~/.Xresources.d/themes/current)) + +if [ $TERM_THEME == "light" ] +then + export BAT_THEME=GitHub +else + export BAT_THEME=base16 +fi + export BAT_STYLE=plain -export BAT_THEME=base16 export LPASS_HOME="$HOME/.config/lpass" export FUZZER=fzf export GOPHERCLIENT=vf1