From 12b14aa63b734357eb52d5fe2ab828a3377622d5 Mon Sep 17 00:00:00 2001 From: Dan Suster Date: Sun, 28 Jul 2024 11:56:55 +0200 Subject: [PATCH] fix zsh-syntax-highlight, kitty nerd fonts --- install.conf.yaml | 4 +++- kitty.conf | 5 ++--- osx | 11 +++++++++++ zshrc | 4 ++-- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/install.conf.yaml b/install.conf.yaml index 43152a0..01c15fd 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -5,6 +5,8 @@ - create: ~/.ssh: mode: 0700 + ~/.gnupg: + mode: 0700 ~/.config/nvim: ~/.config/kitty: ~/.thunderbird: @@ -38,4 +40,4 @@ - git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom/themes/powerlevel10k} - git clone https://github.com/sunlei/zsh-ssh ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-ssh - git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim - - rm -rf ~/.config/nvim/.git \ No newline at end of file + - rm -rf ~/.config/nvim/.git diff --git a/kitty.conf b/kitty.conf index 1f54de9..637c4dd 100644 --- a/kitty.conf +++ b/kitty.conf @@ -6,7 +6,7 @@ #: individual font faces and even specify special fonts for particular #: characters. -font_family JetBrainsMono Nerd Font Mono +font_family JetBrainsMono Nerd Font bold_font auto italic_font auto bold_italic_font auto @@ -57,8 +57,7 @@ font_size 12.0 #: than 100% to reduce sizes (but this might cause rendering #: artifacts). -# symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 PowerlineSymbols -symbol_map U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0C8,U+E0CA,U+E0CC-U+E0D2,U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E634,U+E700-U+E7C5,U+EA60-U+EBEB,U+F000-U+F2E0,U+F300-U+F32F,U+F400-U+F4A9,U+F500-U+F8FF Symbols Nerd Font Mono +symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 PowerlineSymbols #: Map the specified unicode codepoints to a particular font. Useful #: if you need special rendering for some symbols, such as for diff --git a/osx b/osx index b8928b3..4fcf751 100755 --- a/osx +++ b/osx @@ -167,6 +167,17 @@ chflags nohidden ~/Library # Dock, Dashboard, and hot corners # ############################################################################### +# Enable Genie effect for window minimization +defaults write com.apple.dock mineffect -string "genie" + +# Set Dock magnification (1-128, where 1 is smallest and 128 is largest) +# Here we choose 64 as a medium value +defaults write com.apple.dock magnification -bool true +defaults write com.apple.dock largesize -int 80 + +# Disable recent applications in the Dock (requires macOS Mojave or later) +defaults write com.apple.dock show-recents -bool false + # Set the icon size of Dock items defaults write com.apple.dock tilesize -int 48 diff --git a/zshrc b/zshrc index 8cd6999..60e0743 100644 --- a/zshrc +++ b/zshrc @@ -151,13 +151,13 @@ alias gl='git log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset % alias vi='nvim' alias vim='nvim' -alias 'gpg list'='gpg --list-secret-keys --keyid-format=long' +alias gpg-list='gpg --list-secret-keys --keyid-format=long' # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # TODO -source ${share_path}/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source ${share_path}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # Allow history search via up/down keys. # TODO source ${share_path}/zsh-history-substring-search/zsh-history-substring-search.zsh