0% found this document useful (0 votes)
11 views3 pages

Arch Togo

Uploaded by

swangyi847
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

Arch Togo

Uploaded by

swangyi847
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

{

"layer": "top",
"position": "top",
"height": 30,
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["network", "cpu", "memory", "temperature", "battery",
"clock"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"clock": {
"format": "{:%H:%M}"
},
"network": {
"format-wifi": "{essid} ({signalStrength}%)",
"format-ethernet": "{ipaddr}/{cidr}",
"format-disconnected": "Disconnected"
},
"cpu": {
"format": "{usage}%"
},
"memory": {
"format": "{}%"
},
"temperature": {
"format": "{temperatureC}°C"
},
"battery": {
"format": "{capacity}% {icon}",
 "", "", "", ""]
"format-icons": ["",
}
}

sh -c "$(curl -fsSL
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

return {
-- Add your plugins here
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
-- LSP servers
"html-lsp",
"css-lsp",
"tsserver",
"prettier",
"emmet-ls",
},
},
},

-- LSP configuration
{
"neovim/nvim-lspconfig",
config = function()
require("lspconfig").html.setup {}
require("lspconfig").cssls.setup {}
require("lspconfig").tsserver.setup {}
end,
},

-- Autocompletion
{
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"hrsh7th/cmp-nvim-lsp",
},
},

-- Live server
{
"turbio/neovim-live-server",
cmd = "LiveServerStart",
config = function()
vim.keymap.set("n", "<leader>ls", ":LiveServerStart<CR>", { noremap =
true, silent = true })
end,
},

-- Prettier (code formatting)


{
"MunifTanjim/prettier.nvim",
config = function()
require("prettier").setup {
bin = "prettier", -- or "prettierd"
filetypes = {
"css",
"javascript",
"typescript",
"html",
},
}
vim.keymap.set("n", "<leader>p", ":Prettier<CR>", { noremap = true, silent
= true })
end,
},

-- Emmet for HTML/CSS shortcuts


{
"mattn/emmet-vim",
ft = { "html", "css" },
config = function()
vim.g.user_emmet_mode = "n"
vim.g.user_emmet_leader_key = "<C-y>"
end,
},

-- Color highlighting
{
"norcalli/nvim-colorizer.lua",
config = function()
require("colorizer").setup()
end,
},
}

You might also like