diff --git a/config/hypr/.current_wallpaper b/config/hypr/.current_wallpaper deleted file mode 120000 index 28d0e80c..00000000 --- a/config/hypr/.current_wallpaper +++ /dev/null @@ -1 +0,0 @@ -/home/sankalp/Pictures/wallpapers/43.jpg \ No newline at end of file diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 4962b166..7dae6f8c 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -52,11 +52,6 @@ main() { # Random choice case if [ "$choice" = "$RANDOM_PIC_NAME" ]; then swww img "${DIR}/${RANDOM_PIC}" $SWWW_PARAMS - - # Create symbolic link - ln -sf "${DIR}/${RANDOM_PIC}" "$HOME/.config/hypr/.current_wallpaper" - - notify-send "Wallpaper Changed" -i "${DIR}/${RANDOM_PIC}" exit 0 fi @@ -72,14 +67,7 @@ main() { if [[ $pic_index -ne -1 ]]; then swww img "${DIR}/${PICS[$pic_index]}" $SWWW_PARAMS - - # Create symbolic link - ln -sf "${DIR}/${PICS[$pic_index]}" "$HOME/.config/hypr/.current_wallpaper" - - notify-send "Wallpaper Changed" -i "${DIR}/${PICS[$pic_index]}" else - notify-send "Wallpaper Changed" -i "Image not found." - exit 1 fi } @@ -92,5 +80,4 @@ fi main -sleep 0.5 ${SCRIPTSDIR}/Linker.sh diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 2d23c502..222a53ba 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -7,7 +7,7 @@ # Variables scriptsDir=$HOME/.config/hypr/scripts -wallpaper=$HOME/.config/Pictures/wallpapers/3.jpg +wallpaper=$HOME/Pictures/wallpapers/3.jpg kvantum_theme="Tokyo-Night" swww="swww img" diff --git a/config/hypr/scripts/Linker.sh b/config/hypr/scripts/Linker.sh index 01a47ba6..a7f4ae10 100755 --- a/config/hypr/scripts/Linker.sh +++ b/config/hypr/scripts/Linker.sh @@ -17,7 +17,7 @@ for cache_file in "${monitor_outputs[@]}"; do wallpaper_path=$(<"$cache_file") # Copy the wallpaper to the location Rofi can access - if ln -sf "$wallpaper_path" "$HOME/.config/hypr/.current_wallpaper"; then + if ln -sf "$wallpaper_path" "$HOME/.config/rofi/.current_wallpaper"; then ln_success=true # Set the flag to true upon successful execution break # Exit the loop after processing the first found monitor output fi diff --git a/config/nvim/.github/README.md b/config/nvim/.github/README.md index e250f9a6..cda002ae 100644 --- a/config/nvim/.github/README.md +++ b/config/nvim/.github/README.md @@ -1,5 +1,3 @@ - - # :herb: ‎ About @@ -161,6 +159,7 @@ - [monaqa/dial.nvim](https://dotfyle.com/plugins/monaqa/dial.nvim) - [chrisgrieser/nvim-various-textobjs](https://dotfyle.com/plugins/chrisgrieser/nvim-various-textobjs) + - [johmsalas/text-case.nvim](https://dotfyle.com/plugins/johmsalas/text-case.nvim) - [ckolkey/ts-node-action](https://dotfyle.com/plugins/ckolkey/ts-node-action) - [debugloop/telescope-undo.nvim](https://dotfyle.com/plugins/debugloop/telescope-undo.nvim) - [echasnovski/mini.pairs](https://dotfyle.com/plugins/echasnovski/mini.pairs) diff --git a/config/nvim/lazy-lock.json b/config/nvim/lazy-lock.json index 52fa63d8..53733938 100644 --- a/config/nvim/lazy-lock.json +++ b/config/nvim/lazy-lock.json @@ -1,7 +1,7 @@ { "LazyVim": { "branch": "main", "commit": "879e29504d43e9f178d967ecc34d482f902e5a91" }, "LuaSnip": { "branch": "master", "commit": "82108e7e31cc6fc223cc5df5cae6d89f70bb199f" }, - "SchemaStore.nvim": { "branch": "main", "commit": "fcb1522fefd0f9029b7dc71aa2664d2d0ead0fb3" }, + "SchemaStore.nvim": { "branch": "main", "commit": "aa03f815694c003892bb80efcf4d7c33aea3e009" }, "actions-preview.nvim": { "branch": "master", "commit": "dd63df1a4ed0ffe1458945ee50ecb1dd02b605ab" }, "animation.nvim": { "branch": "main", "commit": "fb77091ab72ec9971aee0562e7081182527aaa6a" }, "autolist.nvim": { "branch": "main", "commit": "5f70a5f99e96c8fe3069de042abd2a8ed2deb855" }, @@ -15,7 +15,7 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "codeium.vim": { "branch": "main", "commit": "4063291e335e74e9ee2be04beb47d40b376312fa" }, - "comment-box.nvim": { "branch": "main", "commit": "a4312e3a169ed532d6df780c32446d2de9bf15cc" }, + "comment-box.nvim": { "branch": "main", "commit": "10e28f36e2a2a4aca61441ba7223e3ed96770efc" }, "compiler.nvim": { "branch": "main", "commit": "e82a48e9528edc769b1329b753eb9e3926f25595" }, "conform.nvim": { "branch": "master", "commit": "75e7c5c7eb5fbd53f8b12dc420b31ec70770b231" }, "crates.nvim": { "branch": "main", "commit": "330d8049f1d359dad28c93ea2664b4823643b7db" }, @@ -23,7 +23,7 @@ "debugprint.nvim": { "branch": "main", "commit": "13378f67edc112bf0d043bc0c018f8923dc2198d" }, "dial.nvim": { "branch": "master", "commit": "27eb570085db2ef44bff4f620d3806039184651c" }, "diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" }, - "dooku.nvim": { "branch": "main", "commit": "1f0d61b3c9930c694d0b462795a321fd3d80a0ef" }, + "dooku.nvim": { "branch": "main", "commit": "623ef23ad0bc29c124d7a466ab9b9aeb4331f9e7" }, "dressing.nvim": { "branch": "master", "commit": "94b0d24483d56f3777ee0c8dc51675f21709318c" }, "dropbar.nvim": { "branch": "master", "commit": "bfba257774f78de384cca898d88cc1bb14c5a228" }, "edgy.nvim": { "branch": "main", "commit": "8355be45610afdf79a0bab32b91ee297997455b4" }, @@ -37,7 +37,7 @@ "headlines.nvim": { "branch": "master", "commit": "e3d7bfdf40e41a020d966d35f8b48d75b90367d2" }, "highlight-undo.nvim": { "branch": "main", "commit": "50a6884a8476be04ecce8f1c4ed692c5000ef0a1" }, "hydra.nvim": { "branch": "master", "commit": "55de54543d673824435930ecf533256eea2e565b" }, - "icon-picker.nvim": { "branch": "master", "commit": "b94b9d30f2bf31ec3b35e15d778c1707c24ff9bf" }, + "icon-picker.nvim": { "branch": "master", "commit": "3ee9a0ea9feeef08ae35e40c8be6a2fa2c20f2d3" }, "inc-rename.nvim": { "branch": "main", "commit": "6f9b5f9cb237e12935144cdc535322b8c93c1b25" }, "indent-blankline.nvim": { "branch": "master", "commit": "3c8a185da4b8ab7aef487219f5e001b11d4b6aaf" }, "kitty-scrollback.nvim": { "branch": "main", "commit": "746a3a72cec5a0214ecaed386db500565df7aef6" }, @@ -87,7 +87,7 @@ "nvim-origami": { "branch": "main", "commit": "4ec426ce4b0aad0303af44909f86e075dd65c615" }, "nvim-puppeteer": { "branch": "main", "commit": "d7e1b2d67c89d32b6ecada88ff67b539ba09f2d7" }, "nvim-recorder": { "branch": "main", "commit": "daaae505862e816a7efe578e22d6f3d10cd7a2e6" }, - "nvim-scissors": { "branch": "main", "commit": "221c07c7be7e6752518792016b3dc60140bd3533" }, + "nvim-scissors": { "branch": "main", "commit": "b19a70888d32ad2e7c70ba94bf50434a9bded062" }, "nvim-spectre": { "branch": "master", "commit": "d8906855f1949ac97b1e77aaf8d3fe12ed158ddc" }, "nvim-treesitter": { "branch": "master", "commit": "8cd2b230174efbf7b5d9f49fe2f90bda6b5eb16e" }, "nvim-treesitter-context": { "branch": "master", "commit": "400a99ad43ac78af1148061da3491cba2637ad29" }, @@ -99,9 +99,9 @@ "nvim-various-textobjs": { "branch": "main", "commit": "779dd981e55d534a4234d9650c9cbb39e4663c9a" }, "nvim-web-devicons": { "branch": "master", "commit": "db0c864375c198cacc171ff373e76bfce2a85045" }, "nvim_context_vt": { "branch": "master", "commit": "a14f9292b4bd68ceed433fc513f287641816dc6d" }, - "octo.nvim": { "branch": "master", "commit": "b5371003f209764c9d1cc43cf20b6dc52961f0e8" }, + "octo.nvim": { "branch": "master", "commit": "051b633edaf7ce7bf885fe809782c433386b5e6f" }, "openingh.nvim": { "branch": "main", "commit": "5c9e851d7c26fdb236dfea8866b71fefe7ddeffc" }, - "outline.nvim": { "branch": "main", "commit": "8c6b11e4c27bca690bfde0c6ce35ba66a805dfa3" }, + "outline.nvim": { "branch": "main", "commit": "4ad4e8e2b9c797d68774b0d88f91c92183975639" }, "overseer.nvim": { "branch": "master", "commit": "68a2d344cea4a2e11acfb5690dc8ecd1a1ec0ce0" }, "package-info.nvim": { "branch": "master", "commit": "18f8126dd8e65b2e21804c9107785af4abbb5bfc" }, "persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" }, @@ -115,7 +115,7 @@ "satellite.nvim": { "branch": "main", "commit": "1a20861227eba8bf2d8282ab4ec5fc071e8b20e2" }, "search-replace.nvim": { "branch": "main", "commit": "d92290a02d97f4e9b8cd60d28b56b403432158d5" }, "semshi": { "branch": "master", "commit": "0182447e2ff4dfa04cd2dfe5f189e012c581ca45" }, - "smart-splits.nvim": { "branch": "master", "commit": "2009a38ac44ec7afa1a001e0dfa8358441510a64" }, + "smart-splits.nvim": { "branch": "master", "commit": "36bfe63246386fc5ae2679aa9b17a7746b7403d5" }, "sqlite.lua": { "branch": "master", "commit": "b7e28c8463254c46a8e61c52d27d6a2040492fc3" }, "suda.vim": { "branch": "master", "commit": "8b0fc3711760195aba104e2d190cff9af8267052" }, "telescope-all-recent.nvim": { "branch": "main", "commit": "bfd8bb3b9c43bf0d09c2a77f3a5fcbecddbf9908" }, @@ -127,7 +127,7 @@ "telescope-undo.nvim": { "branch": "main", "commit": "d3afc1c105535a90caec092ce27a113f77ba7b84" }, "telescope-zoxide": { "branch": "main", "commit": "68966349aa1b8e9ade403e18479ecf79447389a7" }, "telescope.nvim": { "branch": "master", "commit": "b3ff5f33201f474d58f5be96244869f189bbc091" }, - "text-case.nvim": { "branch": "main", "commit": "d65b8ade26ef442d11cbf4719bb9830916a492c1" }, + "text-case.nvim": { "branch": "main", "commit": "04a2ef39604fac1e1cd280989afd101615039b88" }, "theme-loader.nvim": { "branch": "master", "commit": "ad8774ec8267a447d469b4e6603b43f49b946e53" }, "todo-comments.nvim": { "branch": "main", "commit": "4a6737a8d70fe1ac55c64dfa47fcb189ca431872" }, "tokyonight.nvim": { "branch": "main", "commit": "f247ee700b569ed43f39320413a13ba9b0aef0db" }, diff --git a/config/nvim/lazyvim.json b/config/nvim/lazyvim.json index b66e816f..3ac47365 100644 --- a/config/nvim/lazyvim.json +++ b/config/nvim/lazyvim.json @@ -43,8 +43,6 @@ "plugins.extras.editor.telescope.zoxide", "plugins.extras.editor.terminal.floaterm", "plugins.extras.formatting.prettier-extended", - "plugins.extras.formatting.ruff", - "plugins.extras.formatting.rustfmt", "plugins.extras.formatting.trim_newlines", "plugins.extras.formatting.trim_whitespace", "plugins.extras.lang.ansible", @@ -59,7 +57,6 @@ "plugins.extras.linting.biome", "plugins.extras.linting.cspell", "plugins.extras.linting.eslint-extended", - "plugins.extras.linting.shellcheck", "plugins.extras.lsp.actions-preview", "plugins.extras.lsp.file-operations", "plugins.extras.lsp.garbage-day", diff --git a/config/nvim/lua/plugins/extras/formatting/ruff.lua b/config/nvim/lua/plugins/extras/formatting/ruff.lua deleted file mode 100644 index e6171725..00000000 --- a/config/nvim/lua/plugins/extras/formatting/ruff.lua +++ /dev/null @@ -1,17 +0,0 @@ -return { - { - "stevearc/conform.nvim", - opts = function(_, opts) - opts.formatters_by_ft.python = opts.formatters_by_ft.python or {} - table.insert(opts.formatters_by_ft.python, "ruff_format") - return opts - end, - }, - { - "williamboman/mason.nvim", - opts = function(_, opts) - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "ruff-lsp" }) - end, - }, -} diff --git a/config/nvim/lua/plugins/extras/formatting/rustfmt.lua b/config/nvim/lua/plugins/extras/formatting/rustfmt.lua deleted file mode 100644 index 7c4c0528..00000000 --- a/config/nvim/lua/plugins/extras/formatting/rustfmt.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - "stevearc/conform.nvim", - opts = function(_, opts) - opts.formatters_by_ft.rust = opts.formatters_by_ft.rust or {} - table.insert(opts.formatters_by_ft.rust, "rustfmt") - return opts - end, -} diff --git a/config/nvim/lua/plugins/extras/formatting/rustywind.lua b/config/nvim/lua/plugins/extras/formatting/rustywind.lua index fe944c1b..633f296e 100644 --- a/config/nvim/lua/plugins/extras/formatting/rustywind.lua +++ b/config/nvim/lua/plugins/extras/formatting/rustywind.lua @@ -9,8 +9,6 @@ return { { "stevearc/conform.nvim", opts = function(_, opts) - --- Extend the conform plugin config and add given formatters - ---@param tbl table Table of filetype to formatters mappings local function add_formatters(tbl) for ft, formatters in pairs(tbl) do if opts.formatters_by_ft[ft] == nil then diff --git a/config/nvim/lua/plugins/extras/formatting/sqlfmt.lua b/config/nvim/lua/plugins/extras/formatting/sqlfmt.lua deleted file mode 100644 index 2a279ba3..00000000 --- a/config/nvim/lua/plugins/extras/formatting/sqlfmt.lua +++ /dev/null @@ -1,31 +0,0 @@ -return { - { - "williamboman/mason.nvim", - opts = function(_, opts) - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "sqlfmt" }) - end, - }, - { - "stevearc/conform.nvim", - opts = function(_, opts) - --- Extend the conform plugin config and add given formatters - ---@param tbl table Table of filetype to formatters mappings - local function add_formatters(tbl) - for ft, formatters in pairs(tbl) do - if opts.formatters_by_ft[ft] == nil then - opts.formatters_by_ft[ft] = formatters - else - vim.list_extend(opts.formatters_by_ft[ft], formatters) - end - end - end - - add_formatters({ - ["sql"] = { "sqlfmt" }, - ["plsql"] = { "sqlfmt" }, - ["mysql"] = { "sqlfmt" }, - }) - end, - }, -} diff --git a/config/nvim/lua/plugins/extras/lang/bash.lua b/config/nvim/lua/plugins/extras/lang/bash.lua index 9a92a797..d5e6d281 100644 --- a/config/nvim/lua/plugins/extras/lang/bash.lua +++ b/config/nvim/lua/plugins/extras/lang/bash.lua @@ -19,7 +19,15 @@ return { "williamboman/mason.nvim", opts = function(_, opts) opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "bash-language-server" }) + vim.list_extend(opts.ensure_installed, { "bash-language-server", "shellcheck" }) + end, + }, + { + "mfussenegger/nvim-lint", + opts = function(_, opts) + opts.linters_by_ft.bash = opts.linters_by_ft.bash or {} + table.insert(opts.linters_by_ft.bash, "shellcheck") + return opts end, }, { diff --git a/config/nvim/lua/plugins/extras/lang/go-extended.lua b/config/nvim/lua/plugins/extras/lang/go-extended.lua index 042b2735..e3b44c8e 100644 --- a/config/nvim/lua/plugins/extras/lang/go-extended.lua +++ b/config/nvim/lua/plugins/extras/lang/go-extended.lua @@ -1,5 +1,12 @@ return { { import = "lazyvim.plugins.extras.lang.go" }, + { + "williamboman/mason.nvim", + opts = function(_, opts) + opts.ensure_installed = opts.ensure_installed or {} + vim.list_extend(opts.ensure_installed, { "golangcil-lint" }) + end, + }, { "ray-x/go.nvim", dependencies = { @@ -10,7 +17,31 @@ return { opts = {}, event = { "LazyFile" }, ft = { "go", "gomod" }, - build = ':lua require("go.install").update_all_sync()', + build = function() + require("go.install").update_all_sync() + end, + }, + { + "mfussenegger/nvim-lint", + opts = function(_, opts) + local function add_linters(tbl) + for ft, linters in pairs(tbl) do + if opts.linters_by_ft[ft] == nil then + opts.linters_by_ft[ft] = linters + else + vim.list_extend(opts.linters_by_ft[ft], linters) + end + end + end + + add_linters({ + ["go"] = { "golangcilint" }, + ["gomod"] = { "golangcilint" }, + ["gowork"] = { "golangcilint" }, + }) + + return opts + end, }, { "luckasRanarison/nvim-devdocs", diff --git a/config/nvim/lua/plugins/extras/lang/python-extended.lua b/config/nvim/lua/plugins/extras/lang/python-extended.lua index a36f4c5d..f275bb78 100644 --- a/config/nvim/lua/plugins/extras/lang/python-extended.lua +++ b/config/nvim/lua/plugins/extras/lang/python-extended.lua @@ -1,5 +1,13 @@ return { { import = "lazyvim.plugins.extras.lang.python" }, + { + "stevearc/conform.nvim", + opts = function(_, opts) + opts.formatters_by_ft.python = opts.formatters_by_ft.python or {} + table.insert(opts.formatters_by_ft.python, "ruff_format") + return opts + end, + }, { "luckasRanarison/nvim-devdocs", optional = true, diff --git a/config/nvim/lua/plugins/extras/lang/rust-extended.lua b/config/nvim/lua/plugins/extras/lang/rust-extended.lua index 85980a7e..260bee43 100644 --- a/config/nvim/lua/plugins/extras/lang/rust-extended.lua +++ b/config/nvim/lua/plugins/extras/lang/rust-extended.lua @@ -67,6 +67,9 @@ return { opts = function(_, opts) opts.formatters_by_ft.toml = opts.formatters_by_ft.toml or {} table.insert(opts.formatters_by_ft.toml, "taplo") + + opts.formatters_by_ft.rust = opts.formatters_by_ft.rust or {} + table.insert(opts.formatters_by_ft.rust, "rustfmt") return opts end, }, diff --git a/config/nvim/lua/plugins/extras/lang/sql.lua b/config/nvim/lua/plugins/extras/lang/sql.lua index 09b004e1..5d15470f 100644 --- a/config/nvim/lua/plugins/extras/lang/sql.lua +++ b/config/nvim/lua/plugins/extras/lang/sql.lua @@ -73,7 +73,7 @@ return { "williamboman/mason.nvim", opts = function(_, opts) opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "sqlls" }) + vim.list_extend(opts.ensure_installed, { "sqlls", "sqlfmt", "sqlfluff" }) end, }, { @@ -84,6 +84,48 @@ return { }, }, }, + { + "mfussenegger/nvim-lint", + opts = function(_, opts) + local function add_linters(tbl) + for ft, linters in pairs(tbl) do + if opts.linters_by_ft[ft] == nil then + opts.linters_by_ft[ft] = linters + else + vim.list_extend(opts.linters_by_ft[ft], linters) + end + end + end + + add_linters({ + ["sql"] = { "sqlfluff" }, + ["plsql"] = { "sqlfluff" }, + ["mysql"] = { "sqlfluff" }, + }) + + return opts + end, + }, + { + "stevearc/conform.nvim", + opts = function(_, opts) + local function add_formatters(tbl) + for ft, formatters in pairs(tbl) do + if opts.formatters_by_ft[ft] == nil then + opts.formatters_by_ft[ft] = formatters + else + vim.list_extend(opts.formatters_by_ft[ft], formatters) + end + end + end + + add_formatters({ + ["sql"] = { "sqlfmt" }, + ["plsql"] = { "sqlfmt" }, + ["mysql"] = { "sqlfmt" }, + }) + end, + }, { "luckasRanarison/nvim-devdocs", optional = true, diff --git a/config/nvim/lua/plugins/extras/linting/golangci.lua b/config/nvim/lua/plugins/extras/linting/golangci.lua deleted file mode 100644 index 86697c7c..00000000 --- a/config/nvim/lua/plugins/extras/linting/golangci.lua +++ /dev/null @@ -1,31 +0,0 @@ -return { - { - "williamboman/mason.nvim", - opts = function(_, opts) - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "golangcil-lint" }) - end, - }, - { - "mfussenegger/nvim-lint", - opts = function(_, opts) - local function add_linters(tbl) - for ft, linters in pairs(tbl) do - if opts.linters_by_ft[ft] == nil then - opts.linters_by_ft[ft] = linters - else - vim.list_extend(opts.linters_by_ft[ft], linters) - end - end - end - - add_linters({ - ["go"] = { "golangcilint" }, - ["gomod"] = { "golangcilint" }, - ["gowork"] = { "golangcilint" }, - }) - - return opts - end, - }, -} diff --git a/config/nvim/lua/plugins/extras/linting/shellcheck.lua b/config/nvim/lua/plugins/extras/linting/shellcheck.lua deleted file mode 100644 index 41fb447b..00000000 --- a/config/nvim/lua/plugins/extras/linting/shellcheck.lua +++ /dev/null @@ -1,17 +0,0 @@ -return { - { - "williamboman/mason.nvim", - opts = function(_, opts) - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "shellcheck" }) - end, - }, - { - "mfussenegger/nvim-lint", - opts = function(_, opts) - opts.linters_by_ft.bash = opts.linters_by_ft.bash or {} - table.insert(opts.linters_by_ft.bash, "shellcheck") - return opts - end, - }, -} diff --git a/config/nvim/lua/plugins/extras/linting/sqlfluff.lua b/config/nvim/lua/plugins/extras/linting/sqlfluff.lua deleted file mode 100644 index 1187c8ed..00000000 --- a/config/nvim/lua/plugins/extras/linting/sqlfluff.lua +++ /dev/null @@ -1,31 +0,0 @@ -return { - { - "williamboman/mason.nvim", - opts = function(_, opts) - opts.ensure_installed = opts.ensure_installed or {} - vim.list_extend(opts.ensure_installed, { "sqlfluff" }) - end, - }, - { - "mfussenegger/nvim-lint", - opts = function(_, opts) - local function add_linters(tbl) - for ft, linters in pairs(tbl) do - if opts.linters_by_ft[ft] == nil then - opts.linters_by_ft[ft] = linters - else - vim.list_extend(opts.linters_by_ft[ft], linters) - end - end - end - - add_linters({ - ["sql"] = { "sqlfluff" }, - ["plsql"] = { "sqlfluff" }, - ["mysql"] = { "sqlfluff" }, - }) - - return opts - end, - }, -} diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index 08bf1aa3..a6b3d8d7 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -54,7 +54,7 @@ mainbox { enabled: true; orientation: vertical; padding: 8px; - background-image: url("~/.config/hypr/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", height); children: [ "imagebox" ]; border-radius: 12px; background-color: transparent; diff --git a/config/rofi/config-powermenu.rasi b/config/rofi/config-powermenu.rasi index 00a00c97..80abf03d 100644 --- a/config/rofi/config-powermenu.rasi +++ b/config/rofi/config-powermenu.rasi @@ -42,7 +42,7 @@ mainbox { padding: 0px; border: 0px solid; border-radius: 0px; - background-image: url("~/.config/hypr/.current_wallpaper", width); + background-image: url("~/.config/rofi/.current_wallpaper", width); border-color: @foreground; background-color: @foreground; children: [ "inputbar", "listview", "message" ]; diff --git a/config/rofi/config-wallpaper.rasi b/config/rofi/config-wallpaper.rasi index 193e0801..3a699562 100644 --- a/config/rofi/config-wallpaper.rasi +++ b/config/rofi/config-wallpaper.rasi @@ -45,7 +45,7 @@ window { border-radius: 12px; border-radius: 12px; background-color: transparent; - background-image: url("~/.config/hypr/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Mainbox ---- */ diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index dc4ddb1c..309f4f20 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -66,7 +66,7 @@ mainbox { border-color: @border-colour; background-color: transparent; children: [ "inputbar", "listbox"]; - background-image: url("~/.config/hypr/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", height); } /*****----- Inputbar -----*****/ diff --git a/config/rofi/launcher.rasi b/config/rofi/launcher.rasi index 1eaef1db..d5213d8e 100644 --- a/config/rofi/launcher.rasi +++ b/config/rofi/launcher.rasi @@ -58,7 +58,7 @@ mainbox { border-color: @foreground; background-color: transparent; children: ["inputbar","mode-switcher", "listview"]; - background-image: url("~/.config/hypr/.current_wallpaper", height); + background-image: url("~/.config/rofi/.current_wallpaper", height); } inputbar {