Files
neovim-config/after/plugin/presence.lua

30 lines
853 B
Lua

local setup, presence = pcall(require, "presence")
if not setup then
return
end
presence.setup({
auto_update = true,
neovim_image_text = "The One True Text Editor",
main_image = "https://i.pinimg.com/originals/86/87/c4/8687c4a36a58e40e67711b1c0e8e66e0.jpg",
client_id = "793271441293967371",
log_level = info,
debounce_timeout = 10,
enable_line_number = false,
blacklist = {},
buttons = {
{ label = "Neovim", url = "https://github.com/neovim/neovim" },
{ label = "My config", url = "https://gitlab.com/taken-personal/neovim-config" },
},
file_assets = {},
show_time = true,
editing_text = "Editing %s",
file_explorer_text = "Browsing %s",
git_commit_text = "Committing changes",
plugin_manager_text = "Managing plugins",
reading_text = "Reading %s",
workspace_text = "Working on %s",
line_number_text = "Line %s out of %s",
})