From dc557284b6b5609665f0d1a6166c172d16eb108e Mon Sep 17 00:00:00 2001 From: Sergey Besedin Date: Thu, 1 Jan 2026 22:58:38 +0400 Subject: [PATCH] Update --- config/kanshi/config | 15 +++++++++++++++ config/nvim/init.vim | 27 +++++++++++++++++---------- config/waybar/style.css | 8 ++++---- 3 files changed, 36 insertions(+), 14 deletions(-) diff --git a/config/kanshi/config b/config/kanshi/config index c3da362..d668432 100644 --- a/config/kanshi/config +++ b/config/kanshi/config @@ -10,3 +10,18 @@ profile "with kamwas" { exec swaymsg focus output DP-2 } + + + +profile "laptop" { + output eDP-1 enable position 0,0 + + exec swaymsg focus output eDP-1 +} + +profile "laptop with kamwas" { + output eDP-1 enable position 0,0 + output HDMI-A-1 enable position 2560,0 + + exec swaymsg focus output eDP-1 +} diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 33afa37..f43d5ed 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -278,6 +278,7 @@ local servers = { 'clangd', 'erlangls', 'eslint', + 'elixirls', 'gdscript', -- 'ruby_lsp', 'solargraph', @@ -291,24 +292,26 @@ local servers = { local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities) -vim.lsp['*'] = { +vim.lsp.config('*', { flags = { debounce_text_changes = 500, }, on_attach = on_attach, capabilities = capabilities, root_markers = { '.git' }, -} +}) -for _, lsp in ipairs(servers) do - vim.lsp.enable(lsp) -end - -vim.lsp['elixirls'] = { +vim.lsp.config('elixirls', { cmd = { "elixir-ls" }, on_attach = on_attach, capabilities = capabilities -} +}) + +vim.lsp.config('gdscript', { + -- cmd = { "godot", "--editor", "--headless", "--lsp-port", "6005"}, + on_attach = on_attach, + capabilities = capabilities +}) -- vim.lsp['rust_analyzer'] = { -- cmd = { "rust-analyzer" }, @@ -330,7 +333,7 @@ vim.lsp['elixirls'] = { -- } -- } -vim.lsp.config['tailwindcss'] = { +vim.lsp.config('tailwindcss', { on_attach = on_attach, capabilities = capabilities, settings = { @@ -338,7 +341,7 @@ vim.lsp.config['tailwindcss'] = { emmetCompletions = true, } } -} +}) -- require('rust-tools').setup({ -- tools = { -- rust-tools options @@ -371,6 +374,10 @@ vim.lsp.config['tailwindcss'] = { -- }, -- }) +for _, lsp in ipairs(servers) do + vim.lsp.enable(lsp) +end + -- textDocument/diagnostic support until 0.10.0 is released _timers = {} local function setup_diagnostics(client, buffer) diff --git a/config/waybar/style.css b/config/waybar/style.css index 26fb424..f49a222 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -104,14 +104,14 @@ min-height: 0; margin: 0; padding: 0; - font-family: "Iosevka Custom"; + font-family: "Noto Sans"; } /* The whole bar */ window#waybar { background: @bg0_h; color: @theme_text_color; - font-size: 12px; + font-size: 14px; } /* Each module */ @@ -255,7 +255,7 @@ window#waybar { } #custom-taskwarrior { - background-color: @warning_color; + background-color: @green1; color: @theme_base_color; font-weight: bold; padding-left: 10px; @@ -263,7 +263,7 @@ window#waybar { } #custom-playerctl { - background-color: @aqua1; + background-color: @blue1; color: @theme_base_color; font-weight: bold; padding-left: 10px;