Skip to content

Commit d666ec7

Browse files
committed
lsd: drop light/dark theme switcher, use single dark palette
Catppuccin Latte (light) is designed for a white terminal background and washes out badly on the dark terminals I actually use, regardless of macOS appearance. Drop the precmd hook entirely — one colors.yaml linked at bootstrap is simpler and looks right everywhere.
1 parent 9c067f9 commit d666ec7

6 files changed

Lines changed: 3 additions & 61 deletions

File tree

.config/lsd/colors-light.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/bootstrap.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ jobs:
2929
test -L "$HOME/.gitignore"
3030
test -L "$HOME/.config/nvim"
3131
test -L "$HOME/.config/mise/config.toml"
32-
test -L "$HOME/.config/lsd/colors-dark.yaml"
33-
test -L "$HOME/.config/lsd/colors-light.yaml"
32+
test -L "$HOME/.config/lsd/colors.yaml"
3433
test -L "$HOME/.tmux/loadavg.sh"
3534
3635
- name: Verify CLI tools installed

.zsh/lsd.zsh

Lines changed: 0 additions & 15 deletions
This file was deleted.

.zshrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ source "$HOME/.zsh/keybindings.zsh"
2222
source "$HOME/.zsh/abbreviations.zsh"
2323
source "$HOME/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh"
2424
source "$HOME/.zsh/fzf.zsh"
25-
source "$HOME/.zsh/lsd.zsh"
2625
source "$HOME/.zsh/auto-notify.plugin.zsh"
2726
[[ -f /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]] && source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
2827
[[ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]] && source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh

bootstrap.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,9 @@ link_dotfiles() {
188188
log "Linking mise config"
189189
run mkdir -p ~/.config/mise
190190
run ln -fs "$DOTFILES_DIR/.config/mise/config.toml" ~/.config/mise/config.toml
191-
# lsd writes colors.yaml into ~/.config/lsd/ at runtime (theme switcher),
192-
# so we link individual files rather than the whole directory.
193-
log "Linking lsd themes"
191+
log "Linking lsd colors"
194192
run mkdir -p ~/.config/lsd
195-
run ln -fs "$DOTFILES_DIR/.config/lsd/colors-dark.yaml" ~/.config/lsd/colors-dark.yaml
196-
run ln -fs "$DOTFILES_DIR/.config/lsd/colors-light.yaml" ~/.config/lsd/colors-light.yaml
193+
run ln -fs "$DOTFILES_DIR/.config/lsd/colors.yaml" ~/.config/lsd/colors.yaml
197194
if [[ "$OSTYPE" == darwin* ]]; then
198195
log "Linking ghostty config"
199196
run ln -fns "$DOTFILES_DIR/.config/ghostty" ~/.config/ghostty

0 commit comments

Comments
 (0)