[macos] Update themeing

This commit is contained in:
Andrew Williams
2026-01-15 16:53:43 +00:00
parent cbc7e5fe81
commit 8c013bb66c
5 changed files with 27 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ window-save-state = never
window-new-tab-position = end
theme = Nord
font-family = JetBrainsMono Nerd Font
background-opacity = 0.95
# Handled via Brew
auto-update = off

View File

@@ -51,6 +51,7 @@ brew "starship"
brew "terraform-docs"
brew "terraform-local"
brew "tflint"
brew "tlrc"
brew "tz"
brew "uv"
brew "yazi"

View File

@@ -0,0 +1,16 @@
# Set themes for various CLI apps to match our terminal settings
# Theme flavour of the month: Nord
# Bat
if [ -x "$(command -v bat)" ]; then
export BAT_THEME="Nord"
fi
# Fzf
if [ -x "$(command -v bat)" ]; then
export FZF_DEFAULT_OPTS='
--color=fg:#e5e9f0,bg:#2E3440,hl:#81a1c1
--color=fg+:#e5e9f0,bg+:#2E3440,hl+:#81a1c1
--color=info:#eacb8a,prompt:#bf6069,pointer:#b48dac
--color=marker:#a3be8b,spinner:#b48dac,header:#a3be8b'
fi

View File

@@ -138,5 +138,5 @@ f() {
# Search for a file using macOS Spotlight
# https://natelandau.com/my-mac-os-zsh-profile/
spotlight() {
mdfind "kMDItemDisplayName == '${1}'wc"
mdfind "kMDItemDisplayName == '${1}'wc" | fzf --preview 'fzf-preview.sh {}' --height 40%
}

View File

@@ -22,6 +22,8 @@ $aws\
[](bg:nord4 fg:nord7)\
$cmd_duration\
[](fg:#d9dee9)\
$time\
[](fg:nord0)\
$line_break\
$character
"""
@@ -150,3 +152,9 @@ read_only_style = "fg:nord0 bold bg:nord9"
success_symbol = "[ »](bold green)"
error_symbol = "[ »](bold red)"
vimcmd_symbol = "[  >](bold green)"
[time]
disabled = false
format = " [$time]($style) "
style = "bold fg:nord2"
time_format = "%R"