From 9b250dc1a0acb717c5e419efcc292b293191b14c Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Fri, 1 Mar 2024 03:33:47 +0700 Subject: [PATCH] config(kitty): powerline tab --- data/kitty/kitty.conf | 2 ++ data/zsh/bottom-zshrc | 4 ++++ data/zsh/top-zshrc | 3 +++ 3 files changed, 9 insertions(+) diff --git a/data/kitty/kitty.conf b/data/kitty/kitty.conf index a212fb8..b8045cc 100644 --- a/data/kitty/kitty.conf +++ b/data/kitty/kitty.conf @@ -56,6 +56,8 @@ enabled_layouts splits:split_axis=horizontal # https://sw.kovidgoyal.net/kitty/conf/#tab-bar tab_bar_align center +tab_bar_style powerline +tab_powerline_style round # https://sw.kovidgoyal.net/kitty/conf/#advanced allow_remote_control yes diff --git a/data/zsh/bottom-zshrc b/data/zsh/bottom-zshrc index ace86c7..ef448a7 100644 --- a/data/zsh/bottom-zshrc +++ b/data/zsh/bottom-zshrc @@ -1,6 +1,10 @@ # vim: set filetype=zsh: # Put this on bottom of ~/.zshrc +# https://github.com/ohmyzsh/ohmyzsh/wiki/Settings#automatic-title +ZSH_THEME_TERM_TITLE_IDLE="%~" +ZSH_THEME_TERM_TAB_TITLE_IDLE="%~" + # https://github.com/romkatv/powerlevel10k#how-do-i-configure-instant-prompt typeset -g POWERLEVEL9K_INSTANT_PROMPT=off diff --git a/data/zsh/top-zshrc b/data/zsh/top-zshrc index c572127..915ccff 100644 --- a/data/zsh/top-zshrc +++ b/data/zsh/top-zshrc @@ -39,6 +39,9 @@ DISABLE_LS_COLORS="true" # https://github.com/ohmyzsh/ohmyzsh/wiki/Settings#disable_untracked_files_dirty DISABLE_UNTRACKED_FILES_DIRTY="true" +# https://github.com/ohmyzsh/ohmyzsh/wiki/Settings#automatic-title +DISABLE_AUTO_TITLE=true + # https://github.com/zsh-users/zsh-autosuggestions#suggestion-strategy typeset -g ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20 typeset -g ZSH_AUTOSUGGEST_HISTORY_IGNORE=$HISTORY_IGNORE