diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 50c6051..4896083 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -10,13 +10,14 @@ include ~/.cache/wal/colors-kitty.conf # bold_font Operator Mono Thick # bold_italic_font Operator Mono Medium # font_family Input Mono -font_family Ubuntu Mono derivative Powerline -italic_font Ubuntu Mono derivative Powerline Italic -bold_font Ubuntu Mono derivative Powerline Bold -bold_italic_font Ubuntu Mono derivative Powerline Bold Italic +#font_family Ubuntu Mono derivative Powerline +font_family UbuntuMono Nerd Font Complete Mono +italic_font UbuntuMono Nerd Font Complete Mono Italic +bold_font UbuntuMono Nerd Font Complete Mono Bold +bold_italic_font UbuntuMono Nerd Font Complete Mono Bold Italic # Font size (in pts) -font_size 10.0 +font_size 9.0 # The foreground color #foreground #c0b18b @@ -112,7 +113,7 @@ term xterm-kitty # The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution. window_border_width 0 -window_margin_width 4 +window_margin_width 2 # The color for the border of the active window #active_border_color #ffffff diff --git a/.zshrc b/.zshrc index a8a8191..6fe2265 100644 --- a/.zshrc +++ b/.zshrc @@ -28,7 +28,8 @@ fi # source $HOME/.zshenv #fi -ZSH_THEME="agnoster" +ZSH_THEME="powerlevel9k/powerlevel9k" +#ZSH_THEME="agnoster" # Auto completion autoload -Uz compinit @@ -114,3 +115,88 @@ if [ -f '/home/hate/google-cloud-sdk/path.zsh.inc' ]; then source '/home/hate/go # The next line enables shell command completion for gcloud. if [ -f '/home/hate/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/hate/google-cloud-sdk/completion.zsh.inc'; fi +# Powerlevel9k +#POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(icons_test) +POWERLEVEL9K_MODE=nerdfont-complete +POWERLEVEL9K_PROMPT_ADD_NEWLINE=true + +# LEFT_PROMPT +# =========================================================== +POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon battery ram time newline dir_joined) +POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='' +POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR=' ' +POWERLEVEL9K_WHITESPACE_BETWEEN_LEFT_SEGMENTS='' + +# status +# POWERLEVEL9K_STATUS_VERBOSE=false + +# os_icon custom +POWERLEVEL9K_OS_ICON_BACKGROUND='none' +POWERLEVEL9K_OS_ICON_FOREGROUND='004' + +# battery +POWERLEVEL9K_BATTERY_LOW_BACKGROUND='none' +POWERLEVEL9K_BATTERY_LOW_FOREGROUND='001' +POWERLEVEL9K_BATTERY_CHARGING_BACKGROUND='none' +POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND='076' +POWERLEVEL9K_BATTERY_CHARGED_BACKGROUND='none' +POWERLEVEL9K_BATTERY_CHARGED_FOREGROUND='076' +POWERLEVEL9K_BATTERY_DISCONNECTED_BACKGROUND='none' +POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND='003' +POWERLEVEL9K_BATTERY_LOW_THRESHOLD=15 +POWERLEVEL9K_BATTERY_VERBOSE=false +POWERLEVEL9K_BATTERY_STAGES='' + +# time +# POWERLEVEL9K_TIME_FORMAT="%D{%d.%m.%y %H:%M:%S}" +POWERLEVEL9K_TIME_ICON='' +POWERLEVEL9K_TIME_BACKGROUND='none' +POWERLEVEL9K_TIME_FOREGROUND='006' + +# ram +POWERLEVEL9K_RAM_ICON='' +POWERLEVEL9K_RAM_BACKGROUND='none' +POWERLEVEL9K_RAM_FOREGROUND='006' + +# dir +POWERLEVEL9K_SHORTEN_DELIMITER='' +POWERLEVEL9K_SHORTEN_DIR_LENGTH=7 +# POWERLEVEL9K_SHORTEN_STRATEGY='truncate_to_first_and_last' + +POWERLEVEL9K_ETC_ICON='' +POWERLEVEL9K_FOLDER_ICON='' +POWERLEVEL9K_HOME_ICON='' +POWERLEVEL9K_HOME_SUB_ICON='' + +POWERLEVEL9K_DIR_ETC_BACKGROUND='none' +POWERLEVEL9K_DIR_ETC_FOREGROUND='005' +POWERLEVEL9K_DIR_HOME_BACKGROUND='none' +POWERLEVEL9K_DIR_HOME_FOREGROUND='004' +POWERLEVEL9K_DIR_DEFAULT_BACKGROUND='none' +POWERLEVEL9K_DIR_DEFAULT_FOREGROUND='005' +POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND='none' +POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND='004' + +# customization +# POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='' + +# RIGHT_PROMP +# =========================================================== +POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(vcs) +POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='' +POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR=' ' +POWERLEVEL9K_WHITESPACE_BETWEEN_RIGHT_SEGMENTS='' + +# vcs +POWERLEVEL9K_SHOW_CHANGESET=true +POWERLEVEL9K_CHANGESET_HASH_LENGTH=6 + +POWERLEVEL9K_VCS_CLEAN_BACKGROUND='none' +POWERLEVEL9K_VCS_CLEAN_FOREGROUND='076' +POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='none' +POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND='005' +POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='none' +POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='003' + +POWERLEVEL9K_VCS_GIT_HOOKS=(vcs-detect-changes git-untracked git-aheadbehind git-remotebranch git-tagname) +