diff --git a/backup/home/wynd/.config/btop/btop.conf b/backup/home/wynd/.config/btop/btop.conf index fc0f1c0..e07b7c1 100644 --- a/backup/home/wynd/.config/btop/btop.conf +++ b/backup/home/wynd/.config/btop/btop.conf @@ -47,7 +47,7 @@ graph_symbol_net = "default" graph_symbol_proc = "default" #* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. -shown_boxes = "cpu proc mem" +shown_boxes = "cpu mem proc" #* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. update_ms = 1000 @@ -69,7 +69,7 @@ proc_colors = True proc_gradient = True #* If process cpu usage should be of the core it's running on or usage of the total available cpu power. -proc_per_core = True +proc_per_core = False #* Show process memory as bytes instead of percent. proc_mem_bytes = True diff --git a/backup/home/wynd/.config/nvim/after/ftplugin/markdown.lua b/backup/home/wynd/.config/nvim/after/ftplugin/markdown.lua index 1cbc8f2..d0c4757 100644 --- a/backup/home/wynd/.config/nvim/after/ftplugin/markdown.lua +++ b/backup/home/wynd/.config/nvim/after/ftplugin/markdown.lua @@ -20,3 +20,13 @@ for _, f in ipairs(conform.list_formatters(bufnr)) do break end end + +-- without this autocmd `detach_from_buffer` wont work as it won't have any buffer to detach from +vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, { + pattern = { "*.md" }, + callback = function() + local colorizer = require("colorizer") + + colorizer.detach_from_buffer(bufnr) + end, +}) diff --git a/backup/home/wynd/.config/nvim/lazy-lock.json b/backup/home/wynd/.config/nvim/lazy-lock.json index c288f13..15c267f 100644 --- a/backup/home/wynd/.config/nvim/lazy-lock.json +++ b/backup/home/wynd/.config/nvim/lazy-lock.json @@ -15,6 +15,7 @@ "mini.map": { "branch": "main", "commit": "32a3a5d9a7c074dbb0a4a1d5943d09cb8edbab3f" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "f3df514fff2bdd4318127c40470984137f87b62e" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "338409dd8a6ed74767bad3eb5269f1b903ffb3cf" }, "nvim-lsp-file-operations": { "branch": "master", "commit": "b9c795d3973e8eec22706af14959bc60c579e771" }, "nvim-lspconfig": { "branch": "master", "commit": "92ee7d42320edfbb81f3cad851314ab197fa324a" }, "nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" }, diff --git a/backup/home/wynd/.config/nvim/lua/nvwynd/plugins/ui.lua b/backup/home/wynd/.config/nvim/lua/nvwynd/plugins/ui.lua index 48fe529..d7478e6 100644 --- a/backup/home/wynd/.config/nvim/lua/nvwynd/plugins/ui.lua +++ b/backup/home/wynd/.config/nvim/lua/nvwynd/plugins/ui.lua @@ -31,6 +31,9 @@ return { { "rcarriga/nvim-notify", + init = function() + vim.notify = require("notify") + end, opts = {}, }, diff --git a/backup/home/wynd/.config/nvim/lua/nvwynd/plugins/util.lua b/backup/home/wynd/.config/nvim/lua/nvwynd/plugins/util.lua index b6a50f1..6c3b67a 100644 --- a/backup/home/wynd/.config/nvim/lua/nvwynd/plugins/util.lua +++ b/backup/home/wynd/.config/nvim/lua/nvwynd/plugins/util.lua @@ -89,6 +89,12 @@ return { config = {}, }, + { + "catgoose/nvim-colorizer.lua", + event = "BufReadPre", + opts = {}, + }, + -- { -- "3rd/image.nvim", -- event = "VeryLazy",