Indent for css of waybar, deletion of ufo-nvim

This commit is contained in:
Sergio Laín 2023-09-10 17:32:27 +02:00
parent ae2f288e9f
commit 246829eabd
5 changed files with 54 additions and 75 deletions

View file

@ -38,7 +38,6 @@ decoration {
shadow_offset= 9 9 1 1 shadow_offset= 9 9 1 1
} }
animations { animations {
enabled=1 enabled=1

View file

@ -47,7 +47,7 @@
"neodev.nvim": { "branch": "main", "commit": "f0e574687aa51c513017155f003e8e8950ec6ff4" }, "neodev.nvim": { "branch": "main", "commit": "f0e574687aa51c513017155f003e8e8950ec6ff4" },
"neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" }, "neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" },
"neotest": { "branch": "master", "commit": "1e67a504d03def3a6a1125d934cb511680f72555" }, "neotest": { "branch": "master", "commit": "1e67a504d03def3a6a1125d934cb511680f72555" },
"neotest-go": { "branch": "main", "commit": "f2580cad67ef0181403cf65858ab638ffd3ede9f" }, "neotest-go": { "branch": "main", "commit": "1a15e1136db43775214a3e7a598f8930c29c94b7" },
"neotest-python": { "branch": "master", "commit": "81d2265efac717bb567bc15cc652ae10801286b3" }, "neotest-python": { "branch": "master", "commit": "81d2265efac717bb567bc15cc652ae10801286b3" },
"neotest-rust": { "branch": "main", "commit": "dd49d0de3a4ccde0c8ce99dbae9e7b04bcdbfc85" }, "neotest-rust": { "branch": "main", "commit": "dd49d0de3a4ccde0c8ce99dbae9e7b04bcdbfc85" },
"noice.nvim": { "branch": "main", "commit": "74c2902146b080035beb19944baf6f014a954720" }, "noice.nvim": { "branch": "main", "commit": "74c2902146b080035beb19944baf6f014a954720" },
@ -67,12 +67,11 @@
"nvim-regexplainer": { "branch": "main", "commit": "4250c8f3c1307876384e70eeedde5149249e154f" }, "nvim-regexplainer": { "branch": "main", "commit": "4250c8f3c1307876384e70eeedde5149249e154f" },
"nvim-scrollview": { "branch": "main", "commit": "b0737d036cfbb39e066d144702197eda0a4b6cf1" }, "nvim-scrollview": { "branch": "main", "commit": "b0737d036cfbb39e066d144702197eda0a4b6cf1" },
"nvim-spectre": { "branch": "master", "commit": "411cee67fe3f8242023eb8d9edafefbbfb2d06f1" }, "nvim-spectre": { "branch": "master", "commit": "411cee67fe3f8242023eb8d9edafefbbfb2d06f1" },
"nvim-treesitter": { "branch": "master", "commit": "b6492f41c46d9c3bc3550ecfb10c3f261e73cba6" }, "nvim-treesitter": { "branch": "master", "commit": "d5f57cd4794d8f0a541f140229e5764e2f41d63a" },
"nvim-treesitter-context": { "branch": "master", "commit": "b6c763db8cc486215ba96e0a67418848a710ab25" }, "nvim-treesitter-context": { "branch": "master", "commit": "b6c763db8cc486215ba96e0a67418848a710ab25" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "bd103502252027434ec42f628d2dbf54821d4ce6" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "bd103502252027434ec42f628d2dbf54821d4ce6" },
"nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" }, "nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "9bff161dfece6ecf3459e6e46ca42e49f9ed939f" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "9bff161dfece6ecf3459e6e46ca42e49f9ed939f" },
"nvim-ufo": { "branch": "main", "commit": "890b94870f052773d77175d07a51f2e083210632" },
"nvim-web-devicons": { "branch": "master", "commit": "ecdeb4e2a4af34fc873bbfbf1f4c4e447e632255" }, "nvim-web-devicons": { "branch": "master", "commit": "ecdeb4e2a4af34fc873bbfbf1f4c4e447e632255" },
"overseer.nvim": { "branch": "master", "commit": "c6ec203ddbdfe352e54cbc577f5db911dbb7db55" }, "overseer.nvim": { "branch": "master", "commit": "c6ec203ddbdfe352e54cbc577f5db911dbb7db55" },
"package-info.nvim": { "branch": "master", "commit": "4d98c8cc90d970d87c472c04bf7ca712336cc753" }, "package-info.nvim": { "branch": "master", "commit": "4d98c8cc90d970d87c472c04bf7ca712336cc753" },
@ -80,7 +79,6 @@
"plenary.nvim": { "branch": "master", "commit": "0232372b906f275f76ac42029eba25eaf95e76b9" }, "plenary.nvim": { "branch": "master", "commit": "0232372b906f275f76ac42029eba25eaf95e76b9" },
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" }, "presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" }, "project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
"promise-async": { "branch": "main", "commit": "e94f35161b8c5d4a4ca3b6ff93dd073eb9214c0e" },
"refactoring.nvim": { "branch": "master", "commit": "2ec9bc0fb5f3c8c6a0f776f0159dd2a3b1663554" }, "refactoring.nvim": { "branch": "master", "commit": "2ec9bc0fb5f3c8c6a0f776f0159dd2a3b1663554" },
"rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" }, "rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" },
"smart-splits.nvim": { "branch": "master", "commit": "7aad6019dee974a01333523a5b8e122b7e7da454" }, "smart-splits.nvim": { "branch": "master", "commit": "7aad6019dee974a01333523a5b8e122b7e7da454" },

View file

@ -145,6 +145,3 @@ vim.api.nvim_set_keymap(
vim.keymap.set({ "n", "x" }, "<leader>cR", function() vim.keymap.set({ "n", "x" }, "<leader>cR", function()
require("telescope").extensions.refactoring.refactors() require("telescope").extensions.refactoring.refactors()
end, { noremap = true, silent = true, desc = "Refactor" }) end, { noremap = true, silent = true, desc = "Refactor" })
vim.keymap.set("n", "zR", require("ufo").openAllFolds)
vim.keymap.set("n", "zM", require("ufo").closeAllFolds)

View file

@ -1,14 +0,0 @@
return {
{
"kevinhwang91/nvim-ufo",
config = function()
require("ufo").setup({
provider_selector = function(bufnr, filetype, buftype)
return { "treesitter", "indent" }
end,
})
end,
dependencies = "kevinhwang91/promise-async",
event = { "BufRead", "BufNewFile" },
},
}

View file

@ -44,42 +44,40 @@
border: 2px solid rgba(183, 189, 248, 0.5); border: 2px solid rgba(183, 189, 248, 0.5);
box-shadow: 3px 3px 1px 1px #181926; box-shadow: 3px 3px 1px 1px #181926;
background-clip: padding-box; background-clip: padding-box;
} }
/* Window */ /* Window */
window#waybar { window#waybar {
color: #cad3f5; color: #cad3f5;
background: transparent; background: transparent;
color: #cdd6f4; color: #cdd6f4;
} }
window#waybar.hidded { window#waybar.hidded {
opacity: 0.0; opacity: 0;
} }
/* Workspaces */ /* Workspaces */
#workspaces * { #workspaces * {
font-size: 13px; font-size: 13px;
} }
#workspaces button label{ #workspaces button label {
color: #b7bdf8 ; color: #b7bdf8;
font-weight: bolder; font-weight: bolder;
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.68); transition: all 0.5s cubic-bezier(0.55, -0.68, 0.48, 1.68);
} }
#workspaces button.active label{ #workspaces button.active label {
color: #24273a; color: #24273a;
font-weight: bolder; font-weight: bolder;
} }
#workspaces button.urgent label{ #workspaces button.urgent label {
color: #e06c75; color: #e06c75;
font-weight: bolder; font-weight: bolder;
} }
#workspaces{ #workspaces {
background-color: #24273a; background-color: #24273a;
padding: 0 10px; padding: 0 10px;
margin: 2px 4px 5px 4px; margin: 2px 4px 5px 4px;
@ -89,31 +87,31 @@ window#waybar.hidded {
background-clip: padding-box; background-clip: padding-box;
} }
#workspaces button{ #workspaces button {
box-shadow: rgba(0, 0, 0, 0.116) 2 2 5 2px; box-shadow: rgba(0, 0, 0, 0.116) 2 2 5 2px;
background-color: #24273a ; background-color: #24273a;
border-radius: 15px; border-radius: 15px;
margin-right: 3px; margin-right: 3px;
margin-left: 3px; margin-left: 3px;
padding: 0 5px; padding: 0 5px;
font-weight: bolder; font-weight: bolder;
min-width: 20px; min-width: 20px;
color: #24273a; color: #24273a;
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.68); transition: all 0.5s cubic-bezier(0.55, -0.68, 0.48, 1.68);
} }
#workspaces button.active{ #workspaces button.active {
padding-right: 6px; padding-right: 6px;
padding-left: 6px; padding-left: 6px;
box-shadow: rgba(0, 0, 0, 0.288) 2 2 5 2px; box-shadow: rgba(0, 0, 0, 0.288) 2 2 5 2px;
padding-bottom: 3px; padding-bottom: 3px;
margin-top: 5px; margin-top: 5px;
margin-bottom: 5px; margin-bottom: 5px;
background: #cad3f5; background: #cad3f5;
background-size: 100% 200%; background-size: 100% 200%;
animation: gradient_f 20s ease-in-out infinite; animation: gradient_f 20s ease-in-out infinite;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); transition: all 0.3s cubic-bezier(0.55, -0.68, 0.48, 1.682);
color: #c678dd; color: #c678dd;
} }
#workspaces button:hover { #workspaces button:hover {
@ -124,7 +122,7 @@ window#waybar.hidded {
background-color: #24273a; background-color: #24273a;
} }
#workspaces button.focused:hover label{ #workspaces button.focused:hover label {
color: #cad3f5; color: #cad3f5;
} }
@ -132,13 +130,13 @@ window#waybar.hidded {
#cpu { #cpu {
background-color: #24273a; background-color: #24273a;
color: #8aadf4; color: #8aadf4;
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.68); transition: all 0.5s cubic-bezier(0.55, -0.68, 0.48, 1.68);
} }
#memory { #memory {
background-color: #24273a; background-color: #24273a;
color: #a6da95; color: #a6da95;
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.68); transition: all 0.5s cubic-bezier(0.55, -0.68, 0.48, 1.68);
} }
#custom-notifications { #custom-notifications {
@ -183,7 +181,7 @@ window#waybar.hidded {
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.377); text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.377);
font-weight: bold; font-weight: bold;
color: #1e2030; color: #1e2030;
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); transition: all 0.3s cubic-bezier(0.55, -0.68, 0.48, 1.682);
} }
#custom-fans { #custom-fans {
@ -225,29 +223,30 @@ window#waybar.hidded {
color: #98c379; color: #98c379;
} }
#battery.charging, #battery.plugged { #battery.charging,
#battery.plugged {
background-color: #98c379; background-color: #98c379;
color: #1e222a; color: #1e222a;
} }
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background-color: #e06c75; background-color: #e06c75;
color: #1e222a; color: #1e222a;
animation-name: blink; animation-name: blink;
animation-duration: 0.5s; animation-duration: 0.5s;
animation-timing-function: linear; animation-timing-function: linear;
animation-iteration-count: infinite; animation-iteration-count: infinite;
animation-direction: alternate; animation-direction: alternate;
} }
#network { #network {
background-color: #24273a; background-color: #24273a;
color: #8bd5ca color: #8bd5ca;
} }
#network.disconnected { #network.disconnected {
background-color: #ed8796; background-color: #ed8796;
color: #1e222a; color: #1e222a;
} }
#custom-notifications { #custom-notifications {
@ -258,7 +257,7 @@ window#waybar.hidded {
@keyframes blink { @keyframes blink {
to { to {
background-color: #24273a; background-color: #24273a;
color: #e06c75; color: #e06c75;
} }
} }