mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-30 10:58:14 +00:00
[macos] Update themeing
This commit is contained in:
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%
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user