diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ + diff --git a/lua/custom/dashboard.lua b/lua/custom/dashboard.lua new file mode 100644 index 0000000..f814827 --- /dev/null +++ b/lua/custom/dashboard.lua @@ -0,0 +1,10 @@ +return "" -- hapus line ini dan buka remark dibawah (ganti dengan dashboard kalian) + +-- return { +-- [[ __ ]], +-- [[ ___ ___ ___ __ __ /\_\ ___ ___ ]], +-- [[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]], +-- [[/\ \/\ \/\ __//\ \_\ \ \ \_/ |\ \ \/\ \/\ \/\ \ ]], +-- [[\ \_\ \_\ \____\ \____/\ \___/ \ \_\ \_\ \_\ \_\]], +-- [[ \/_/\/_/\/____/\/___/ \/__/ \/_/\/_/\/_/\/_/]], +-- } diff --git a/lua/user/alpha.lua b/lua/user/alpha.lua index bada5e9..a5823af 100644 --- a/lua/user/alpha.lua +++ b/lua/user/alpha.lua @@ -3,8 +3,7 @@ if not status_ok then return end -local dashboard = require("alpha.themes.dashboard") -dashboard.section.header.val = { +local board = { [[ _ _ _ ]], [[ (_) | | | | ]], [[ _ __ ___ _ ___ | | __ ___ ___ __| | ___ ]], @@ -14,6 +13,14 @@ dashboard.section.header.val = { [[| | _/ | ]], [[|_| |__/ ]], } + +local custom_dasboard = require("custom.dashboard") +if custom_dasboard ~= "" then + board = custom_dasboard +end + +local dashboard = require("alpha.themes.dashboard") +dashboard.section.header.val = board dashboard.section.buttons.val = { dashboard.button("f", " Find file", ":Telescope find_files "), dashboard.button("e", " New file", ":ene startinsert "),