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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -18,13 +18,13 @@ if data_exists then
end end
startify.section.header.val = dash_model startify.section.header.val = dash_model
startify.section.top_buttons.val = { 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("e", " New file", ":ene <BAR> startinsert <CR>"),
startify.button("p", " Find project", ":Telescope projects <CR>"), startify.button("p", " Find project", ":Telescope projects <CR>"),
startify.button("r", " Recently used files", ":Telescope oldfiles <CR>"), startify.button("r", "󰦛 Recently used files", ":Telescope oldfiles <CR>"),
startify.button("t", " Find text", ":Telescope live_grep <CR>"), startify.button("t", "󰊄 Find text", ":Telescope live_grep <CR>"),
startify.button("c", " Configuration", ":e $MYVIMRC <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>"), -- startify.button("q", " Quit Neovim", ":qa<CR>"),
} }
-- disable MRU -- disable MRU
@ -37,7 +37,7 @@ startify.nvim_web_devicons.enabled = false
-- startify.nvim_web_devicons.highlight = 'Keyword' -- startify.nvim_web_devicons.highlight = 'Keyword'
-- --
startify.section.bottom_buttons.val = { startify.section.bottom_buttons.val = {
startify.button("q", " Quit NVIM", ":qa<CR>"), startify.button("q", "󰅚 Quit NVIM", ":qa<CR>"),
} }
local footer_text = "Pojok Code" 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 if not material_icon_ok then
return return
end end
local prettier_icon = ""
local term_program = vim.fn.getenv("TERM_PROGRAM") local prettier_icon = ""
if term_program == vim.NIL then
prettier_icon = ""
end
material_icon.setup({ material_icon.setup({
override = { override = {
["mjs"] = { ["mjs"] = {
icon = "", icon = "󰌞",
color = "#f2c55c", color = "#f2c55c",
cterm_color = "220", cterm_color = "220",
name = "Mjs", name = "Mjs",
}, },
["js"] = { ["js"] = {
icon = "", icon = "󰌞",
color = "#f2c55c", color = "#f2c55c",
cterm_color = "220", cterm_color = "220",
name = "javascript", name = "javascript",
@ -170,6 +167,30 @@ material_icon.setup({
cterm_color = "220", cterm_color = "220",
name = "README_file", 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"] = { -- ["go"] = {
-- icon = "󰟓", -- icon = "󰟓",
-- color = "#0FBFCF", -- color = "#0FBFCF",
@ -196,6 +217,12 @@ web_devicons.setup({
cterm_color = "240", cterm_color = "240",
name = "viteconfigts", name = "viteconfigts",
}, },
["vite.config.js"] = {
icon = "󰉁",
color = "#ffab00",
cterm_color = "240",
name = "viteconfigjs",
},
[".releaserc"] = { [".releaserc"] = {
icon = "󰚧", icon = "󰚧",
color = "#9C9C9C", color = "#9C9C9C",
@ -275,7 +302,7 @@ web_devicons.setup({
name = "sequelizerc", name = "sequelizerc",
}, },
["pre-commit"] = { ["pre-commit"] = {
icon = "", icon = "",
color = "#75e4b3", color = "#75e4b3",
cterm_color = "240", cterm_color = "240",
name = "pre", name = "pre",
@ -382,5 +409,29 @@ web_devicons.setup({
cterm_color = "220", cterm_color = "220",
name = "gradlewFile-staging", 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",
},
}, },
}) })