From 16beeaf6fdb3beb3464d389d8ea2f3ad80829afc Mon Sep 17 00:00:00 2001 From: rajvatsal Date: Tue, 26 Dec 2023 20:56:03 +0530 Subject: [PATCH] feat(alpha): Add more ascii art In aplha config add ascii arts alien and logo. This commit will also change the alpha ascii art to kraken. --- after/plugin/defaults.lua | 1 + lazy-lock.json | 2 +- lua/custom/plugins/alpha.lua | 87 ++++++++++++++++++++++++++++- lua/custom/plugins/colorschemes.lua | 4 +- 4 files changed, 88 insertions(+), 6 deletions(-) diff --git a/after/plugin/defaults.lua b/after/plugin/defaults.lua index f2a915dd..da4c8cc6 100644 --- a/after/plugin/defaults.lua +++ b/after/plugin/defaults.lua @@ -11,6 +11,7 @@ require('lualine').setup { options = { icons_enabled = true, -- theme = 'auto', + -- color = { gui = 'bold' }, component_separators = { left = '', right = '' }, section_separators = { left = '', right = '' }, disabled_filetypes = { diff --git a/lazy-lock.json b/lazy-lock.json index a68b10c6..73d9d510 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -3,6 +3,7 @@ "LuaSnip": { "branch": "master", "commit": "57c9f5c31b3d712376c704673eac8e948c82e9c1" }, "alpha-nvim": { "branch": "main", "commit": "29074eeb869a6cbac9ce1fbbd04f5f5940311b32" }, "ascii.nvim": { "branch": "master", "commit": "e5e20e95f0384f79ec2705c437ae422449748463" }, + "catppuccin": { "branch": "main", "commit": "64dc309bc157779691be38bbfc5123584e0a4a85" }, "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, @@ -20,7 +21,6 @@ "mason.nvim": { "branch": "main", "commit": "41e75af1f578e55ba050c863587cffde3556ffa6" }, "neodev.nvim": { "branch": "main", "commit": "269051a7093fa481128904a33a6c4e1ca8de4340" }, "nui.nvim": { "branch": "main", "commit": "c9b4de623d19a85b353ff70d2ae9c77143abe69c" }, - "nvim": { "branch": "main", "commit": "4fbab1f01488718c3d54034a473d0346346b90e3" }, "nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" }, "nvim-dap": { "branch": "master", "commit": "f0dca670fa059eb89dda8869a6310c804241345c" }, "nvim-dap-go": { "branch": "main", "commit": "a5cc8dcad43f0732585d4793deb02a25c4afb766" }, diff --git a/lua/custom/plugins/alpha.lua b/lua/custom/plugins/alpha.lua index bd22489f..ce897052 100644 --- a/lua/custom/plugins/alpha.lua +++ b/lua/custom/plugins/alpha.lua @@ -44,10 +44,91 @@ return { 'Wi.~!X$?!-~ :: ?$$$B$Wu("**$RM!', '$R@i.~~ ! :: ~$$$$$B$$en:``', '?MXT@Wx.~ :: ~"##*$$$$M' - } + }, + alien = { + " :h- Nhy` ", + " -mh. h. `Ndho ", + " hmh+ oNm. oNdhh ", + " `Nmhd` /NNmd /NNhhd ", + " -NNhhy `hMNmmm`+NNdhhh ", + " .NNmhhs ```....`..-:/./mNdhhh+ ", + " mNNdhhh- `.-::///+++////++//:--.`-/sd` ", + " oNNNdhhdo..://++//++++++/+++//++///++/-.` ", + " y. `mNNNmhhhdy+/++++//+/////++//+++///++////-` `/oos: ", + " . Nmy: :NNNNmhhhhdy+/++/+++///:.....--:////+++///:.`:s+ ", + " h- dNmNmy oNNNNNdhhhhy:/+/+++/- ---:/+++//++//.` ", + " hd+` -NNNy`./dNNNNNhhhh+-:///// -+oo:` ::-:+////++///:` ", + " /Nmhs+oss-:++/dNNNmhho:--::/// /mmmmmo ../-///++///////. ", + " oNNdhhhhhhhs//osso/:---:::/// /yyyyso ..o+-//////////:/. ", + " /mNNNmdhhhh/://+///:::////// -:::- ..+sy+:////////::/:/. ", + " /hNNNdhhs--:/+++////++/////. ..-/yhhs-/////////::/::/` ", + " .ooo+/-::::/+///////++++//-/ossyyhhhhs/:///////:::/::::/: ", + " -///:::::::////++///+++/////:/+ooo+/::///////.::://::---+` ", + " /////+//++++/////+////-..//////////::-:::--`.:///:---:::/: ", + " //+++//++++++////+++///::-- .::::-------:: ", + " :/++++///////////++++//////. -:/:----::../- ", + " -/++++//++///+////////////// .::::---:::-.+` ", + " `////////////////////////////:. --::-----...-/ ", + " -///://////////////////////::::-.. :-:-:-..-::.`.+` ", + " :/://///:///::://::://::::::/:::::::-:---::-.-....``/- - ", + " ::::://::://::::::::::::::----------..-:....`.../- -+oo/ ", + " -/:::-:::::---://:-::-::::----::---.-.......`-/. ``", + " s-`::--:::------:////----:---.-:::...-.....`./: ", + " yMNy.`::-.--::..-dmmhhhs-..-.-.......`.....-/:` ", + " oMNNNh. `-::--...:NNNdhhh/.--.`..``.......:/- ", + " :dy+:` .-::-..NNNhhd+``..`...````.-::-` ", + " .-:mNdhh:.......--::::-` ", + " yNh/..------..` ", + " ", + }, + logo = { + " ░░ ░░ ", + " ████ ████ ", + " ██▓▓██ ██ ██ ", + " ██▓▓▓▓██ ██ ██ ", + " ██████▓▓▓▓▓▓██████████████████████████████████████ ██████ ", + " ██░░░░░░▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░██ ", + " ██▓▓▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒ ██ ", + " ██▓▓▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒▒▒ ░░▒▒▒▒ ██ ", + " ██░░▓▓▓▓▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒ ░░██ ", + " ██░░▓▓▓▓▓▓▓▓▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒ ░░██ ", + " ██░░▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒ ▒▒░░██ ", + " ██▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒░░▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒▒ ██ ", + " ██▓▓▓▓▓▓▒▒▒▒▓▓▓▓▒▒▒▒▒▒▓▓▓▓▒▒▒▒░░▒▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒ ██ ", + " ██░░▓▓▓▓▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒░░▒▒ ░░▒▒ ▒▒ ░░▒▒ ░░██ ", + " ██▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▓▓ ▒▒ ▒▒▒▒ ▒▒▒▒▒▒ ▒▒ ██ ", + " ██▓▓▓▓▒▒▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▒▒ ▒▒▒▒▒▒ ▒▒▒▒ ▒▒ ██ ", + " ██░░▓▓▓▓▒▒▒▒▓▓▒▒▓▓▒▒▒▒▓▓ ▒▒▒▒ ▒▒▒▒ ▒▒ ▒▒▒▒ ░░██ ", + " ██░░▓▓▓▓▓▓▓▓▒▒▒▒▓▓▒▒▒▒ ░░░░▒▒▒▒ ░░▒▒ ▒▒▒▒ ░░██ ", + " ██░░▒▒▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓ ▒▒▒▒░░ ▒▒▒▒▒▒ ▒▒▒▒ ▒▒░░██ ", + " ██░░░░░░▓▓▓▓▓▓░░░░░░▓▓ ░░░░ ░░ ░░░░░░ ░░░░░░██ ", + " ██░░▒▒▒▒▒▒▓▓▓▓░░▒▒▒▒▒▒▒▒▒▒ ░░▒▒ ░░ ▒▒ ░░▒▒▒▒░░██ ", + " ██░░▓▓▓▓▒▒▒▒▓▓▒▒▓▓▓▓▓▓▒▒ ▒▒░░ ▒▒▒▒▒▒ ▒▒ ▒▒▒▒ ░░██ ", + " ██░░▒▒▓▓▓▓▓▓▒▒▒▒▒▒▓▓▓▓ ▒▒ ▒▒▒▒ ▒▒▒▒▒▒ ▒▒░░██ ", + " ██░░▒▒▓▓▓▓▓▓▓▓▒▒▓▓▒▒▓▓ ▒▒ ▒▒▒▒ ▒▒ ▒▒ ▒▒░░██ ", + " ██░░▒▒▒▒▒▒▓▓▓▓▒▒▓▓▓▓▒▒▒▒ ▒▒░░ ▒▒ ▒▒ ▒▒ ▒▒▒▒▒▒░░██ ", + " ██░░▒▒▓▓▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒ ▒▒ ▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒░░██ ", + " ██░░▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▓▓ ▒▒ ▒▒▒▒ ▒▒▒▒▒▒ ▒▒░░██ ", + " ██░░▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒░░ ▒▒░░▒▒▒▒ ░░▒▒ ▒▒ ▒▒▒▒░░██ ", + " ██░░▒▒▒▒▒▒▒▒▓▓▒▒▓▓▓▓▓▓▒▒ ▒▒ ▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒░░██ ", + " ██░░▒▒▒▒▓▓▓▓▒▒▒▒▒▒▓▓▓▓ ▒▒ ▒▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒░░██ ", + " ██░░▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒░░ ▒▒▒▒░░▒▒▒▒ ░░▒▒▒▒ ░░▒▒▒▒░░██ ", + " ██░░▒▒▒▒▒▒▒▒▓▓▓▓▒▒▓▓▓▓ ▒▒▒▒ ▒▒▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒░░██ ", + " ██░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒ ▒▒░░▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░██ ", + " ██░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒ ░░▒▒▒▒ ▒▒▒▒▒▒▒▒░░██ ", + " ██░░░░▒▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒ ░░▒▒▒▒ ▒▒ ▒▒▒▒▒▒▒▒░░░░██ ", + " ██████░░░░▒▒▒▒▒▒▓▓▒▒▒▒ ▒▒▒▒░░ ▒▒▒▒ ▒▒▒▒▒▒░░░░██████ ", + " ████░░░░▒▒▒▒▒▒ ░░ ▒▒░░▒▒▒▒▒▒▒▒░░░░████ ", + " ████░░░░▒▒ ▒▒ ▒▒▒▒▓▓▓▓▓▓▒▒░░░░████ ", + " ██ ▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▓▓▓▓▓▓██ ", + " ██ ████░░░░▒▒▒▒░░▒▒▒▒░░░░████▓▓▓▓██ ", + " ██ ██ ████░░░░░░░░░░████ ██▓▓▓▓██ ", + " ████████ ████░░████ ████████ ", + " ██ ", + }, } - dashboard.section.header.val = require("ascii").art.misc.krakens.sleekraken + dashboard.section.header.val = ascii_arts['kraken']-- require("ascii").art.misc.krakens['sleekraken'] -- Set menu dashboard.section.buttons.val = { @@ -68,7 +149,7 @@ return { dashboard.section.footer.opts.hl = "Conceal" dashboard.config.opts.noautocmd = true - -- vim.cmd[[autocmd User AlphaReady echo 'ready']] + vim.cmd[[autocmd User AlphaReady echo 'ready']] alpha.setup(dashboard.opts) end diff --git a/lua/custom/plugins/colorschemes.lua b/lua/custom/plugins/colorschemes.lua index 1365cce2..81ece87f 100644 --- a/lua/custom/plugins/colorschemes.lua +++ b/lua/custom/plugins/colorschemes.lua @@ -13,8 +13,8 @@ return { { "rebelot/kanagawa.nvim", priority = 1000 }, -- latte, frappe, macchiato, mocha - { "catppuccin/nvim", priority = 1000, }, + { "catppuccin/catppuccin", priority = 1000, }, -- Theme inspired by Atom - { 'navarasu/onedark.nvim', priority = 1000, } + { 'navarasu/onedark.nvim', priority = 1000, }, }