mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-29 18:38:15 +00:00
[macos] Update themeing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -51,6 +51,7 @@ brew "starship"
|
||||
brew "terraform-docs"
|
||||
brew "terraform-local"
|
||||
brew "tflint"
|
||||
brew "tlrc"
|
||||
brew "tz"
|
||||
brew "uv"
|
||||
brew "yazi"
|
||||
|
||||
16
macos/.config/shell-common/98_theme.sh
Normal file
16
macos/.config/shell-common/98_theme.sh
Normal 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
|
||||
@@ -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%
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user