From 246829eabdeb66a5edb92c87b513fb67f1e19196 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 10 Sep 2023 17:32:27 +0200 Subject: [PATCH] Indent for css of waybar, deletion of ufo-nvim --- .config/hypr/themes/luna/theme.conf | 1 - .config/nvim/lazy-lock.json | 6 +- .config/nvim/lua/config/keymaps.lua | 3 - .config/nvim/lua/plugins/ufo.lua | 14 ---- .config/waybar/style.css | 105 ++++++++++++++-------------- 5 files changed, 54 insertions(+), 75 deletions(-) delete mode 100644 .config/nvim/lua/plugins/ufo.lua diff --git a/.config/hypr/themes/luna/theme.conf b/.config/hypr/themes/luna/theme.conf index 4a42a802..409bdc59 100644 --- a/.config/hypr/themes/luna/theme.conf +++ b/.config/hypr/themes/luna/theme.conf @@ -38,7 +38,6 @@ decoration { shadow_offset= 9 9 1 1 } - animations { enabled=1 diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 10c4ae7f..fffe9241 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -47,7 +47,7 @@ "neodev.nvim": { "branch": "main", "commit": "f0e574687aa51c513017155f003e8e8950ec6ff4" }, "neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" }, "neotest": { "branch": "master", "commit": "1e67a504d03def3a6a1125d934cb511680f72555" }, - "neotest-go": { "branch": "main", "commit": "f2580cad67ef0181403cf65858ab638ffd3ede9f" }, + "neotest-go": { "branch": "main", "commit": "1a15e1136db43775214a3e7a598f8930c29c94b7" }, "neotest-python": { "branch": "master", "commit": "81d2265efac717bb567bc15cc652ae10801286b3" }, "neotest-rust": { "branch": "main", "commit": "dd49d0de3a4ccde0c8ce99dbae9e7b04bcdbfc85" }, "noice.nvim": { "branch": "main", "commit": "74c2902146b080035beb19944baf6f014a954720" }, @@ -67,12 +67,11 @@ "nvim-regexplainer": { "branch": "main", "commit": "4250c8f3c1307876384e70eeedde5149249e154f" }, "nvim-scrollview": { "branch": "main", "commit": "b0737d036cfbb39e066d144702197eda0a4b6cf1" }, "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-textobjects": { "branch": "master", "commit": "bd103502252027434ec42f628d2dbf54821d4ce6" }, "nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "9bff161dfece6ecf3459e6e46ca42e49f9ed939f" }, - "nvim-ufo": { "branch": "main", "commit": "890b94870f052773d77175d07a51f2e083210632" }, "nvim-web-devicons": { "branch": "master", "commit": "ecdeb4e2a4af34fc873bbfbf1f4c4e447e632255" }, "overseer.nvim": { "branch": "master", "commit": "c6ec203ddbdfe352e54cbc577f5db911dbb7db55" }, "package-info.nvim": { "branch": "master", "commit": "4d98c8cc90d970d87c472c04bf7ca712336cc753" }, @@ -80,7 +79,6 @@ "plenary.nvim": { "branch": "master", "commit": "0232372b906f275f76ac42029eba25eaf95e76b9" }, "presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" }, "project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" }, - "promise-async": { "branch": "main", "commit": "e94f35161b8c5d4a4ca3b6ff93dd073eb9214c0e" }, "refactoring.nvim": { "branch": "master", "commit": "2ec9bc0fb5f3c8c6a0f776f0159dd2a3b1663554" }, "rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" }, "smart-splits.nvim": { "branch": "master", "commit": "7aad6019dee974a01333523a5b8e122b7e7da454" }, diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua index 487302c6..7798f8f3 100644 --- a/.config/nvim/lua/config/keymaps.lua +++ b/.config/nvim/lua/config/keymaps.lua @@ -145,6 +145,3 @@ vim.api.nvim_set_keymap( vim.keymap.set({ "n", "x" }, "cR", function() require("telescope").extensions.refactoring.refactors() end, { noremap = true, silent = true, desc = "Refactor" }) - -vim.keymap.set("n", "zR", require("ufo").openAllFolds) -vim.keymap.set("n", "zM", require("ufo").closeAllFolds) diff --git a/.config/nvim/lua/plugins/ufo.lua b/.config/nvim/lua/plugins/ufo.lua deleted file mode 100644 index 4acaca12..00000000 --- a/.config/nvim/lua/plugins/ufo.lua +++ /dev/null @@ -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" }, - }, -} diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 5c445aa4..d66b34d7 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -44,42 +44,40 @@ border: 2px solid rgba(183, 189, 248, 0.5); box-shadow: 3px 3px 1px 1px #181926; background-clip: padding-box; - } /* Window */ window#waybar { color: #cad3f5; background: transparent; - color: #cdd6f4; - + color: #cdd6f4; } window#waybar.hidded { - opacity: 0.0; + opacity: 0; } /* Workspaces */ #workspaces * { font-size: 13px; } -#workspaces button label{ - color: #b7bdf8 ; - font-weight: bolder; - transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.68); +#workspaces button label { + color: #b7bdf8; + font-weight: bolder; + transition: all 0.5s cubic-bezier(0.55, -0.68, 0.48, 1.68); } -#workspaces button.active label{ - color: #24273a; - font-weight: bolder; +#workspaces button.active label { + color: #24273a; + font-weight: bolder; } -#workspaces button.urgent label{ +#workspaces button.urgent label { color: #e06c75; font-weight: bolder; } -#workspaces{ +#workspaces { background-color: #24273a; padding: 0 10px; margin: 2px 4px 5px 4px; @@ -89,31 +87,31 @@ window#waybar.hidded { background-clip: padding-box; } -#workspaces button{ - box-shadow: rgba(0, 0, 0, 0.116) 2 2 5 2px; - background-color: #24273a ; - border-radius: 15px; - margin-right: 3px; - margin-left: 3px; - padding: 0 5px; - font-weight: bolder; - min-width: 20px; - color: #24273a; - transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.68); +#workspaces button { + box-shadow: rgba(0, 0, 0, 0.116) 2 2 5 2px; + background-color: #24273a; + border-radius: 15px; + margin-right: 3px; + margin-left: 3px; + padding: 0 5px; + font-weight: bolder; + min-width: 20px; + color: #24273a; + transition: all 0.5s cubic-bezier(0.55, -0.68, 0.48, 1.68); } -#workspaces button.active{ - padding-right: 6px; - padding-left: 6px; - box-shadow: rgba(0, 0, 0, 0.288) 2 2 5 2px; - padding-bottom: 3px; - margin-top: 5px; - margin-bottom: 5px; - background: #cad3f5; - background-size: 100% 200%; - animation: gradient_f 20s ease-in-out infinite; - transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); - color: #c678dd; +#workspaces button.active { + padding-right: 6px; + padding-left: 6px; + box-shadow: rgba(0, 0, 0, 0.288) 2 2 5 2px; + padding-bottom: 3px; + margin-top: 5px; + margin-bottom: 5px; + background: #cad3f5; + background-size: 100% 200%; + animation: gradient_f 20s ease-in-out infinite; + transition: all 0.3s cubic-bezier(0.55, -0.68, 0.48, 1.682); + color: #c678dd; } #workspaces button:hover { @@ -124,7 +122,7 @@ window#waybar.hidded { background-color: #24273a; } -#workspaces button.focused:hover label{ +#workspaces button.focused:hover label { color: #cad3f5; } @@ -132,13 +130,13 @@ window#waybar.hidded { #cpu { background-color: #24273a; 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 { background-color: #24273a; 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 { @@ -183,7 +181,7 @@ window#waybar.hidded { text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.377); font-weight: bold; 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 { @@ -225,29 +223,30 @@ window#waybar.hidded { color: #98c379; } -#battery.charging, #battery.plugged { +#battery.charging, +#battery.plugged { background-color: #98c379; color: #1e222a; } #battery.critical:not(.charging) { - background-color: #e06c75; - color: #1e222a; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; + background-color: #e06c75; + color: #1e222a; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; } #network { background-color: #24273a; - color: #8bd5ca + color: #8bd5ca; } #network.disconnected { - background-color: #ed8796; - color: #1e222a; + background-color: #ed8796; + color: #1e222a; } #custom-notifications { @@ -258,7 +257,7 @@ window#waybar.hidded { @keyframes blink { to { background-color: #24273a; - color: #e06c75; + color: #e06c75; } } @@ -298,4 +297,4 @@ window#waybar.hidded { 100% { background-position: 200% 200%; } -} \ No newline at end of file +}