From 0a23d864764ec5479e54104865e0f6dffcf2654e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 17 Jul 2023 17:29:08 +0100 Subject: [PATCH] Change alpha to point to nix config Adjust neovide ui settings --- lua/plugins/alpha.lua | 2 +- lua/plugins/fidget.lua | 27 +++++++++++++++------------ lua/ui/neovide.lua | 6 ++++-- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/lua/plugins/alpha.lua b/lua/plugins/alpha.lua index b477432..01e3719 100644 --- a/lua/plugins/alpha.lua +++ b/lua/plugins/alpha.lua @@ -19,7 +19,7 @@ return { dashboard.button("r", " " .. " Recent files", "Telescope oldfiles "), dashboard.button("o", " " .. " File browser", "Oil "), dashboard.button("g", "󰊢 " .. " Git status", "Neogit "), - dashboard.button("c", " " .. " Config", "e $MYVIMRC "), + dashboard.button("c", " " .. " Config", "e $HOME/.config/home-manager/flake.nix "), dashboard.button("l", "󰒲 " .. " Lazy", "Lazy"), dashboard.button("h", " " .. " Help", "Telescope help_tags "), dashboard.button("q", " " .. " Quit", "qa"), diff --git a/lua/plugins/fidget.lua b/lua/plugins/fidget.lua index bebb392..19834c2 100644 --- a/lua/plugins/fidget.lua +++ b/lua/plugins/fidget.lua @@ -1,16 +1,19 @@ +local opts = { + text = { + spinner = "dots", + done = "", + commenced = "", + completed = "", + }, + window = { + blend = 0, + border = "rounded", + }, +} +if vim.g.neovide then opts.window.blend = 50 end + return { "j-hui/fidget.nvim", tag = "legacy", - opts = { - text = { - spinner = "dots", - done = "", - commenced = "", - completed = "", - }, - window = { - blend = 50, - border = "rounded", - }, - }, + opts = opts, } diff --git a/lua/ui/neovide.lua b/lua/ui/neovide.lua index e60cab0..3021c4d 100644 --- a/lua/ui/neovide.lua +++ b/lua/ui/neovide.lua @@ -1,11 +1,13 @@ -vim.opt.winblend = 50 -vim.opt.pumblend = 50 +vim.opt.winblend = 30 +vim.opt.pumblend = 30 vim.g.neovide_padding_top = 5 vim.g.neovide_padding_bottom = 5 vim.g.neovide_padding_left = 5 vim.g.neovide_padding_right = 5 +vim.g.neovide_transparency = 0.8 +vim.g.neovide_floating_transparency = 0.5 vim.g.neovide_floating_blur_amount_x = 5.0 vim.g.neovide_floating_blur_amount_y = 5.0