diff --git a/flake.lock b/flake.lock index 30c979b..4495e31 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ "locked": { "lastModified": 1, "narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=", - "path": "/nix/store/hys6nngnj79apn31mjzri83ga89a2l5i-source/home/ags", + "path": "/nix/store/csvrf75irirx4myzbb5bf9sif67g4h9q-source/home/ags", "type": "path" }, "original": { - "path": "/nix/store/hys6nngnj79apn31mjzri83ga89a2l5i-source/home/ags", + "path": "/nix/store/csvrf75irirx4myzbb5bf9sif67g4h9q-source/home/ags", "type": "path" } }, @@ -178,11 +178,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1722536372, - "narHash": "sha256-kcaCZFYKWlGyyL1y5MQ/3LVNw+5GfW2kSYDixdrDJl0=", + "lastModified": 1737991358, + "narHash": "sha256-Xye+N7I2FMb+GC96xMDjWi/HX5XCoFCz1Ak+KvP9jUQ=", "ref": "refs/heads/master", - "rev": "430ff540f5cedb42cbd9267094d45f275cd480d4", - "revCount": 13, + "rev": "a005938761624fd8d3ab7cbb64fe57a40a9b36e9", + "revCount": 14, "type": "git", "url": "https://git.thomasave.be/thomasave/fzgo.git" }, @@ -220,11 +220,11 @@ ] }, "locked": { - "lastModified": 1737704314, - "narHash": "sha256-zta8jvOQ2wRCZmiwFEnS5iCulWAh8e+fLUlQxrgOBjM=", + "lastModified": 1738145391, + "narHash": "sha256-/9mfbWYN9HDQbKa2HdAe2T5e3FfY8e4eqc1FIvAyvLg=", "owner": "nix-community", "repo": "home-manager", - "rev": "a0428685572b134f6594e7d7f5db5e1febbab2d7", + "rev": "1b4f2a48168b3d90e11365552d1e7e601a4be6b6", "type": "github" }, "original": { @@ -278,11 +278,11 @@ ] }, "locked": { - "lastModified": 1737634889, - "narHash": "sha256-9JZE3KxcXOqZH9zs3UeadngDiK/yIACTiAR8HSA/TNI=", + "lastModified": 1737985436, + "narHash": "sha256-zx8FdI4zr2GhNyD1YGAqa2ymodAObTSAdwuWwVucewo=", "owner": "hyprwm", "repo": "hyprgraphics", - "rev": "0d77b4895ad5f1bb3b0ee43103a5246c58b65591", + "rev": "23783b96036f5506fdaf8b2250a1ef849d57f0d3", "type": "github" }, "original": { @@ -298,20 +298,20 @@ "hyprgraphics": "hyprgraphics", "hyprland-protocols": "hyprland-protocols", "hyprland-qtutils": "hyprland-qtutils", - "hyprlang": "hyprlang_2", + "hyprlang": "hyprlang", "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_3", "pre-commit-hooks": "pre-commit-hooks", - "systems": "systems_2", + "systems": "systems", "xdph": "xdph" }, "locked": { - "lastModified": 1737733891, - "narHash": "sha256-OpzEqVCsgWhBI4DXstjQbyEDrlSjYMN/vFKqoe+d+Ds=", + "lastModified": 1738157651, + "narHash": "sha256-IObMsim4ZEDmCEc4EjJV8U+cJpUX1JFrMXgrVExZvXo=", "ref": "refs/heads/main", - "rev": "9b3f71390c3db14fd2fa2ff14d533eee34538c55", - "revCount": 5716, + "rev": "61319197155cbcb3b8d5f004f46c2249029ec1f3", + "revCount": 5757, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -349,7 +349,11 @@ }, "hyprland-qt-support": { "inputs": { - "hyprlang": "hyprlang", + "hyprlang": [ + "hyprland", + "hyprland-qtutils", + "hyprlang" + ], "nixpkgs": [ "hyprland", "hyprland-qtutils", @@ -378,8 +382,14 @@ "hyprland-qtutils": { "inputs": { "hyprland-qt-support": "hyprland-qt-support", + "hyprlang": [ + "hyprland", + "hyprlang" + ], "hyprutils": [ "hyprland", + "hyprland-qtutils", + "hyprlang", "hyprutils" ], "nixpkgs": [ @@ -392,11 +402,11 @@ ] }, "locked": { - "lastModified": 1737634810, - "narHash": "sha256-ZIJ03DeisbQuDaADSgmbgyocjecaozK4yGTa0/9bOr0=", + "lastModified": 1737981711, + "narHash": "sha256-lh6cL5D8nPplB3WovCQjLUZ7k7MViiBrMlpkfm4R7/c=", "owner": "hyprwm", "repo": "hyprland-qtutils", - "rev": "a9852dbf5a1ec77cf617543728144c1362709e46", + "rev": "96bf0677fa9cd13508294e3d4559dfbbc8beff73", "type": "github" }, "original": { @@ -406,30 +416,6 @@ } }, "hyprlang": { - "inputs": { - "hyprutils": [ - "hyprland", - "hyprland-qtutils", - "hyprutils" - ], - "nixpkgs": "nixpkgs_3", - "systems": "systems" - }, - "locked": { - "lastModified": 1737634606, - "narHash": "sha256-W7W87Cv6wqZ9PHegI6rH1+ve3zJPiyevMFf0/HwdbCQ=", - "owner": "hyprwm", - "repo": "hyprlang", - "rev": "f41271d35cc0f370d300413d756c2677f386af9d", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprlang", - "type": "github" - } - }, - "hyprlang_2": { "inputs": { "hyprutils": [ "hyprland", @@ -465,11 +451,11 @@ ] }, "locked": { - "lastModified": 1737340285, - "narHash": "sha256-teIcFC3VXB8/7+Hq6nK674eNG8hMCdd6lpqHCNietnY=", + "lastModified": 1738115355, + "narHash": "sha256-IKcUv2ayfiEoF9mOkt/+ACTSVI0RW/tCA9BS64/qePE=", "ref": "refs/heads/main", - "rev": "36f43793272c0700974477271ef0e0e544b21293", - "revCount": 61, + "rev": "cd997c211bd9c3fb71281233043c3484d8f6ec15", + "revCount": 62, "type": "git", "url": "https://github.com/shezdy/hyprsplit" }, @@ -490,11 +476,11 @@ ] }, "locked": { - "lastModified": 1737632363, - "narHash": "sha256-X9I8POSlHxBVjD0fiX1O2j7U9Zi1+4rIkrsyHP0uHXY=", + "lastModified": 1737978343, + "narHash": "sha256-TfFS0HCEJh63Kahrkp1h9hVDMdLU8a37Zz+IFucxyfA=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "006620eb29d54ea9086538891404c78563d1bae1", + "rev": "6a8bc9d2a4451df12f5179dc0b1d2d46518a90ab", "type": "github" }, "original": { @@ -598,11 +584,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1737469691, - "narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=", + "lastModified": 1737885589, + "narHash": "sha256-Zf0hSrtzaM1DEz8//+Xs51k/wdSajticVrATqDrfQjg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab", + "rev": "852ff1d9e153d8875a83602e03fdef8a63f0ecf8", "type": "github" }, "original": { @@ -614,11 +600,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1737469691, - "narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=", + "lastModified": 1737885589, + "narHash": "sha256-Zf0hSrtzaM1DEz8//+Xs51k/wdSajticVrATqDrfQjg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab", + "rev": "852ff1d9e153d8875a83602e03fdef8a63f0ecf8", "type": "github" }, "original": { @@ -630,37 +616,21 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1737632463, - "narHash": "sha256-38J9QfeGSej341ouwzqf77WIHAScihAKCt8PQJ+NH28=", - "owner": "NixOS", + "lastModified": 1737885589, + "narHash": "sha256-Zf0hSrtzaM1DEz8//+Xs51k/wdSajticVrATqDrfQjg=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "0aa475546ed21629c4f5bbf90e38c846a99ec9e9", + "rev": "852ff1d9e153d8875a83602e03fdef8a63f0ecf8", "type": "github" }, "original": { - "owner": "NixOS", + "owner": "nixos", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } }, "nixpkgs_6": { - "locked": { - "lastModified": 1737632463, - "narHash": "sha256-38J9QfeGSej341ouwzqf77WIHAScihAKCt8PQJ+NH28=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "0aa475546ed21629c4f5bbf90e38c846a99ec9e9", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_7": { "locked": { "lastModified": 1730200266, "narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=", @@ -679,15 +649,15 @@ "nur": { "inputs": { "flake-parts": "flake-parts_2", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_5", "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1737736379, - "narHash": "sha256-SzUBVzIJSZE4AG/Fljc/aQ3+3YK/Hu0KXnh6K9N92qo=", + "lastModified": 1738158315, + "narHash": "sha256-2/ZPIHrRP5JC4bknUoPK/wimZHhxy0LFJdjEO5VVkVE=", "owner": "nix-community", "repo": "NUR", - "rev": "30a6f0f8795d98d907a53cf8e06beca345fe3987", + "rev": "7e2ca07db0689990c6baf152ddc8c169d95af4f5", "type": "github" }, "original": { @@ -727,7 +697,7 @@ "hyprland": "hyprland", "hyprsplit": "hyprsplit", "nixos-06cb-009a-fingerprint-sensor": "nixos-06cb-009a-fingerprint-sensor", - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_4", "nur": "nur", "split-monitor-workspaces": "split-monitor-workspaces", "worktimer": "worktimer" @@ -741,11 +711,11 @@ "nix-filter": "nix-filter" }, "locked": { - "lastModified": 1737317541, - "narHash": "sha256-GJOKrNi3EI4D6Xcl8xhQb8ZulziX//p7bh5JW67Y0Zs=", + "lastModified": 1738003599, + "narHash": "sha256-bIFSAQV/2/0evErs3yCafn+L/TCE2mrwh4oZPVyBjus=", "owner": "Duckonaut", "repo": "split-monitor-workspaces", - "rev": "1d4742b30aa9f3d01ea227a9c726985ffa832368", + "rev": "b2d0888d5dd752d2603e99f3762d87ad1b3df1b0", "type": "github" }, "original": { @@ -769,21 +739,6 @@ "type": "github" } }, - "systems_2": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, "treefmt-nix": { "inputs": { "nixpkgs": [ @@ -808,7 +763,7 @@ "worktimer": { "inputs": { "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_7" + "nixpkgs": "nixpkgs_6" }, "locked": { "lastModified": 1730850710, diff --git a/home/nvim/files/lua/plugins/ai_complete.lua b/home/nvim/files/lua/plugins/ai_complete.lua index 5a4523a..e13a648 100644 --- a/home/nvim/files/lua/plugins/ai_complete.lua +++ b/home/nvim/files/lua/plugins/ai_complete.lua @@ -33,7 +33,7 @@ -- Neocodium return { "monkoose/neocodeium", - event = "VeryLazy", + event = "InsertEnter", config = function() local neocodeium = require("neocodeium") neocodeium.setup() diff --git a/home/nvim/files/lua/plugins/lualine.lua b/home/nvim/files/lua/plugins/lualine.lua index f067150..b45607e 100644 --- a/home/nvim/files/lua/plugins/lualine.lua +++ b/home/nvim/files/lua/plugins/lualine.lua @@ -2,6 +2,14 @@ local function getWords() return tostring(vim.fn.wordcount().words) .. " Words" end +local function lint_progress() + local linters = require("lint").get_running() + if #linters == 0 then + return "󰦕" + end + return "󱉶 " .. table.concat(linters, ", ") +end + return { 'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons', opt = true }, @@ -12,7 +20,7 @@ return { }, sections = { lualine_a = {'mode'}, - lualine_b = {'diff', 'diagnostics'}, + lualine_b = {'diff', 'diagnostics', lint_progress}, lualine_c = {'filename'}, lualine_x = {'encoding', 'fileformat', 'filetype'}, lualine_y = {'filesize', getWords}, diff --git a/home/nvim/files/lua/plugins/nvim-lint.lua b/home/nvim/files/lua/plugins/nvim-lint.lua index 9d7b3af..a7d13b8 100644 --- a/home/nvim/files/lua/plugins/nvim-lint.lua +++ b/home/nvim/files/lua/plugins/nvim-lint.lua @@ -3,17 +3,22 @@ return { config = function () local dmypy = require("lint").linters.dmypy dmypy.args = { - "run", - '--timeout', - '50000', - '--', + 'run', + "--timeout", + "50000", + "--export-types", + "--", '--show-column-numbers', '--show-error-end', '--hide-error-context', '--no-color-output', '--no-error-summary', '--no-pretty', - "--use-fine-grained-cache", + '--cache-dir', + vim.fn.stdpath("cache") .. '/dmypy', + '--cache-fine-grained', + '--sqlite-cache', + '--skip-cache-mtime-checks', '--python-executable', function() return vim.fn.exepath 'python3' or vim.fn.exepath 'python'