Files
dotfiles-sway/nvim/init.lua
T
pyrschtjag a213b10a88 Initial commit: sway + uwsm desktop dotfiles
Nord-themed Wayland setup on sway (via uwsm), including:

- sway/swayidle/swaylock/swaddle — WM, idle/lock/inhibit
- waybar, rofi — bar and launcher
- dunst — notifications
- foot — terminal
- zsh (+fzf, syntax highlighting, autosuggestions) — shell
- mpd/rmpc/mpc, mpv — music and video
- nvim — editor (lazy.nvim)
- ly — login manager
- rbw + pinentry-rofi wrapper — Bitwarden/Vaultwarden CLI
- per-window-layout, clipvault — helper systemd services
2026-08-11 10:30:07 +04:00

142 lines
3.1 KiB
Lua

require('core.configs')
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{
"shaunsingh/nord.nvim",
lazy = false,
priority = 1000,
config = function()
vim.cmd("colorscheme nord")
end,
},
{
"NvChad/nvim-colorizer.lua",
opts = {
filetypes = { "*" },
user_default_options = {
RGB = true,
RRGGBB = true,
names = false,
RRGGBBAA = true,
css = true,
mode = "background",
},
},
},
{
"MeanderingProgrammer/render-markdown.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" },
ft = { "markdown" },
opts = {},
},
{
"nvim-tree/nvim-tree.lua",
version = "*",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
require("nvim-tree").setup({
view = { side = "left", width = 30 },
})
end,
},
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
if not status_ok then
return
end
configs.setup({
ensure_installed = { "python", "bash", "lua", "vim", "markdown" },
highlight = { enable = true },
})
end,
},
{
"lewis6991/gitsigns.nvim",
opts = {},
},
{
"akinsho/bufferline.nvim",
version = "*",
dependencies = "nvim-tree/nvim-web-devicons",
config = function()
require("bufferline").setup({
options = {
mode = "buffers",
separator_style = "thick",
diagnostics = "nvim_lsp",
enforce_regular_tabs = true,
tab_size = 14,
},
highlights = {
fill = {
bg = "#2e3440",
},
background = {
bg = "#2e3440",
fg = "#eceff4",
},
buffer_selected = {
bg = "#3b4252",
fg = "#eceff4",
bold = false,
italic = false,
},
close_button_selected = {
bg = "#3b4252",
fg = "#eceff4",
},
close_button = {
bg = "#2e3440",
fg = "#4c566a",
},
close_button_visible = {
bg = "#2e3440",
fg = "#4c566a",
},
separator = {
bg = "#2e3440",
fg = "#2e3440",
},
separator_selected = {
bg = "#3b4252",
fg = "#3b4252",
},
indicator_selected = {
bg = "#3b4252",
fg = "#88c0d0",
},
modified_selected = {
bg = "#3b4252",
fg = "#a3be8c",
},
modified = {
bg = "#2e3440",
fg = "#4c566a",
},
modified_visible = {
bg = "#2e3440",
fg = "#4c566a",
},
},
})
end,
},
})