Inital Comit Upload Config Files

This commit is contained in:
2026-03-17 00:30:35 +01:00
commit a07d19b8a8
36 changed files with 1796 additions and 0 deletions

14
scripts/ai-stuff/ai-command.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
source "$HOME/.config/hypr/scripts/ai-stuff/ollama-common.sh"
PROMPT=$(wofi --dmenu --prompt "Linux Command")
[ -z "$PROMPT" ] && exit 0
FULL_PROMPT="Gib ausschließlich genau einen Linux-Befehl zurück, ohne Erklärungen, ohne Markdown, ohne Codeblock. Aufgabe: $PROMPT"
CMD=$(ask_ollama "$FULL_PROMPT" | head -n 1)
kitty --title "AI Command" bash -lc "cat <<'EOF'
$CMD
EOF
echo
read -n 1 -s -r -p 'Taste drücken zum Schließen...'"