Fuxx
This commit is contained in:
parent
8268fba83d
commit
7ed2a6e110
9565 changed files with 1315332 additions and 90 deletions
83
home/.config/nvim/lua/startup-config/dashborad.lua
Normal file
83
home/.config/nvim/lua/startup-config/dashborad.lua
Normal file
|
@ -0,0 +1,83 @@
|
|||
local settings = {
|
||||
-- every line should be same width without escaped \
|
||||
header = {
|
||||
type = "text",
|
||||
oldfiles_directory = false,
|
||||
align = "center",
|
||||
fold_section = false,
|
||||
title = "Header",
|
||||
margin = 5,
|
||||
content = {
|
||||
"▓█████▄ ▓█████ ▄▄▄ ▓█████▄ ███▄ █ ██▒ █▓ ██▓ ███▄ ▄███▓ ",
|
||||
"▒██▀ ██▌▓█ ▀▒████▄ ▒██▀ ██▌ ██ ▀█ █▓██░ █▒▓██▒▓██▒▀█▀ ██▒ ",
|
||||
"░██ █▌▒███ ▒██ ▀█▄ ░██ █▌▓██ ▀█ ██▒▓██ █▒░▒██▒▓██ ▓██░ ",
|
||||
"░▓█▄ ▌▒▓█ ▄░██▄▄▄▄██ ░▓█▄ ▌▓██▒ ▐▌██▒ ▒██ █░░░██░▒██ ▒██ ",
|
||||
"░▒████▓ ░▒████▒▓█ ▓██▒░▒████▓ ▒██░ ▓██░ ▒▀█░ ░██░▒██▒ ░██▒ ",
|
||||
" ▒▒▓ ▒ ░░ ▒░ ░▒▒ ▓▒█░ ▒▒▓ ▒ ░ ▒░ ▒ ▒ ░ ▐░ ░▓ ░ ▒░ ░ ░ ",
|
||||
" ░ ▒ ▒ ░ ░ ░ ▒ ▒▒ ░ ░ ▒ ▒ ░ ░░ ░ ▒░ ░ ░░ ▒ ░░ ░ ░ ",
|
||||
" ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░░ ▒ ░░ ░ ",
|
||||
" ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ",
|
||||
" ░ ░ ░ ",
|
||||
},
|
||||
highlight = "Statement",
|
||||
default_color = "#B71F34",
|
||||
oldfiles_amount = 0,
|
||||
},
|
||||
-- name which will be displayed and command
|
||||
body = {
|
||||
type = "mapping",
|
||||
oldfiles_directory = false,
|
||||
align = "center",
|
||||
fold_section = false,
|
||||
title = "Basic Commands",
|
||||
margin = 5,
|
||||
content = {
|
||||
{ " Find File", "Telescope find_files", "<leader>ff" },
|
||||
{ " Find Word", "Telescope live_grep", "<leader>lg" },
|
||||
{ " Recent Files", "Telescope oldfiles", "<leader>of" },
|
||||
{ " File Browser", "Telescope file_browser", "<leader>fb" },
|
||||
{ " Colorschemes", "Telescope colorscheme", "<leader>cs" },
|
||||
{ " New File", "lua require'startup'.new_file()", "<leader>nf" },
|
||||
},
|
||||
highlight = "String",
|
||||
default_color = "#8CA1A5",
|
||||
oldfiles_amount = 0,
|
||||
},
|
||||
clock = {
|
||||
type = "text",
|
||||
content = function()
|
||||
local clock = " " .. os.date("%H:%M")
|
||||
local date = " " .. os.date("%d-%m-%y")
|
||||
return { clock, date }
|
||||
end,
|
||||
oldfiles_directory = false,
|
||||
align = "center",
|
||||
fold_section = false,
|
||||
title = "",
|
||||
margin = 5,
|
||||
highlight = "TSString",
|
||||
default_color = "#C678DD",
|
||||
oldfiles_amount = 10,
|
||||
},
|
||||
|
||||
options = {
|
||||
mapping_keys = true,
|
||||
cursor_column = 0.5,
|
||||
empty_lines_between_mappings = true,
|
||||
disable_statuslines = true,
|
||||
paddings = { 1, 3, 3, 0 },
|
||||
},
|
||||
mappings = {
|
||||
execute_command = "<CR>",
|
||||
open_file = "o",
|
||||
open_file_split = "<c-o>",
|
||||
open_section = "<TAB>",
|
||||
open_help = "?",
|
||||
},
|
||||
colors = {
|
||||
background = "#1A2026",
|
||||
folded_section = "#36424F",
|
||||
},
|
||||
parts = { "header", "body", "clock" },
|
||||
}
|
||||
return settings
|
1
home/.config/nvim/lua/startup-config/init.lua
Normal file
1
home/.config/nvim/lua/startup-config/init.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require("startup").setup(require("startup-config.dashborad"))
|
Loading…
Add table
Add a link
Reference in a new issue