From 95524e7f4e29d7d71b8da9e30bc480a3b87839a0 Mon Sep 17 00:00:00 2001 From: rootiest Date: Wed, 10 Jul 2024 13:20:04 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Style=20Update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change gui font to Iosevka - Fix Kitty-theme function --- lua/config/style.lua | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lua/config/style.lua b/lua/config/style.lua index f6de71d..b447e60 100644 --- a/lua/config/style.lua +++ b/lua/config/style.lua @@ -4,15 +4,21 @@ -- Set the palette if os.getenv("CATPPUCCIN_PALETTE") then - TMEMEPALETTE = require("catppuccin.palettes").get_palette(os.getenv("CATPPUCCIN_PALETTE")) + TMEMEPALETTE = + require("catppuccin.palettes").get_palette(os.getenv("CATPPUCCIN_PALETTE")) +end + +if os.getenv("KITTY_THEME") then + KITTY_THEME = os.getenv("KITTY_THEME") end -- Apply the colorscheme -vim.cmd.colorscheme(kitty_theme or "catppuccin-frappe") +vim.cmd.colorscheme(KITTY_THEME or "catppuccin-frappe") -- Set GUI font -vim.opt.guifont = "MonaspiceKr Nerd Font Mono:#e-subpixelantialias:h13" +--vim.opt.guifont = "MonaspiceKr Nerd Font Mono:#e-subpixelantialias:h13" +vim.opt.guifont = "Iosevka:#e-subpixelantialias:h13" vim.g.have_nerd_font = true -- Set transparency -vim.cmd(":TransparentDisable") \ No newline at end of file +vim.cmd(":TransparentDisable")