This commit is contained in:
Sergey 2026-01-01 22:58:38 +04:00
parent c842933094
commit dc557284b6
3 changed files with 36 additions and 14 deletions

View File

@ -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
}

View File

@ -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)

View File

@ -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;