Change alpha to point to nix config

Adjust neovide ui settings
This commit is contained in:
Evie Litherland-Smith 2023-07-17 17:29:08 +01:00
parent ecfdc61483
commit 0a23d86476
3 changed files with 20 additions and 15 deletions

View file

@ -19,7 +19,7 @@ return {
dashboard.button("r", "" .. " Recent files", "<cmd>Telescope oldfiles <CR>"), dashboard.button("r", "" .. " Recent files", "<cmd>Telescope oldfiles <CR>"),
dashboard.button("o", "" .. " File browser", "<cmd>Oil <CR>"), dashboard.button("o", "" .. " File browser", "<cmd>Oil <CR>"),
dashboard.button("g", "󰊢 " .. " Git status", "<cmd>Neogit <CR>"), dashboard.button("g", "󰊢 " .. " Git status", "<cmd>Neogit <CR>"),
dashboard.button("c", "" .. " Config", "<cmd>e $MYVIMRC <CR>"), dashboard.button("c", "" .. " Config", "<cmd>e $HOME/.config/home-manager/flake.nix <CR>"),
dashboard.button("l", "󰒲 " .. " Lazy", "<cmd>Lazy<CR>"), dashboard.button("l", "󰒲 " .. " Lazy", "<cmd>Lazy<CR>"),
dashboard.button("h", "" .. " Help", "<cmd>Telescope help_tags <CR>"), dashboard.button("h", "" .. " Help", "<cmd>Telescope help_tags <CR>"),
dashboard.button("q", "" .. " Quit", "<cmd>qa<CR>"), dashboard.button("q", "" .. " Quit", "<cmd>qa<CR>"),

View file

@ -1,7 +1,4 @@
return { local opts = {
"j-hui/fidget.nvim",
tag = "legacy",
opts = {
text = { text = {
spinner = "dots", spinner = "dots",
done = "", done = "",
@ -9,8 +6,14 @@ return {
completed = "", completed = "",
}, },
window = { window = {
blend = 50, blend = 0,
border = "rounded", border = "rounded",
}, },
}, }
if vim.g.neovide then opts.window.blend = 50 end
return {
"j-hui/fidget.nvim",
tag = "legacy",
opts = opts,
} }

View file

@ -1,11 +1,13 @@
vim.opt.winblend = 50 vim.opt.winblend = 30
vim.opt.pumblend = 50 vim.opt.pumblend = 30
vim.g.neovide_padding_top = 5 vim.g.neovide_padding_top = 5
vim.g.neovide_padding_bottom = 5 vim.g.neovide_padding_bottom = 5
vim.g.neovide_padding_left = 5 vim.g.neovide_padding_left = 5
vim.g.neovide_padding_right = 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_x = 5.0
vim.g.neovide_floating_blur_amount_y = 5.0 vim.g.neovide_floating_blur_amount_y = 5.0