Merge branch 'main' of git.clustercockpit.org:moebiusband/dotfiles

This commit is contained in:
Jan Eitzinger 2024-02-23 09:53:14 +01:00
commit c7d2e6d733
3 changed files with 61 additions and 4 deletions

View File

@ -33,7 +33,7 @@ require("lazy").setup({
-- version = "*", -- try installing the latest stable version for plugins that support semver -- version = "*", -- try installing the latest stable version for plugins that support semver
}, },
install = { colorscheme = { "tokyonight", "habamax" } }, install = { colorscheme = { "tokyonight", "habamax" } },
checker = { enabled = true }, -- automatically check for plugin updates checker = { enabled = true, notify = false, frequency = 259200 }, -- automatically check for plugin updates
performance = { performance = {
rtp = { rtp = {
-- disable some rtp plugins -- disable some rtp plugins

View File

@ -244,4 +244,61 @@ return {
} }
end, end,
}, },
{
"nvimdev/dashboard-nvim",
event = "VimEnter",
opts = function(_, opts)
local logo = [[
_ _ _ _
| | (_) | | | |
_ __ ___ ___ ___| |__ _ _ _ ___| |__ __ _ _ __ __| |
| '_ ` _ \ / _ \ / _ \ '_ \| | | | / __| '_ \ / _` | '_ \ / _` |
| | | | | | (_) | __/ |_) | | |_| \__ \ |_) | (_| | | | | (_| |
|_| |_| |_|\___/ \___|_.__/|_|\__,_|___/_.__/ \__,_|_| |_|\__,_|
]]
logo = string.rep("\n", 8) .. logo .. "\n\n"
opts.config.header = vim.split(logo, "\n")
opts.theme = "doom"
opts.config.center = {
{
action = "Telescope find_files",
desc = " Find file",
icon = " ",
key = "f",
},
{
action = "Telescope oldfiles",
desc = " Recent files",
icon = " ",
key = "r",
},
{
action = "Telescope live_grep",
desc = " Find text",
icon = " ",
key = "g",
},
{
action = [[lua require("lazyvim.util").telescope.config_files()()]],
desc = " Config",
icon = " ",
key = "c",
},
{
action = "Neorg workspace notes",
desc = " Neorg notes",
icon = " ",
key = "n",
},
{
action = "Lazy",
desc = " Lazy",
icon = "󰒲 ",
key = "l",
},
{ action = "qa", desc = " Quit", icon = " ", key = "q" },
}
end,
},
} }

View File

@ -68,7 +68,7 @@ alias bkp-list='doas restic -r /mnt/nfs/BSD/restic-repo snapshots'
source $HOME/perl5/perlbrew/etc/bashrc source $HOME/perl5/perlbrew/etc/bashrc
{{- if eq .chezmoi.arch "arm64" }} {{- if eq .chezmoi.arch "arm64" }}
export PATH=/opt/homebrew/bin:$PATH export PATH=/opt/homebrew/bin:$PATH
{{ end }} {{- end }}
{{ end }} {{- end }}
{{ end }} {{- end }}
eval "$(atuin init zsh)" eval "$(atuin init zsh)"