feat: implement toggle option for discord presence
This commit is contained in:
@@ -43,6 +43,8 @@ vim.g.encourage_me = true ---@type boolean Options: <true|false>
|
||||
vim.g.usewakatime = true ---@type boolean Options: <true|false>
|
||||
-- Allow music controls and stats
|
||||
vim.g.usemusic = false ---@type boolean Options: <true|false>
|
||||
-- Allow discord presence
|
||||
vim.g.usediscord = false ---@type boolean Options: <true|false>
|
||||
-- Enable HardTime on startup
|
||||
vim.g.usehardtime = false ---@type boolean Options: <true|false>
|
||||
-- Enable Image plugin on compatible terminals
|
||||
|
||||
@@ -127,6 +127,7 @@ return {
|
||||
{ -- Discord Presence
|
||||
"IogaMaster/neocord",
|
||||
event = "VeryLazy",
|
||||
cond = data.func.check_global_var("usediscord", true, true),
|
||||
opts = {
|
||||
logo = "https://raw.githubusercontent.com/rootiest/rootiest-nvim/b949af32e72db9fc35c18e14e2088710dc36dd15/logo/icon.png",
|
||||
main_image = "logo",
|
||||
|
||||
Reference in New Issue
Block a user