feat(notify): change animation
This commit is contained in:
parent
36a077f787
commit
3be2d316fc
2 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,7 @@ return packer.startup(function()
|
||||||
config = function()
|
config = function()
|
||||||
require('cosmic.plugins.notify')
|
require('cosmic.plugins.notify')
|
||||||
end,
|
end,
|
||||||
event = 'ColorScheme',
|
after = config.theme,
|
||||||
disable = vim.tbl_contains(user_plugins.disable, 'notify'),
|
disable = vim.tbl_contains(user_plugins.disable, 'notify'),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,8 @@ require('notify').setup(utils.merge({
|
||||||
DEBUG = icons.debug,
|
DEBUG = icons.debug,
|
||||||
TRACE = icons.trace,
|
TRACE = icons.trace,
|
||||||
},
|
},
|
||||||
|
stages = 'slide',
|
||||||
background_colour = require('cosmic.theme.colors').bg,
|
background_colour = require('cosmic.theme.colors').bg,
|
||||||
}, config.notify or {}))
|
}, config.notify or {}))
|
||||||
|
|
||||||
vim.notify = require('notify')
|
vim.notify = require('notify')
|
||||||
|
|
Loading…
Add table
Reference in a new issue