Skip to content

Commit 5f91370

Browse files
committed
refactor(mini): new starter theme w new icons
1 parent 7e16a2f commit 5f91370

3 files changed

Lines changed: 36 additions & 41 deletions

File tree

lazy-lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"blink.cmp": { "branch": "main", "commit": "b19413d214068f316c78978b08264ed1c41830ec" },
3-
"catppuccin": { "branch": "main", "commit": "beaf41a30c26fd7d6c386d383155cbd65dd554cd" },
2+
"blink.cmp": { "branch": "main", "commit": "4b18c32adef2898f95cdef6192cbd5796c1a332d" },
3+
"catppuccin": { "branch": "main", "commit": "0a5de4da015a175f416d6ef1eda84661623e0500" },
44
"dropbar": { "branch": "master", "commit": "ce202248134e3949aac375fd66c28e5207785b10" },
55
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
66
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
77
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
8-
"markview.nvim": { "branch": "main", "commit": "c81ce9ed129387fc5fdec91abe9818a1b0e6fcac" },
9-
"mini": { "branch": "main", "commit": "9b935c218ddba02e5dc75c94f90143bce1f7c646" },
8+
"markview.nvim": { "branch": "main", "commit": "9e852c299351fc2110e763edc7fc899358ee112e" },
9+
"mini": { "branch": "main", "commit": "dbb073bd2ed4a7bb35daafc7989567f0ff1426ee" },
1010
"snacks": { "branch": "main", "commit": "fe7cfe9800a182274d0f868a74b7263b8c0c020b" },
1111
"treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }
1212
}

lua/mini_nvim.lua

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -115,57 +115,48 @@ local starter = require "mini.starter"
115115

116116
M.starter = {
117117
evaluate_single = false,
118+
118119
header = table.concat({
119120
" ",
121+
" ╔════════╗ ",
122+
" ║ p w n ║ ",
123+
" ╚════════╝ ",
124+
" > build. exploit. repeat.",
120125
" ",
121-
" ",
122-
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
123-
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
124-
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄ ",
125-
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
126-
" ⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
127-
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
128-
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
129-
" ⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
130-
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄ ",
131-
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
132-
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
133-
" ", }, "\n"),
134-
footer = os.date("%B %d, %I:%M %p"),
126+
}, "\n"),
127+
128+
footer = "cwd: " .. vim.fn.fnamemodify(vim.fn.getcwd(), ":t"),
129+
135130
items = {
136131
{
137-
name = " Bookmarked Files",
138-
action = "lua MiniExtra.pickers.visit_paths { filter = 'todo' }",
139-
section = " Actions ",
140-
},
141-
{
142-
name = " Lazy Update",
143-
action = ":Lazy update",
144-
section = " Actions ",
132+
name = "  Find files",
133+
action = "lua MiniPick.builtin.files()",
134+
section = "  start ",
145135
},
146136
{
147-
name = " Open Blank File",
148-
action = ":enew",
149-
section = " Actions ",
137+
name = "  Recent",
138+
action = "lua MiniExtra.pickers.oldfiles()",
139+
section = "  start ",
150140
},
151141
{
152-
name = " Find Files",
153-
action = "lua MiniPick.builtin.files()",
154-
section = " Actions ",
142+
name = "  Nvim config",
143+
action = "edit $MYVIMRC",
144+
section = "  start ",
155145
},
156146
{
157-
name = " Recent Files",
158-
action = "lua MiniExtra.pickers.oldfiles()",
159-
section = " Actions ",
147+
name = "  Projects",
148+
action = "lua MiniPick.builtin.grep_live()",
149+
section = "  work ",
160150
},
161151
{
162-
name = " Quit",
163-
action = ":q!",
164-
section = " Actions ",
152+
name = " 󰗼 Quit",
153+
action = "qa",
154+
section = "  exit ",
165155
},
166156
},
157+
167158
content_hooks = {
168-
starter.gen_hook.aligning("center", "center"),
159+
require("mini.starter").gen_hook.aligning("center", "center"),
169160
},
170161
}
171162

lua/plugins/cpt.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ return {
99
end,
1010
opts = {
1111
background = { light = "latte", dark = "mocha" },
12-
transparent_background = not vim.g.neovide,
12+
float = {
13+
transparent = true, -- Enables transparency for floating windows
14+
solid = true, -- If true, uses a solid background for floats
15+
},
16+
transparent_background = true,
1317
compile_path = vim.fn.stdpath "cache" .. "/catppuccin",
1418
compile = true,
1519
styles = {
@@ -23,7 +27,7 @@ return {
2327
},
2428
integrations = {
2529
snacks = {
26-
enabled = false,
30+
enabled = true,
2731
indent_scope_color = "lavender",
2832
},
2933
treesitter = true,

0 commit comments

Comments
 (0)