This commit is contained in:
DeveloperDurp 2025-04-05 07:00:35 -05:00
parent 1cc52f75cc
commit 9021f98dc7
8 changed files with 13 additions and 14 deletions

View file

@ -1 +1 @@
"Fira Mono" "Adwaita Mono"

View file

@ -8,8 +8,8 @@
## blurb: Soothing pastel theme for the high-spirited! ## blurb: Soothing pastel theme for the high-spirited!
hide_window_decorations yes hide_window_decorations yes
#font_family GoMono Nerd Font font_family GoMono Nerd Font
font_family JetBrainsMono Nerd Font Mono #font_family JetBrainsMono Nerd Font Mono
bold_font auto bold_font auto
italic_font auto italic_font auto
bold_italic_font auto bold_italic_font auto

View file

@ -1,12 +1,8 @@
{ {
"extras": [ "extras": [
"lazyvim.plugins.extras.lang.ansible",
"lazyvim.plugins.extras.lang.docker", "lazyvim.plugins.extras.lang.docker",
"lazyvim.plugins.extras.lang.go", "lazyvim.plugins.extras.lang.go",
"lazyvim.plugins.extras.lang.helm", "lazyvim.plugins.extras.lang.markdown"
"lazyvim.plugins.extras.lang.json",
"lazyvim.plugins.extras.lang.markdown",
"lazyvim.plugins.extras.lang.terraform"
], ],
"install_version": 7, "install_version": 7,
"news": { "news": {

View file

@ -1,5 +1,5 @@
local OLLAMA_TOKEN = os.getenv("OLLAMA_TOKEN") local OLLAMA_TOKEN = os.getenv("OLLAMA_TOKEN")
local LITELLM_TOKEN = os.getenv("LITELLM_TOKEN") local OPENAI_TOKEN = os.getenv("OPENAI_TOKEN")
return { return {
{ {
"olimorris/codecompanion.nvim", "olimorris/codecompanion.nvim",
@ -25,9 +25,8 @@ return {
default = "gpt-4o-mini", default = "gpt-4o-mini",
}, },
}, },
url = "https://litellm.durp.info",
env = { env = {
api_key = LITELLM_TOKEN, api_key = OPENAI_TOKEN,
}, },
}) })
end, end,

View file

@ -5,6 +5,7 @@ set-cred ()
printf "$(bw get password cli-gitlab)" | secret-tool store --label='Gitlab Token for CLI' 'token' 'GITLAB_TOKEN' printf "$(bw get password cli-gitlab)" | secret-tool store --label='Gitlab Token for CLI' 'token' 'GITLAB_TOKEN'
printf "$(bw get password cli-ollama-token)" | secret-tool store --label='Ollama Token for CLI' 'token' 'OLLAMA_TOKEN' printf "$(bw get password cli-ollama-token)" | secret-tool store --label='Ollama Token for CLI' 'token' 'OLLAMA_TOKEN'
printf "$(bw get password cli-litellm-token)" | secret-tool store --label='LiteLLM Token for CLI' 'token' 'LITELLM_TOKEN' printf "$(bw get password cli-litellm-token)" | secret-tool store --label='LiteLLM Token for CLI' 'token' 'LITELLM_TOKEN'
printf "$(bw get password cli-openai)" | secret-tool store --label='OpenAI Token for CLI' 'token' 'OPENAI_TOKEN'
unset BW_SESSION unset BW_SESSION
} }
@ -14,6 +15,7 @@ set-env ()
export GITLAB_TOKEN="$(secret-tool lookup token GITLAB_TOKEN)" export GITLAB_TOKEN="$(secret-tool lookup token GITLAB_TOKEN)"
export OLLAMA_TOKEN="$(secret-tool lookup token OLLAMA_TOKEN)" export OLLAMA_TOKEN="$(secret-tool lookup token OLLAMA_TOKEN)"
export LITELLM_TOKEN="$(secret-tool lookup token LITELLM_TOKEN)" export LITELLM_TOKEN="$(secret-tool lookup token LITELLM_TOKEN)"
export OPENAI_TOKEN="$(secret-tool lookup token OPENAI_TOKEN)"
} }
clear-env () clear-env ()
@ -21,10 +23,11 @@ clear-env ()
unset GITLAB_TOKEN unset GITLAB_TOKEN
unset OLLAMA_TOKEN unset OLLAMA_TOKEN
unset LITELLM_TOKEN unset LITELLM_TOKEN
unset OPENAI_TOKEN
} }
tmux-new () { tmux-new () {
. $HOME/.config/scripts/new-session.sh ". $HOME/.config/scripts/new-session.sh"
} }
load-profile () { load-profile () {

View file

@ -91,6 +91,7 @@ bind C-d display-popup -E -w 80% -h 75% "\
--bind 'enter:execute(tmux kill-session -t {})+accept'" --bind 'enter:execute(tmux kill-session -t {})+accept'"
bind g display-popup -E -w 80% -h 75% "lazygit" bind g display-popup -E -w 80% -h 75% "lazygit"
bind k display-popup -E -w 80% -h 75% "k9s"
bind C-f display-popup -E -w 80% -h 75% "yazi" bind C-f display-popup -E -w 80% -h 75% "yazi"
bind t if-shell -F '#{==:#{session_name},popup}' { bind t if-shell -F '#{==:#{session_name},popup}' {

@ -1 +1 @@
Subproject commit 54e899cf5b2c7ce5ca823139fb31b60cc1e90c8c Subproject commit 383c3341000ab5221f1fbbdfd03c82605e62b367