From a93d2f9a12919d780be88f57b63bba91c0c0bf98 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Tue, 2 Nov 2021 21:06:22 +0100 Subject: Polybar font, i3 misc, nvim omnisharp misc --- .config/i3/config | 3 ++- .config/nvim/lua/opts.lua | 13 ++++++------- .config/nvim/lua/setup.lua | 1 - .config/polybar/config | 8 ++++---- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 533c0c3..b742d95 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -143,6 +143,8 @@ for_window [class="^Unity$" title="^Starting Unity...$"] floating enable for_window [class="^Unity$" title="^Hold On$"] floating enable for_window [class="^Unity$" title="^Preparing Package$"] floating enable for_window [class="^Unity$" title="^Importing Package$"] floating enable +for_window [class="unityhub"] floating enable +for_window [class="UnityHub"] floating enable # Steam for_window [title="Friends List"] floating enable @@ -159,7 +161,6 @@ for_window [title="Steam Guard - Computer Authorization Required"] floating enab for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable for_window [title="^Steam Keyboard$"] floating enable - ##### Exec exec_always --no-startup-id $HOME/.config/polybar/launch exec_always --no-startup-id picom --config $HOME/.config/picom/picom.conf -b diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua index e6957f4..cb29acf 100644 --- a/.config/nvim/lua/opts.lua +++ b/.config/nvim/lua/opts.lua @@ -67,13 +67,12 @@ end -- C# local pid = vim.fn.getpid() - -require 'lspconfig'.omnisharp.setup { - capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()), - on_attach = function(_, bufnr) - vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') - end, - cmd = { "/home/adam/.cache/yay/omnisharp-roslyn/omnisharp", "--languageserver" , "--hostPID", tostring(pid) }, +require'lspconfig'.omnisharp.setup { + capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()), + on_attach = function(_, bufnr) + vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') + end, + cmd = { "/usr/bin/omnisharp", "--languageserver" , "--hostPID", tostring(pid) }, } -- LUA diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua index 482e211..9bb8e38 100644 --- a/.config/nvim/lua/setup.lua +++ b/.config/nvim/lua/setup.lua @@ -33,5 +33,4 @@ set.ttimeoutlen = 200 set.wrap = false set.fcs = 'eob: ' set.swapfile = false -set.cursorline = true set.pumblend = 0 diff --git a/.config/polybar/config b/.config/polybar/config index b3f8b09..3956758 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -38,7 +38,7 @@ padding-right = 2 module-margin-left = 0 module-margin-right = 4 -font-0 = FreeSans:style=Regular:size=15;3 +font-0 = Averia Libre:style=bold:size=14;4 font-1 = Font Awesome 5 Free Regular:size=14;4.5 font-2 = Font Awesome 5 Free Solid:size=14;4.5 @@ -82,7 +82,7 @@ padding-right = 0 module-margin-left = 1 module-margin-right = 2 -font-0 = FreeSans:style=Regular:size=15;3 +font-0 = Averia Libre:style=bold:size=14;4 font-1 = Font Awesome 5 Free Regular:size=14;4.5 font-2 = Font Awesome 5 Free Solid:size=14;4.5 @@ -162,7 +162,7 @@ type = internal/date interval = 5 date-alt = "" -date = " %a %b %d " +date = " %a, %b %d " time-alt = %H:%M time = %H:%M @@ -174,7 +174,7 @@ type = internal/date interval = 5 date = "" -date-alt = " %a %b %d " +date-alt = " %a, %b %d " time = %H:%M time-alt = %H:%M -- cgit v1.2.3-70-g09d2