summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam.moloney.stuck@gmail.com>2021-11-02 21:06:22 +0100
committeradamstuck <adam.moloney.stuck@gmail.com>2021-11-03 00:09:34 +0100
commit0efe32b1e1344472263a456d27ac3d6e9e425d7d (patch)
tree4c0e6f1f87332f862278b27e26eaa512aa7cd949
parente5cdb9a7fd7ebb1339f605be64eb22e69babd1ed (diff)
Polybar font, i3 misc, nvim omnisharp misc
-rw-r--r--.config/i3/config2
-rw-r--r--.config/nvim/lua/opts.lua13
-rw-r--r--.config/nvim/lua/setup.lua1
-rw-r--r--.config/polybar/config13
4 files changed, 13 insertions, 16 deletions
diff --git a/.config/i3/config b/.config/i3/config
index c601ad6..65fd958 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -146,6 +146,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 https://github.com/ValveSoftware/steam-for-linux/issues/1040
for_window [title="Friends List"] floating enable
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index aa56f76..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 = { "/usr/bin/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 9d5cac9..96a4ef2 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -38,15 +38,13 @@ padding-right = 2
module-margin-left = 0
module-margin-right = 5
-font-0 = FreeSans:size=15;3
+font-0 = Averia Libre:style=bold:size=15;4
font-1 = Font Awesome 5 Free Regular:size=14;4.5
font-2 = Font Awesome 5 Free Solid:size=14;4.5
-font-3 = Font Awesome 5 Pro Solid:size=14;4.5
-font-4 = Font Awesome 5 Pro Regular:size=14;4.5
modules-left = i3
-modules-center =
-modules-right = xkeyboard pulseaudio battery date
+modules-center =
+modules-right = xkeyboard pulseaudio date
tray-position = right
tray-padding = 2
@@ -67,7 +65,7 @@ label-layout-background = ${colors.background-alt}
label-indicator-padding = 2
label-indicator-margin = 0
-label-indicator-background = #bc99ed
+label-indicator-background = ${colors.alert}
label-indicator-foreground = #000
@@ -162,13 +160,12 @@ ramp-capacity-3 = " "
ramp-capacity-4 = " "
-
[module/date]
type = internal/date
interval = 5
date-alt = ""
-date = "%a %b %d "
+date = " %a, %b %d "
time-alt = "%H:%M"
time = "%H:%M"