add a new wallpaper

This commit is contained in:
EdenQwQ 2025-11-13 11:53:06 +08:00
parent 621b9c2cb4
commit 57f38b5c02
4 changed files with 41 additions and 26 deletions

21
flake.lock generated
View file

@ -849,26 +849,6 @@
"type": "github"
}
},
"nirinit": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1759527445,
"narHash": "sha256-eBFGtv6uuHJpGBa3WB3UAij967PgP7AT5qiwkpvb6Rc=",
"owner": "amaanq",
"repo": "nirinit",
"rev": "32193bbc08a2c92165c695f1af8c467fcdc80f7e",
"type": "github"
},
"original": {
"owner": "amaanq",
"repo": "nirinit",
"type": "github"
}
},
"nix-matlab": {
"inputs": {
"flake-compat": "flake-compat_2",
@ -1472,7 +1452,6 @@
"nh": "nh",
"nil": "nil",
"niri": "niri",
"nirinit": "nirinit",
"nix-matlab": "nix-matlab",
"nixGL": "nixGL",
"nixd": "nixd",

View file

@ -25,21 +25,48 @@ in
# cmp.setup({
# sources = current_sources,
# })
# local has_words_before = function()
# if vim.api.nvim_buf_get_option(0, "buftype") == "prompt" then
# return false
# end
# local line, col = unpack(vim.api.nvim_win_get_cursor(0))
# return col ~= 0 and vim.api.nvim_buf_get_text(0, line - 1, 0, line - 1, col, {})[1]:match("^%s*$") == nil
# end
# cmp.setup({
# mapping = {
# ["<Tab>"] = vim.schedule_wrap(function(fallback)
# if cmp.visible() and has_words_before() then
# cmp.select_next_item({ behavior = cmp.SelectBehavior.Select })
# else
# fallback()
# end
# end),
# },
# })
# '';
plugins = {
copilot-lua = {
enable = false;
enable = true;
settings = {
panel.enabled = false;
suggestion.enabled = false;
suggestion.enabled = true;
suggestion.keymap = {
hide_during_completion = false;
accept = "<C-l>";
accept_word = false;
accept_line = false;
next = "<C-Tab>";
prev = "<C-S-Tab>";
dismiss = "<C-h>";
};
filetypes.markdown = true;
};
};
copilot-cmp.enable = false;
# copilot-cmp.enable = true;
windsurf-nvim = {
enable = true;
enable = false;
};
cmp.settings.sources = [ { name = "codeium"; } ];
# cmp.settings.sources = [ { name = "codeium"; } ];
codecompanion = {
enable = true;
settings = {

View file

@ -85,5 +85,9 @@
name = "jw-follow-the-wind.jpeg";
convertMethod = "gonord";
}
{
name = "kyora-autumn.png";
convertMethod = "gonord";
}
];
}

View file

@ -81,6 +81,11 @@ let
url = "https://i.imgur.com/eCilr4R.jpeg";
sha256 = "1vnnmlxa6bx1yi9b3hh7v5wggwab3k5nx7hxpnc56ld4p1wm3g4l";
}
{
name = "kyora-autumn.png";
url = "https://i.imgur.com/rx7hwo4.png";
sha256 = "00mb4hlhw58iysf5n8krhm2z98m2c6xj89fx7js6vp9ffzds53bc";
}
];
wallpaperSrcs = map fetchurl wallpapers;