From 12aa80d52189ef73b1cae339f4d925ee4dd6fe09 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Tue, 7 Apr 2020 11:57:01 +0200 Subject: [PATCH] Some changes in configs --- botfiles/.config/gtk-2.0/gtkfilechooser.ini | 6 +++--- botfiles/.config/ncmpcpp/config | 5 +++++ botfiles/.config/nvim/plugins.vim | 24 ++++++++++++++++++--- botfiles/.config/picom/picom.conf | 3 +-- botfiles/.config/vlc/vlc-qt-interface.conf | 6 +++--- 5 files changed, 33 insertions(+), 11 deletions(-) diff --git a/botfiles/.config/gtk-2.0/gtkfilechooser.ini b/botfiles/.config/gtk-2.0/gtkfilechooser.ini index 1de1f4d..e456c2d 100644 --- a/botfiles/.config/gtk-2.0/gtkfilechooser.ini +++ b/botfiles/.config/gtk-2.0/gtkfilechooser.ini @@ -2,10 +2,10 @@ LocationMode=path-bar ShowHidden=true ShowSizeColumn=true -GeometryX=538 -GeometryY=223 +GeometryX=540 +GeometryY=237 GeometryWidth=840 GeometryHeight=630 -SortColumn=modified +SortColumn=name SortOrder=descending StartupMode=recent diff --git a/botfiles/.config/ncmpcpp/config b/botfiles/.config/ncmpcpp/config index f776e56..92a4bc8 100644 --- a/botfiles/.config/ncmpcpp/config +++ b/botfiles/.config/ncmpcpp/config @@ -69,3 +69,8 @@ browser_playlist_prefix = "$2playlist$9 " selected_item_prefix = $6 selected_item_suffix = $9 modified_item_prefix = $3> $9 + +def_key "K" + move_sort_order_up + def_key "J" + move_sort_order_down diff --git a/botfiles/.config/nvim/plugins.vim b/botfiles/.config/nvim/plugins.vim index 34f693c..9cd4ff1 100644 --- a/botfiles/.config/nvim/plugins.vim +++ b/botfiles/.config/nvim/plugins.vim @@ -25,7 +25,7 @@ call plug#begin('~/.config/nvim/bundle') Plug 'Shougo/deoplete-clangx' " Plug 'deoplete-plugins/deoplete-jedi' Plug 'deoplete-plugins/deoplete-zsh' - Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'} + " Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'} Plug 'prabirshrestha/async.vim' Plug 'prabirshrestha/asyncomplete.vim' Plug 'prabirshrestha/vim-lsp' @@ -147,8 +147,6 @@ call deoplete#custom#source('ultisnips', 'rank', 1000) call deoplete#custom#source('zsh', 'filetypes', ['sh', 'zsh']) call deoplete#custom#option('smart_case', v:false) -let g:deoplete#sources#go#gocode_binary = "$HOME/go/bin/gocode" - " For python language server if (executable('pyls')) augroup LspPython @@ -186,6 +184,26 @@ if (executable('ccls')) augroup END endif +" for golang language server + +if executable('gopls') + au User lsp_setup call lsp#register_server({ + \ 'name': 'gopls', + \ 'cmd': {server_info->['gopls']}, + \ 'whitelist': ['go'], + \ }) + autocmd BufWritePre *.go LspDocumentFormatSync +endif + +if executable('go-langserver') + au User lsp_setup call lsp#register_server({ + \ 'name': 'go-langserver', + \ 'cmd': {server_info->['go-langserver', '-gocodecompletion']}, + \ 'whitelist': ['go'], + \ }) + autocmd BufWritePre *.go LspDocumentFormatSync +endif + let g:lsp_diagnostics_enabled = 1 let g:lsp_signs_enabled = 1 let g:lsp_diagnostics_echo_cursor = 1 diff --git a/botfiles/.config/picom/picom.conf b/botfiles/.config/picom/picom.conf index bc1ec4c..0568337 100644 --- a/botfiles/.config/picom/picom.conf +++ b/botfiles/.config/picom/picom.conf @@ -100,8 +100,7 @@ frame-opacity = 0; inactive-opacity-override = false; opacity-rule = [ - "92:class_g = 'St' && focused", - "92:class_g = 'St' && !focused", + "88:class_g = 'St'", "85:class_g = 'Polybar'", "80:class_g = 'Rofi'" ]; diff --git a/botfiles/.config/vlc/vlc-qt-interface.conf b/botfiles/.config/vlc/vlc-qt-interface.conf index 5cc93df..73346cd 100644 --- a/botfiles/.config/vlc/vlc-qt-interface.conf +++ b/botfiles/.config/vlc/vlc-qt-interface.conf @@ -1,6 +1,6 @@ [General] filedialog-path="@Variant(\0\0\0\x11\0\0\0;file:///home/samedamci/Videos/blaze-2020-03-26_19-27-04.mp4)" -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x3\0\0\0\x1c\0\0\a|\0\0\x4\x34\0\0\0\x4\0\0\0\x1d\0\0\a{\0\0\x4\x33\0\0\0\0\0\0\0\0\a\x80\0\0\0\x4\0\0\0\x1d\0\0\a{\0\0\x4\x33) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\xe7\0\0\0\x1c\0\0\a|\0\0\x4\x34\0\0\x3\xe7\0\0\0\x1c\0\0\a|\0\0\x4\x34\0\0\0\0\0\0\0\0\a\x80\0\0\x3\xe7\0\0\0\x1c\0\0\a|\0\0\x4\x34) [FullScreen] pos=@Point(0 0) @@ -20,5 +20,5 @@ advanced=false size=@Size(526 405) [RecentsMRL] -list=file:///home/samedamci/Videos/blaze-2020-03-26_19-27-04.mp4, file:///home/samedamci/Videos/blaze-2020-03-26_19-25-04.mp4, file:///home/samedamci/Python%20Tutorial%20-%20Working%20with%20JSON%20Data%20using%20the%20json%20Module.m4a, file:///home/samedamci/Documents/PythonCurses/Learn%20Python%20-%20Full%20Course%20for%20Beginners%20[Tutorial]-rfscVS0vtbw.mp4, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/throw.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/no3.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit4.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit3.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit2.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit1.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/death.ogg, file:///mnt/HDD/samedamci/Videos/mc1.webm, file:///mnt/HDD/samedamci/Videos/brovar.webm, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-27-59.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-26-07.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-23-22.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-22-36.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-18-04.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-04-07.flv, file:///home/samedamci/2020-03-01%2013-24-25.flv, file:///home/samedamci/SD/Music/Ki.flac, file:///home/samedamci/SD/Music/001%20%20Cantate%20Tutti.flac, directory:///home/samedamci/SD/Music -times=0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33408, 0 +list=file:///media/6CEC-36BB/Music/Nyan%20Cat%20-%2010%20HOURS%20%5B%20BEST%20SOUND%20QUALITY%20%5D%204K%20UHD%20ULTRA%20HD.webm, file:///home/samedamci/Videos/blaze-2020-03-26_19-27-04.mp4, file:///home/samedamci/Videos/blaze-2020-03-26_19-25-04.mp4, file:///home/samedamci/Python%20Tutorial%20-%20Working%20with%20JSON%20Data%20using%20the%20json%20Module.m4a, file:///home/samedamci/Documents/PythonCurses/Learn%20Python%20-%20Full%20Course%20for%20Beginners%20[Tutorial]-rfscVS0vtbw.mp4, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/throw.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/no3.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit4.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit3.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit2.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit1.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/death.ogg, file:///mnt/HDD/samedamci/Videos/mc1.webm, file:///mnt/HDD/samedamci/Videos/brovar.webm, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-27-59.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-26-07.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-23-22.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-22-36.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-18-04.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-04-07.flv, file:///home/samedamci/2020-03-01%2013-24-25.flv, file:///home/samedamci/SD/Music/Ki.flac, file:///home/samedamci/SD/Music/001%20%20Cantate%20Tutti.flac, directory:///home/samedamci/SD/Music +times=0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33408, 0