Compare commits
6 Commits
971a263963
...
overlay-up
| Author | SHA1 | Date | |
|---|---|---|---|
| 67648eda89 | |||
| 76ac41a965 | |||
| 5c70cdc20f | |||
| c21066e810 | |||
| 93b15391ca | |||
| 317571499e |
@@ -0,0 +1,100 @@
|
||||
k9s:
|
||||
body:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
logoColor: '#cba6f7'
|
||||
prompt:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#181825'
|
||||
suggestColor: '#89b4fa'
|
||||
help:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
sectionColor: '#a6e3a1'
|
||||
keyColor: '#89b4fa'
|
||||
numKeyColor: '#eba0ac'
|
||||
frame:
|
||||
title:
|
||||
fgColor: '#94e2d5'
|
||||
bgColor: '#1e1e2e'
|
||||
highlightColor: '#f5c2e7'
|
||||
counterColor: '#f9e2af'
|
||||
filterColor: '#a6e3a1'
|
||||
border:
|
||||
fgColor: '#cba6f7'
|
||||
focusColor: '#b4befe'
|
||||
menu:
|
||||
fgColor: '#cdd6f4'
|
||||
keyColor: '#89b4fa'
|
||||
numKeyColor: '#eba0ac'
|
||||
crumbs:
|
||||
fgColor: '#1e1e2e'
|
||||
bgColor: '#eba0ac'
|
||||
activeColor: '#f2cdcd'
|
||||
status:
|
||||
newColor: '#89b4fa'
|
||||
modifyColor: '#b4befe'
|
||||
addColor: '#a6e3a1'
|
||||
pendingColor: '#fab387'
|
||||
errorColor: '#f38ba8'
|
||||
highlightColor: '#89dceb'
|
||||
killColor: '#cba6f7'
|
||||
completedColor: '#6c7086'
|
||||
info:
|
||||
fgColor: '#fab387'
|
||||
sectionColor: '#cdd6f4'
|
||||
views:
|
||||
table:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
cursorFgColor: '#313244'
|
||||
cursorBgColor: '#45475a'
|
||||
markColor: '#f5e0dc'
|
||||
header:
|
||||
fgColor: '#f9e2af'
|
||||
bgColor: '#1e1e2e'
|
||||
sorterColor: '#89dceb'
|
||||
xray:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
cursorColor: '#45475a'
|
||||
cursorTextColor: '#1e1e2e'
|
||||
graphicColor: '#f5c2e7'
|
||||
charts:
|
||||
bgColor: '#1e1e2e'
|
||||
chartBgColor: '#1e1e2e'
|
||||
dialBgColor: '#1e1e2e'
|
||||
defaultDialColors:
|
||||
- '#a6e3a1'
|
||||
- '#f38ba8'
|
||||
defaultChartColors:
|
||||
- '#a6e3a1'
|
||||
- '#f38ba8'
|
||||
resourceColors:
|
||||
cpu:
|
||||
- '#cba6f7'
|
||||
- '#89b4fa'
|
||||
mem:
|
||||
- '#f9e2af'
|
||||
- '#fab387'
|
||||
yaml:
|
||||
keyColor: '#89b4fa'
|
||||
valueColor: '#cdd6f4'
|
||||
colonColor: '#a6adc8'
|
||||
logs:
|
||||
fgColor: '#cdd6f4'
|
||||
bgColor: '#1e1e2e'
|
||||
indicator:
|
||||
fgColor: '#b4befe'
|
||||
bgColor: '#1e1e2e'
|
||||
toggleOnColor: '#a6e3a1'
|
||||
toggleOffColor: '#a6adc8'
|
||||
dialog:
|
||||
fgColor: '#f9e2af'
|
||||
bgColor: '#9399b2'
|
||||
buttonFgColor: '#1e1e2e'
|
||||
buttonBgColor: '#7f849c'
|
||||
buttonFocusFgColor: '#1e1e2e'
|
||||
buttonFocusBgColor: '#f5c2e7'
|
||||
labelFgColor: '#f5e0dc'
|
||||
fieldFgColor: '#cdd6f4'
|
||||
|
||||
@@ -12,6 +12,9 @@ return {
|
||||
-- { import = "astrocommunity.pack.go "}, -- golang support
|
||||
{ import = "astrocommunity.pack.fish" }, -- fish support
|
||||
-- { import = "astrocommunity.pack.cs" }, -- csharp/dotnet support
|
||||
{ import = "astrocommunity.completion.copilot-lua" }, -- copilot
|
||||
{ import = "astrocommunity.completion.copilot-lua-cmp" }, -- copilot
|
||||
{ import = "astrocommunity.recipes.heirline-mode-text-statusline" }, -- statusline customization
|
||||
|
||||
-- import/override with your plugins folder
|
||||
}
|
||||
|
||||
43
defaults/nvim/lua/plugins/mappings.lua
Normal file
43
defaults/nvim/lua/plugins/mappings.lua
Normal file
@@ -0,0 +1,43 @@
|
||||
local function toggle_floating_tui(cmd)
|
||||
local terminal
|
||||
|
||||
return function()
|
||||
if not terminal then
|
||||
local Terminal = require("toggleterm.terminal").Terminal
|
||||
terminal = Terminal:new {
|
||||
cmd = cmd,
|
||||
hidden = true,
|
||||
close_on_exit = true,
|
||||
direction = "float",
|
||||
on_open = function() vim.cmd "startinsert!" end,
|
||||
}
|
||||
end
|
||||
|
||||
terminal:toggle()
|
||||
end
|
||||
end
|
||||
|
||||
local toggle_k9s = toggle_floating_tui "k9s"
|
||||
local toggle_ghdash = toggle_floating_tui "gh-dash"
|
||||
|
||||
return {
|
||||
{
|
||||
"AstroNvim/astrocore",
|
||||
---@type AstroCoreOpts
|
||||
opts = {
|
||||
mappings = {
|
||||
n = {
|
||||
["<Leader>k"] = { desc = "Kubernetes" },
|
||||
["<Leader>ki"] = {
|
||||
toggle_k9s,
|
||||
desc = "K9s",
|
||||
},
|
||||
["<Leader>gD"] = {
|
||||
toggle_ghdash,
|
||||
desc = "GitHub dashboard",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
liveViewAutoRefresh = false;
|
||||
apiServerTimeout = "30s";
|
||||
maxConnRetry = 5;
|
||||
readOnly = true;
|
||||
# readOnly = true;
|
||||
noExitOnCtrlC = false;
|
||||
portForwardAddress = "localhost";
|
||||
skipLatestRevCheck = false;
|
||||
|
||||
@@ -10,13 +10,14 @@ final: prev: let
|
||||
};
|
||||
in {
|
||||
lazygitLatest = prev.lazygit.overrideAttrs (_: rec {
|
||||
version = "0.55.1";
|
||||
version = "0.61.0";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "jesseduffield";
|
||||
repo = "lazygit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UofhgILZhVXnYiGpb25m4Ct4sbu5pRmjVgj3oEf5Uyk=";
|
||||
hash = "sha256-G7JulCK9WUVWbp1V7lYuM3fehCdn1cNAJHYjr3aKDvQ=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
subPackages = [ "." ];
|
||||
ldflags = [
|
||||
@@ -28,21 +29,31 @@ in {
|
||||
atuinLatest = (prev.atuin.override {
|
||||
rustPlatform = myRustPlatform;
|
||||
}).overrideAttrs (oldAttrs: rec {
|
||||
version = "18.10.0";
|
||||
version = "18.13.6";
|
||||
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "atuinsh";
|
||||
repo = "atuin";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-bfSa3RtVXxHt3usDqqpE/oXKKDUZOrf+tD9uL59fr6M=";
|
||||
hash = "sha256-yAw+ty6FUnFbiRTdAe2QQHzj6uU24fZ/bEIXcHl/thg=";
|
||||
};
|
||||
|
||||
cargoDeps = myRustPlatform.fetchCargoVendor {
|
||||
# name = "atuin-${version}-vendor.tar.gz";
|
||||
inherit src;
|
||||
hash = "sha256-67ffivZVCly1GWA3fJ9mT8nGv2EGd6eCthbaIu/IW3M=";
|
||||
hash = "sha256-jirVe0+N5+UHZWioj8AipUhawMBameqEJJpa8HPTnfw=";
|
||||
};
|
||||
|
||||
cargoBuildFeatures = [
|
||||
"ai"
|
||||
"client"
|
||||
"clipboard"
|
||||
"daemon"
|
||||
"hex"
|
||||
"sync"
|
||||
];
|
||||
cargoCheckFeatures = cargoBuildFeatures;
|
||||
|
||||
preCheck = (oldAttrs.preCheck or "") + ''
|
||||
export HOME="$TMPDIR"
|
||||
export XDG_CONFIG_HOME="$TMPDIR/.config"
|
||||
|
||||
Reference in New Issue
Block a user