Moving to neocord

This commit is contained in:
2024-09-30 11:31:36 +02:00
parent 1f665bc0d9
commit ddf2f57a4c
2 changed files with 10 additions and 35 deletions

View File

@@ -1,26 +1,22 @@
--- @type LazyPluginSpec --- @type LazyPluginSpec
return { return {
"TakenMC/presence.nvim", "IogaMaster/neocord",
event = { "BufReadPre", "BufNewFile" }, event = "VeryLazy",
enabled = false,
config = function() config = function()
local presence = require("presence") local neocord = require("neocord")
presence.setup({ neocord.setup({
auto_update = true, logo = "auto",
neovim_image_text = "The One True Text Editor", logo_tooltip = nil,
-- neovim_image_text = "The One True Text Editor",
main_image = "neovim", main_image = "neovim",
client_id = "793271441293967371", client_id = "793271441293967371",
log_level = info, log_level = nil,
debounce_timeout = 10, debounce_timeout = 10,
enable_line_number = false,
blacklist = {}, blacklist = {},
buttons = {
{ label = "Neovim", url = "https://github.com/neovim/neovim" },
{ label = "My config", url = "https://gitlab.com/taken-personal/neovim-config" },
},
file_assets = {}, file_assets = {},
show_time = true, show_time = true,
global_timer = false,
editing_text = "Editing %s", editing_text = "Editing %s",
file_explorer_text = "Browsing %s", file_explorer_text = "Browsing %s",
@@ -29,6 +25,7 @@ return {
reading_text = "Reading %s", reading_text = "Reading %s",
workspace_text = "Working on %s", workspace_text = "Working on %s",
line_number_text = "Line %s out of %s", line_number_text = "Line %s out of %s",
terminal_text = "Using Terminal",
}) })
end, end,
} }

View File

@@ -1,22 +0,0 @@
--- @type LazyPluginSpec
return {
"ObserverOfTime/nvimcord",
event = { "BufReadPre", "BufNewFile" },
enabled = false,
config = function()
local nvimcord = require("nvimcord")
nvimcord.setup({
autostart = true,
client_id = "793271441293967371",
large_file_icon = false,
log_level = vim.log.levels.DEBUG,
workspace_name = function()
return vim.cmd([[pwd]])
end,
workspace_url = function()
return ""
end,
})
end,
}