aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/plugins/colorscheme.lua
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-02-06 12:59:02 -0500
committerJP Appel <jeanpierre.appel01@gmail.com>2024-02-06 12:59:02 -0500
commit4dbef437d707f82ca5ceffa24ea6198e966888d6 (patch)
tree4eb97bdaa1ad0677b352d64cd9f32ad809f9233a /nvim/lua/plugins/colorscheme.lua
parent2c8403cf1c56d2e34a2c6f03bd6e9d4add8dca40 (diff)
refactor: use hostname to set colorscheme
Diffstat (limited to 'nvim/lua/plugins/colorscheme.lua')
-rw-r--r--nvim/lua/plugins/colorscheme.lua27
1 files changed, 22 insertions, 5 deletions
diff --git a/nvim/lua/plugins/colorscheme.lua b/nvim/lua/plugins/colorscheme.lua
index 26a545d..d070796 100644
--- a/nvim/lua/plugins/colorscheme.lua
+++ b/nvim/lua/plugins/colorscheme.lua
@@ -1,15 +1,15 @@
-return {
- {
+local colorschemes = {
+ catppuccin = {
"catppuccin/nvim" ,
name = "catpuccin",
lazy = false,
priority = 1000,
- enabled = true,
+ enabled = false,
config = function()
vim.cmd[[colorscheme catppuccin-mocha]]
end
},
- {
+ wal = {
"mbrea-c/wal-colors.nvim",
enabled = false,
lazy = false,
@@ -18,7 +18,7 @@ return {
vim.cmd[[colorscheme mbc]]
end,
},
- {
+ tokyonight = {
'folke/tokyonight.nvim',
name = 'tokyonight',
enabled = false,
@@ -27,5 +27,22 @@ return {
config = function()
vim.cmd[[colorscheme tokyonight-night]]
end
+ },
+ everforest = {
+ 'sainnhe/everforest',
+ enabled = true,
+ lazy = false,
+ priority = 1000,
+ config = function()
+ vim.g.everforest_background = 'hard'
+ vim.g.everforest_transparent_background = 2
+ vim.cmd[[colorscheme everforest]]
+ end,
}
}
+
+local colorsProfiles = require("profiles").createProfiles(colorschemes.catppuccin)
+
+colorsProfiles["nest"] = colorschemes.everforest
+
+return colorsProfiles[HOSTNAME]