From 992902300323686f53f3a11bf8d7a76473b2b71d Mon Sep 17 00:00:00 2001 From: TiynGER Date: Wed, 22 Apr 2020 14:55:43 +0200 Subject: [PATCH] several minor quality of life updates - including better ultisnips for tex - battery icon changed when unknown - changing font to intellij-font --- .config/fontconfig/fonts.conf | 1 + .config/nvim/UltiSnips/tex.snippets | 4 +--- .config/nvim/init.vim | 4 ++-- .local/bin/tools/statusbar/battery | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index e1e5614..e9c9b3f 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -28,6 +28,7 @@ monospace + JetBrainsMono Nerd Font Mono BlexMono Nerd Font Mono Joy Pixels Noto Color Emoji diff --git a/.config/nvim/UltiSnips/tex.snippets b/.config/nvim/UltiSnips/tex.snippets index 55418cb..7a08259 100644 --- a/.config/nvim/UltiSnips/tex.snippets +++ b/.config/nvim/UltiSnips/tex.snippets @@ -54,20 +54,18 @@ endsnippet snippet ,ol "Enumeration" A \begin{enumerate} \item $1 - $2 \end{enumerate} endsnippet snippet ,ul "Itemization" A \begin{itemize} \item $1 - $2 \end{itemize} endsnippet snippet ,li "List element" A + \item $1 -$2 endsnippet snippet ,ref "Reference" A diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 6e6ea36..0cf136c 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -20,11 +20,11 @@ Plug 'frazrepo/vim-rainbow' " Colorized matching brackets Plug 'junegunn/fzf.vim' " Quickly jump files using fzf Plug 'ryanoasis/vim-devicons' " Enable Icons for vim Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' } " Color Preview -Plug 'tomasiser/vim-code-dark' +Plug 'tomasiser/vim-code-dark' " adding colorscheme call plug#end() " Rainbow -au FileType java,c,cpp,py call rainbow#load() +au FileType java,c,cpp,py,h call rainbow#load() " You complete me let g:ycm_global_ycm_extra_conf = '/home/tiynger/.config/nvim/ycm_extra_conf.py' diff --git a/.local/bin/tools/statusbar/battery b/.local/bin/tools/statusbar/battery index 88b211f..a928f50 100755 --- a/.local/bin/tools/statusbar/battery +++ b/.local/bin/tools/statusbar/battery @@ -11,4 +11,4 @@ status=$(cat /sys/class/power_supply/"$1"/status) [ "$status" = "Charging" ] && color="#ffffff" -printf "%s%s\n" "$(echo "$status" | sed -e "s/,//;s/Discharging/🔋/;s/Not Charging/🛑/;s/Charging/🔌/;s/Unknown/♻️/;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$warn" "$(echo "$capacity" | sed -e 's/$/%/' ) " +printf "%s%s\n" "$(echo "$status" | sed -e "s/,//;s/Discharging/🔋/;s/Not Charging/🛑/;s/Charging/🔌/;s/Unknown/🛑/;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$warn" "$(echo "$capacity" | sed -e 's/$/%/' ) "