switch to ember light and dark theme for more comfortable usage, other various tmux config like displaying the date, more of a long term reminder not to waste the day, not a constantly updating thing

This commit is contained in:
Matt Anderson
2026-04-27 23:29:37 +08:00
parent 5dd4ae64a5
commit 51da9f8a38
7 changed files with 62 additions and 103 deletions

View File

@@ -126,7 +126,7 @@ if [ -n "$force_color_prompt" ]; then
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ '
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;34m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\n\$ '
fi
@@ -183,78 +183,15 @@ fi
#. "$HOME/.cargo/env"
#
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH=$BUN_INSTALL/bin:$PATH
ALACRITTY_DARK='
[colors.primary]
background = "#000000"
foreground = "#abb2bf"
[colors.bright]
black = "#282c34"
blue = "#61afef"
cyan = "#56b6c2"
green = "#98c379"
magenta = "#c678dd"
red = "#e06c75"
white = "#bfc5ce"
yellow = "#e5c07b"
[colors.normal]
black = "#282c34"
blue = "#61afef"
cyan = "#56b6c2"
green = "#98c379"
magenta = "#c678dd"
red = "#e06c75"
white = "#abb2bf"
yellow = "#e5c07b"
[font]
normal = { family = "Hack Nerd Font Mono", style = "Regular" }
'
ALACRITTY_LIGHT='
[colors.primary]
foreground = "#2a2b33"
background = "#ffffff"
[colors.normal]
black = "#000000"
red = "#b6443a"
green = "#40803f"
yellow = "#795300"
blue = "#3360c1"
magenta = "#841e83"
cyan = "#006996"
white = "#ccccc0"
[colors.bright]
black = "#000000"
red = "#b6443a"
green = "#40803f"
yellow = "#795300"
blue = "#3360c1"
magenta = "#841e83"
cyan = "#006996"
white = "#ccccc0"
[font]
normal = { family = "Hack Nerd Font Mono", style = "Regular" }
'
# Load bash-completion
# if [ -f "$(brew --prefix)/etc/profile.d/bash_completion.sh" ]; then
# source "$(brew --prefix)/etc/profile.d/bash_completion.sh"
# fi
alias ad="echo -e \"\${ALACRITTY_DARK}\" > ~/.config/alacritty/alacritty.toml"
alias al="echo -e \"\${ALACRITTY_LIGHT}\" > ~/.config/alacritty/alacritty.toml"
alias kc=kubecolor
# complete -o default -F __start_kubectl kc
# source <(kubectl completion bash)