Compare commits

...

2 Commits

Author SHA1 Message Date
40fa19cedc update 2025-12-14 12:11:07 -08:00
332c7f6832 update to new version 2025-12-14 12:10:53 -08:00
6 changed files with 47 additions and 11 deletions

View File

@@ -14,8 +14,8 @@ alias aniwrapper='aniwrapper -D 144'
## Colorls
alias ls='eza -M --group-directories-first --icons --color=always --group --git'
alias ll='ls -l'
alias la='ls -la'
alias ll='ls -lh'
alias la='ls -lah'
alias vimf='vim $(fzf --height=45% --layout=reverse --preview="bat --style=numbers --color=always --line-range :500 {}")'

View File

@@ -131,7 +131,7 @@ return {
},
-- }}}
},
strategies = {
interactions = {
chat = {
adapter = "copilot",
-- adapter = "openrouter",
@@ -182,11 +182,21 @@ return {
end,
completion_provider = "cmp",
},
fold_reasoning = true,
show_reasoning = true,
},
inline = {
adapter = "copilot",
-- adapter = "openrouter",
},
cmd = {
adapter = "copilot",
},
background = {
adapter = {
name = "copilot",
},
},
},
display = {
action_palette = {
@@ -232,7 +242,6 @@ return {
-- Options for inline diff provider
inline = {
layout = "buffer", -- float|buffer - Where to display the diff
diff_signs = {
signs = {
text = "", -- Sign text for normal changes
@@ -307,6 +316,31 @@ return {
},
},
},
rules = {
default = {
description = "Collection of common files for all projects",
files = {
".clinerules",
".cursorrules",
".goosehints",
".rules",
".windsurfrules",
".github/copilot-instructions.md",
"AGENT.md",
"AGENTS.md",
{ path = "CLAUDE.md", parser = "claude" },
{ path = "CLAUDE.local.md", parser = "claude" },
{ path = "~/.claude/CLAUDE.md", parser = "claude" },
},
is_preset = true,
},
opts = {
chat = {
enabled = true,
default_rules = "default", -- The rule groups to load
},
},
},
},
init = function()
require("utils.codecompanion.fidget-spinner"):init()

View File

@@ -50,7 +50,7 @@ end
function M:create_progress_handle(request)
local title = " Requesting assistance"
.. " ("
.. request.data.strategy
.. request.data.interaction
.. ") from "
.. request.data.adapter.formatted_name
.. " using "

View File

@@ -43,10 +43,10 @@ end
function M:create_progress_handle(request)
return progress.handle.create({
title = " Requesting assistance (" .. request.data.strategy .. ")",
title = " Requesting assistance (" .. request.data.adapter.model .. ")",
message = "In progress...",
lsp_client = {
name = M:llm_role_title(request.data.adapter),
name = M:llm_role_title(request.data.adapter.name),
},
})
end

View File

@@ -35,7 +35,7 @@
"Pihole2 - https://pihole2.suda.codes/admin",
"Proxmox - https://thebox.unicorn-ilish.ts.net",
"qBittorrent - https://qbittorrent.suda.codes",
"qui - https://qui.suda.codes",
"qui - http://pve-main:7476",
"Plausible - https://plausible.sudacode.com",
"Paperless - https://paperless.suda.codes",
"Prometheus - http://prometheus:9090",

View File

@@ -10,6 +10,8 @@ set -Eeuo pipefail
# notify-send "GAZOU" "Text: $DISPLAY_RES"
# echo "$RES" | wl-copy
slurp | grim -g - /tmp/ocr.png || exit 1
transformers_ocr recognize --image-path /tmp/ocr.png || exit 1
notify-send "tramsformers_ocr" "Text: $DISPLAY_RES"
# grim -g "$(slurp)" /tmp/ocr.png || exit 1
# slurp | grim -g - /tmp/ocr/ocr.png || exit 1
owocr -r clipboard -w clipboard -of text -n || exit 1
slurp | grim -g - | wl-copy
notify-send "ocr.sh" "Text: $DISPLAY_RES"