From 5401b0f06ad1859a87aae2ef939b0de027a24de4 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Sat, 22 Feb 2020 12:01:12 +0200 Subject: [PATCH] tweaking.... --- .config/nvim/config/plugin-settings.vim | 18 +++++++++--------- .p10k.zsh | 14 +++++++------- .zaliases | 1 + .zshrc | 2 +- addons/pacman-packages | 2 ++ 5 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.config/nvim/config/plugin-settings.vim b/.config/nvim/config/plugin-settings.vim index ff865f8..f420609 100644 --- a/.config/nvim/config/plugin-settings.vim +++ b/.config/nvim/config/plugin-settings.vim @@ -109,7 +109,7 @@ let g:airline_right_alt_sep = '' let g:airline_symbols_branch = '' let g:airline_powerline_fonts = 1 let g:airline_symbols.crypt = '' -let g:airline_symbols.linenr = '☰' +let g:airline_symbols.linenr = '☰ ' let g:airline_symbols.linenr = '␊' let g:airline_symbols.linenr = '␤' let g:airline_symbols.linenr = '¶' @@ -120,7 +120,7 @@ let g:airline_symbols.paste = '∥' let g:airline_symbols.spell = 'Ꞩ' let g:airline_symbols.notexists = 'Ɇ' let g:airline_symbols.whitespace = 'Ξ' -let g:airline_symbols.modified = ' ' +let g:airline_symbols.modified = '  ' let g:airline_section_error = '%{airline#util#wrap(airline#extensions#coc#get_error(),0)}' let g:airline_section_warning = '%{airline#util#wrap(airline#extensions#coc#get_warning(),0)}' "extensions @@ -134,9 +134,9 @@ let g:airline#extensions#hunks#enabled = 1 "extension settings let airline#extensions#coc#stl_format_err = '%E{[%e(#%fe)]}' let airline#extensions#coc#stl_format_warn = '%W{[%w(#%fw)]}' -let airline#extensions#coc#warning_symbol = ':' -let airline#extensions#coc#error_symbol = ':' -let g:airline#extensions#hunks#hunk_symbols = [':', ':', ':'] +let airline#extensions#coc#warning_symbol = ' :' +let airline#extensions#coc#error_symbol = ' :' +let g:airline#extensions#hunks#hunk_symbols = [' :', ' :', ' :'] let g:airline#extensions#branch#format = 2 @@ -155,8 +155,8 @@ let g:WebDevIconsUnicodeGlyphDoubleWidth = 1 let g:webdevicons_enable_airline_statusline = 1 let g:WebDevIconsNerdTreeGitPluginForceVAlign = 1 let g:WebDevIconsUnicodeGlyphDoubleWidth = 1 -let g:WebDevIconsUnicodeDecorateFolderNodesDefaultSymbol = '' -let g:DevIconsDefaultFolderOpenSymbol = '' +let g:WebDevIconsUnicodeDecorateFolderNodesDefaultSymbol = ' ' +let g:DevIconsDefaultFolderOpenSymbol = ' ' """"""""""""""""" "Comfy-Scroll " @@ -256,8 +256,8 @@ let g:startify_session_dir = '~/.local/share/nvim/session' """"""" " Define Error Symbols and colors -let g:coc_status_warning_sign = '' -let g:coc_status_error_sign = '' +let g:coc_status_warning_sign = ' ' +let g:coc_status_error_sign = ' ' hi CocWarningSign ctermfg=blue hi CocErrorSign ctermfg=red hi CocInfoSign ctermfg=yellow diff --git a/.p10k.zsh b/.p10k.zsh index 8082953..aadfe7b 100644 --- a/.p10k.zsh +++ b/.p10k.zsh @@ -76,7 +76,7 @@ azure # azure account name (https://docs.microsoft.com/en-us/cli/azure) gcloud # google cloud cli acccount and project (https://cloud.google.com/) google_app_cred # google application credentials (https://cloud.google.com/docs/authentication/production) - context # user@hostname + #context # user@hostname nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) ranger # ranger shell (https://github.com/ranger/ranger) nnn # nnn shell (https://github.com/jarun/nnn) @@ -86,9 +86,9 @@ vpn_ip # virtual private network indicator # ram # free RAM # load # CPU load - todo # todo items (https://github.com/todotxt/todo.txt-cli) + # todo # todo items (https://github.com/todotxt/todo.txt-cli) # time # current time - public_ip # public IP address + # public_ip # public IP address # proxy # system-wide http/https/ftp proxy battery # internal battery # example # example user-defined segment (see prompt_example function below) @@ -444,7 +444,7 @@ functions -M my_git_formatter 2>/dev/null # Disable the default Git status formatting. - typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=true + typeset -g POWERLEVEL9K_VCS_DISABLE_GITSTATUS_FORMATTING=false # Install our own Git status formatter. typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${$((my_git_formatter(1)))+${my_git_format}}' typeset -g POWERLEVEL9K_VCS_LOADING_CONTENT_EXPANSION='${$((my_git_formatter(0)))+${my_git_format}}' @@ -467,7 +467,7 @@ # These settings are used for respositories other than Git or when gitstatusd fails and # Powerlevel10k has to fall back to using vcs_info. typeset -g POWERLEVEL9K_VCS_CLEAN_FOREGROUND=233 - typeset -g POWERLEVEL9K_VCS_CLEAN_BACKGROUND=002 + typeset -g POWERLEVEL9K_VCS_CLEAN_BACKGROUND=108 typeset -g POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=233 typeset -g POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=160 typeset -g POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=233 @@ -548,9 +548,9 @@ #################[ ranger: ranger shell (https://github.com/ranger/ranger) ]################## # Ranger shell color. - typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178 + typeset -g POWERLEVEL9K_RANGER_FOREGROUND=016 # Custom icon. - # typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='⭐' + typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION=' ' ######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]####################### # Nnn shell color. diff --git a/.zaliases b/.zaliases index a025c54..b54a585 100644 --- a/.zaliases +++ b/.zaliases @@ -18,6 +18,7 @@ alias blist='borg list ssh://borg@alpine0.home.hartzan.com:2222/backup/xps' alias contabo='ssh hate@164.68.120.85' alias yv='googler -w youtube.com --url-handler mpv $argv' alias rollback='sudo pacback --snapback' +alias p10kup='git -C $ZSH_CUSTOM/themes/powerlevel10k pull' #Check the weather: weath() { curl wttr.in/Hameenlinna ;} diff --git a/.zshrc b/.zshrc index 5e27713..2f711e6 100644 --- a/.zshrc +++ b/.zshrc @@ -68,7 +68,7 @@ setopt always_to_end # move cursor to end if word had one match plugins=( zsh-autosuggestions zsh-syntax-highlighting - history-substring-search + zsh-interactive-cd archlinux sudo tmux diff --git a/addons/pacman-packages b/addons/pacman-packages index 7973491..07090b0 100644 --- a/addons/pacman-packages +++ b/addons/pacman-packages @@ -54,6 +54,7 @@ htop inetutils intel-media-driver intel-ucode +intltool iproute2 iputils iwd @@ -108,6 +109,7 @@ pavucontrol pciutils pcmanfm-gtk3 perl +perl-xml-parser pkgconf polkit-gnome powertop