From 8c013bb66ce68be85664ff5032e0a494f53a45a6 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 15 Jan 2026 16:53:43 +0000 Subject: [PATCH] [macos] Update themeing --- ghostty/.config/ghostty/config | 1 + macos/.config/homebrew/Brewfile | 1 + macos/.config/shell-common/98_theme.sh | 16 ++++++++++++++++ macos/.config/shell-common/99_macos.sh | 2 +- starship/.config/starship.toml | 8 ++++++++ 5 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 macos/.config/shell-common/98_theme.sh diff --git a/ghostty/.config/ghostty/config b/ghostty/.config/ghostty/config index 7add8a5..eb738eb 100644 --- a/ghostty/.config/ghostty/config +++ b/ghostty/.config/ghostty/config @@ -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 diff --git a/macos/.config/homebrew/Brewfile b/macos/.config/homebrew/Brewfile index 09decb5..68a17ed 100644 --- a/macos/.config/homebrew/Brewfile +++ b/macos/.config/homebrew/Brewfile @@ -51,6 +51,7 @@ brew "starship" brew "terraform-docs" brew "terraform-local" brew "tflint" +brew "tlrc" brew "tz" brew "uv" brew "yazi" diff --git a/macos/.config/shell-common/98_theme.sh b/macos/.config/shell-common/98_theme.sh new file mode 100644 index 0000000..65f3820 --- /dev/null +++ b/macos/.config/shell-common/98_theme.sh @@ -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 diff --git a/macos/.config/shell-common/99_macos.sh b/macos/.config/shell-common/99_macos.sh index 48d4e71..a0a4528 100644 --- a/macos/.config/shell-common/99_macos.sh +++ b/macos/.config/shell-common/99_macos.sh @@ -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% } diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index 02090d0..b3d8979 100644 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -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"