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)

View File

@@ -1,5 +1,5 @@
# theme = onedark
theme = dark:onedark,light:onelight
theme = dark:ember,light:ember-light
# fonts
font-family = SFMono Nerd Font

View File

@@ -0,0 +1,29 @@
# Ember — dark variant
# Source: https://github.com/ember-theme/ember/blob/main/palette.json
background = #1c1b19
foreground = #d8d0c0
cursor-color = #e08060
cursor-text = #1c1b19
selection-background = #3e3c38
selection-foreground = #d8d0c0
# Normal colors
palette = 0=#1c1b19
palette = 1=#e08060
palette = 2=#8a9868
palette = 3=#c8b468
palette = 4=#7890a0
palette = 5=#b07878
palette = 6=#80a090
palette = 7=#d8d0c0
# Bright colors (same as normal — Ember's muted philosophy)
palette = 8=#1c1b19
palette = 9=#e08060
palette = 10=#8a9868
palette = 11=#c8b468
palette = 12=#7890a0
palette = 13=#b07878
palette = 14=#80a090
palette = 15=#d8d0c0

View File

@@ -0,0 +1,29 @@
# Ember Light — warm ivory variant
# Source: https://github.com/ember-theme/ember/blob/main/palette.json
background = #e6dac4
foreground = #282418
cursor-color = #b84c30
cursor-text = #e6dac4
selection-background = #c8bca6
selection-foreground = #282418
# Normal colors (accents_light from palette.json)
palette = 0=#282418
palette = 1=#b84c30
palette = 2=#4a6830
palette = 3=#7a6820
palette = 4=#3a6080
palette = 5=#905050
palette = 6=#386858
palette = 7=#e6dac4
# Bright colors (same as normal — Ember's muted philosophy)
palette = 8=#282418
palette = 9=#b84c30
palette = 10=#4a6830
palette = 11=#7a6820
palette = 12=#3a6080
palette = 13=#905050
palette = 14=#386858
palette = 15=#e6dac4

View File

@@ -1,18 +0,0 @@
palette = 0=#282c34
palette = 1=#e06c75
palette = 2=#98c379
palette = 3=#e5c07b
palette = 4=#61afef
palette = 5=#c678dd
palette = 6=#56b6c2
palette = 7=#abb2bf
palette = 8=#5f687b
palette = 9=#e06c75
palette = 10=#98c379
palette = 11=#e5c07b
palette = 12=#61afef
palette = 13=#c678dd
palette = 14=#56b6c2
palette = 15=#bfc5ce
background = #000000
foreground = #abb2bf

View File

@@ -1,18 +0,0 @@
palette = 0=#1b1b1b
palette = 1=#b6443a
palette = 2=#40803f
palette = 3=#795300
palette = 4=#3360c1
palette = 5=#841e83
palette = 6=#006996
palette = 7=#a0a1a7
palette = 8=#767676
palette = 9=#e45649
palette = 10=#50a14f
palette = 11=#986801
palette = 12=#4078f2
palette = 13=#a626a4
palette = 14=#0184bc
palette = 15=#ffffff
background = #eeeeee
foreground = #2a2b33

View File

@@ -44,7 +44,7 @@ set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # truecolor underline
set -g status-style "fg=blue"
set -g window-status-current-style "fg=green"
set -g window-status-current-style "fg=blue"
set -g pane-active-border-style "fg=blue"
setw -g mode-keys vi
@@ -52,7 +52,7 @@ bind -T copy-mode-vi 'v' send -X begin-selection
bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "pbcopy"
# set -g status-right "#(date +'%I:%M %p')"
set -g status-right ""
set -g status-right "#(date +'%A, %B %d, %Y')"
# Activate OFF mode
bind o \