Files
dots/home/editors/nvim/plugins/utils/presence.nix
2025-12-01 18:24:34 +01:00

24 lines
445 B
Nix

{
plugins.presence = {
enable = true;
settings = {
neovim_image_text = "Neovim";
main_image = "file";
buttons.__raw = ''
function (buffer, repo_url)
local buttons = {}
if repo_url ~= nil then
table.insert(buttons, {
label = "Git Repository",
url = repo_url
})
end
return buttons
end
'';
};
};
}