feat: add new terminal command for enhanced startup experience
This commit is contained in:
@@ -34,14 +34,14 @@ return {
|
|||||||
sections = function()
|
sections = function()
|
||||||
if not require('data.func').is_neovide() then
|
if not require('data.func').is_neovide() then
|
||||||
return {
|
return {
|
||||||
{
|
|
||||||
section = 'terminal',
|
|
||||||
cmd = 'pokemon-colorscripts -n porygon-z --no-title',
|
|
||||||
padding = 0,
|
|
||||||
height = 20,
|
|
||||||
indent = 44,
|
|
||||||
},
|
|
||||||
{ section = 'header', indent = 58 },
|
{ section = 'header', indent = 58 },
|
||||||
|
-- {
|
||||||
|
-- section = 'terminal',
|
||||||
|
-- cmd = 'pokemon-colorscripts -n porygon-z --no-title',
|
||||||
|
-- padding = 0,
|
||||||
|
-- height = 20,
|
||||||
|
-- indent = 44,
|
||||||
|
-- },
|
||||||
{ section = 'keys', gap = 1, padding = 1 },
|
{ section = 'keys', gap = 1, padding = 1 },
|
||||||
{
|
{
|
||||||
pane = 2,
|
pane = 2,
|
||||||
@@ -49,7 +49,7 @@ return {
|
|||||||
title = 'Recent Files',
|
title = 'Recent Files',
|
||||||
section = 'recent_files',
|
section = 'recent_files',
|
||||||
indent = 2,
|
indent = 2,
|
||||||
padding = { 2, 20 },
|
padding = { 2, 4 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pane = 2,
|
pane = 2,
|
||||||
@@ -70,7 +70,16 @@ return {
|
|||||||
indent = 3,
|
indent = 3,
|
||||||
ttl = 1 * 60, -- Time between git updates
|
ttl = 1 * 60, -- Time between git updates
|
||||||
},
|
},
|
||||||
{ section = 'startup' },
|
{ section = 'startup', padding = 2 },
|
||||||
|
{
|
||||||
|
section = 'terminal',
|
||||||
|
cmd = 'kusa rootiest && sleep 0.2',
|
||||||
|
-- cmd = 'gh graph -s github -p %E2%96%88',
|
||||||
|
padding = { 0, 0 },
|
||||||
|
height = 10,
|
||||||
|
width = 106,
|
||||||
|
indent = 8,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user