🎨 Style cleanup
- More polished style config
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
vim.g.neovide_refresh_rate = 170
|
||||
vim.g.neovide_transparency = 0.85
|
||||
vim.g.neovide_window_blurred = true
|
||||
-- Neovide has its own transparency
|
||||
vim.cmd(":TransparentDisable")
|
||||
-- cursor fx
|
||||
vim.g.neovide_cursor_vfx_mode = "railgun"
|
||||
vim.g.neovide_cursor_smooth_blink = true
|
||||
|
||||
+10
-20
@@ -1,28 +1,18 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ---------------------------------- Style ------------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- Apply the default colorscheme
|
||||
if os.getenv("KITTY_THEME") then
|
||||
local kitty_theme = os.getenv("KITTY_THEME")
|
||||
-- Set the colorscheme palette
|
||||
if kitty_theme:find("catppuccin") then
|
||||
THEMEPALETTE = require("catppuccin.palettes").get_palette(kitty_theme:sub(12))
|
||||
else
|
||||
if vim.o.background == "dark" then
|
||||
THEMEPALETTE = require("catppuccin.palettes").get_palette("mocha")
|
||||
else
|
||||
THEMEPALETTE = require("catppuccin.palettes").get_palette("latte")
|
||||
end
|
||||
end
|
||||
else
|
||||
if vim.o.background == "dark" then
|
||||
THEMEPALETTE = require("catppuccin.palettes").get_palette("mocha")
|
||||
else
|
||||
THEMEPALETTE = require("catppuccin.palettes").get_palette("latte")
|
||||
end
|
||||
|
||||
-- Set the palette
|
||||
if os.getenv("CATPPUCCIN_PALETTE") then
|
||||
TMEMEPALETTE = require("catppuccin.palettes").get_palette(os.getenv("CATPPUCCIN_PALETTE"))
|
||||
end
|
||||
|
||||
-- Apply the colorscheme
|
||||
vim.cmd.colorscheme(kitty_theme or "catppuccin-frappe")
|
||||
|
||||
-- Set GUI font
|
||||
vim.opt.guifont = "MonaspiceKr Nerd Font Mono:#e-subpixelantialias:h13"
|
||||
vim.g.have_nerd_font = true
|
||||
vim.g.have_nerd_font = true
|
||||
|
||||
-- Set transparency
|
||||
vim.cmd(":TransparentDisable")
|
||||
Reference in New Issue
Block a user