Files
hyprland/config/nvim/lua/plugins/dashboard-theme/hyper.lua
T
2024-03-19 17:56:56 +05:45

59 lines
1.5 KiB
Lua

local header_collection = require('plugins.dashboard-theme.headers')
local limit = 9
return {
theme = 'hyper',
change_to_vcs_root = true,
shortcut_type = 'number',
hide = {
statusline = true, -- hide statusline default is true
tabline = true, -- hide the tabline
winbar = true, -- hide winbar
},
config = {
header = header_collection.default,
week_header = {
enable = false,
},
packages = { enable = true }, -- show how many plugins neovim loaded
project = {
enable = false,
limit = 8,
icon = ' ',
group = '@function',
label = 'Projects',
action = 'Telescope find_files cwd='
},
mru = {
limit = limit,
icon = ' ',
label = 'Recent (Last ' .. tostring(limit) .. ' files)',
},
shortcut = {
{
icon = ' ',
desc = 'New file',
group = 'DiagnosticOk',
action = 'ene',
key = 'n'
},
{
icon = ' ',
desc = 'Files',
group = 'DiagnosticInfo',
action = 'Telescope find_files',
key = 'f',
},
{
icon = ' ',
desc = 'Words',
group = 'DiagnosticWarn',
action = 'Telescope live_grep',
key = 'g',
},
{ icon = '󰚰 ', desc = 'Lazy', group = '@property', action = 'Lazy', key = 'l' },
{ icon = ' ', desc = 'Quit', group = 'DiagnosticError', action = 'qa', key = 'q' },
},
},
}