initial new update icon

This commit is contained in:
asep.komarudin 2024-04-14 12:13:15 +07:00
parent aec3c632f0
commit 3ca400d195
8 changed files with 84 additions and 32 deletions

View file

@ -45,7 +45,7 @@
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
"smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" },
"statuscol.nvim": { "branch": "main", "commit": "d954893262a57a92e46edd87de67e2b3fe72305e" },
"telescope.nvim": { "branch": "master", "commit": "5a701e99906961218b55d7ad6c2a998f066c6fe0" },
"telescope.nvim": { "branch": "master", "commit": "4d4ade7f2b8f403e8816ca50c05ed16e259b21fb" },
"toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" },
"vim-illuminate": { "branch": "master", "commit": "305bf07b919ac526deb5193280379e2f8b599926" },
"vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" },

View file

@ -18,6 +18,7 @@ if vim.g.neovide then
-- config for transparent
--vim.g.neovide_transparency = 0.8
vim.g.neovide_hide_mouse_when_typing = false
vim.g.neovide_transparency = 1
vim.g.neovide_underline_automatic_scaling = false
vim.g.neovide_refresh_rate_idle = 5

View file

@ -1,10 +1,10 @@
-- initial gui app
local is_neovide = false
local use_noice = true
if vim.g.neovide then
is_neovide = true
use_noice = false
end
-- if vim.g.neovide then
-- is_neovide = true
-- use_noice = false
-- end
vim.opt.lazyredraw = is_neovide
return {
{ "gelguy/wilder.nvim", enabled = not use_noice },

View file

@ -3,7 +3,7 @@ return {
{
"gelguy/wilder.nvim",
lazy = true,
event = "BufWinEnter",
event = "VeryLazy",
config = function()
local wilder = require("wilder")
wilder.setup({ modes = { ":", "/", "?" } })

View file

@ -25,14 +25,14 @@ end
local dashboard = require("alpha.themes.dashboard")
dashboard.section.header.val = board
dashboard.section.buttons.val = {
dashboard.button("f", " Find file", ":Telescope find_files <CR>"),
dashboard.button("f", "󰈞 Find file", ":Telescope find_files <CR>"),
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
dashboard.button("p", " Find project", ":Telescope projects <CR>"),
dashboard.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
dashboard.button("t", " Find text", ":Telescope live_grep <CR>"),
dashboard.button("r", "󰦛 Recently used files", ":Telescope oldfiles <CR>"),
dashboard.button("t", "󰊄 Find text", ":Telescope live_grep <CR>"),
dashboard.button("c", " Configuration", ":e $MYVIMRC <CR>"),
dashboard.button("z", " Lazy", ":Lazy<CR>"),
dashboard.button("q", " Quit Neovim", ":qa<CR>"),
dashboard.button("z", "󰒲 Lazy", ":Lazy<CR>"),
dashboard.button("q", "󰅚 Quit Neovim", ":qa<CR>"),
}
dashboard.section.footer.opts.hl = "Type"

View file

@ -11,7 +11,7 @@ return {
Event = "",
Field = "",
File = "",
Folder = "",
Folder = "󰉋",
Function = "",
Interface = "",
Key = "",
@ -19,7 +19,7 @@ return {
Method = "",
Module = "",
Namespace = "",
Null = "",
Null = "󰟢",
Number = "",
Object = "",
Operator = "",
@ -69,7 +69,7 @@ return {
Bug = "",
Stacks = "",
Scopes = "",
Watches = "",
Watches = "",
DebugConsole = "",
Calendar = "",
Check = "",
@ -80,7 +80,7 @@ return {
ChevronShortUp = "",
Circle = "",
Dot = "",
Close = "",
Close = "",
CloudDownload = "",
Code = "",
Comment = "",
@ -115,19 +115,19 @@ return {
NewFile = "",
Note = "",
Package = "",
Pencil = "",
Pencil = "󰏫",
Plus = "",
Project = "",
Search = "",
SignIn = "",
SignOut = "",
Tab = "",
Tab = "",
Table = "",
Target = "",
Telescope = "",
Text = "",
Tree = "",
Triangle = "",
Triangle = "",
TriangleShortArrowDown = "",
TriangleShortArrowLeft = "",
TriangleShortArrowRight = "",
@ -144,7 +144,7 @@ return {
BoldQuestion = "",
Question = "",
BoldHint = "",
Hint = "",
Hint = "󰌶",
Debug = "",
Trace = "",
},

View file

@ -18,13 +18,13 @@ if data_exists then
end
startify.section.header.val = dash_model
startify.section.top_buttons.val = {
startify.button("f", " Find file", ":Telescope find_files <CR>"),
startify.button("f", "󰈞 Find file", ":Telescope find_files <CR>"),
startify.button("e", " New file", ":ene <BAR> startinsert <CR>"),
startify.button("p", " Find project", ":Telescope projects <CR>"),
startify.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
startify.button("t", " Find text", ":Telescope live_grep <CR>"),
startify.button("r", "󰦛 Recently used files", ":Telescope oldfiles <CR>"),
startify.button("t", "󰊄 Find text", ":Telescope live_grep <CR>"),
startify.button("c", " Configuration", ":e $MYVIMRC <CR>"),
startify.button("z", " Lazy", ":Lazy<CR>"),
startify.button("z", "󰒲 Lazy", ":Lazy<CR>"),
-- startify.button("q", " Quit Neovim", ":qa<CR>"),
}
-- disable MRU
@ -37,7 +37,7 @@ startify.nvim_web_devicons.enabled = false
-- startify.nvim_web_devicons.highlight = 'Keyword'
--
startify.section.bottom_buttons.val = {
startify.button("q", " Quit NVIM", ":qa<CR>"),
startify.button("q", "󰅚 Quit NVIM", ":qa<CR>"),
}
local footer_text = "Pojok Code"

View file

@ -7,21 +7,18 @@ local material_icon_ok, material_icon = pcall(require, "nvim-material-icon")
if not material_icon_ok then
return
end
local prettier_icon = ""
local term_program = vim.fn.getenv("TERM_PROGRAM")
if term_program == vim.NIL then
prettier_icon = ""
end
local prettier_icon = ""
material_icon.setup({
override = {
["mjs"] = {
icon = "",
icon = "󰌞",
color = "#f2c55c",
cterm_color = "220",
name = "Mjs",
},
["js"] = {
icon = "",
icon = "󰌞",
color = "#f2c55c",
cterm_color = "220",
name = "javascript",
@ -170,6 +167,30 @@ material_icon.setup({
cterm_color = "220",
name = "README_file",
},
["sh"] = {
icon = "",
color = "#ef510b",
cterm_color = "220",
name = "README_file",
},
["pdf"] = {
icon = "",
color = "#ef510b",
cterm_color = "220",
name = "pdffile",
},
["xlsx"] = {
icon = "󱀭",
color = "#349C42",
cterm_color = "220",
name = "xlsxfile",
},
["xls"] = {
icon = "󱀭",
color = "#349C42",
cterm_color = "220",
name = "xlsfile",
},
-- ["go"] = {
-- icon = "󰟓",
-- color = "#0FBFCF",
@ -196,6 +217,12 @@ web_devicons.setup({
cterm_color = "240",
name = "viteconfigts",
},
["vite.config.js"] = {
icon = "󰉁",
color = "#ffab00",
cterm_color = "240",
name = "viteconfigjs",
},
[".releaserc"] = {
icon = "󰚧",
color = "#9C9C9C",
@ -275,7 +302,7 @@ web_devicons.setup({
name = "sequelizerc",
},
["pre-commit"] = {
icon = "",
icon = "",
color = "#75e4b3",
cterm_color = "240",
name = "pre",
@ -382,5 +409,29 @@ web_devicons.setup({
cterm_color = "220",
name = "gradlewFile-staging",
},
["nodemon.json"] = {
icon = "󰇴",
color = "#76d04b",
cterm_color = "220",
name = "nodemonjson",
},
["webpack.config.js"] = {
icon = "󰜫",
color = "#8ED6FB",
cterm_color = "220",
name = "webpackconfigjs",
},
["package.json"] = {
icon = "",
color = "#8ED6FB",
cterm_color = "220",
name = "packagejson",
},
[".gitignore"] = {
icon = "󰊢",
color = "#8ED6FB",
cterm_color = "220",
name = "gitignore",
},
},
})