update scripts

This commit is contained in:
2026-02-03 17:10:02 -08:00
committed by sudacode
parent bd6eefe084
commit 35357f1674
2 changed files with 46 additions and 46 deletions

View File

@@ -10,9 +10,9 @@ import sys
import requests import requests
# Configuration
OPENROUTER_API_KEY = os.environ.get("OPENROUTER_API_KEY", "") OPENROUTER_API_KEY = os.environ.get("OPENROUTER_API_KEY", "")
MODEL = os.environ.get("OPENROUTER_MODEL", "google/gemini-2.0-flash-001") # MODEL = os.environ.get("OPENROUTER_MODEL", "google/gemini-2.0-flash-001")
MODEL = os.environ.get("OPENROUTER_MODEL", "openai/gpt-oss-120b:free")
API_URL = "https://openrouter.ai/api/v1/chat/completions" API_URL = "https://openrouter.ai/api/v1/chat/completions"
# Try to load API key from file if not in environment # Try to load API key from file if not in environment

View File

@@ -61,7 +61,7 @@ get_video_thumbnail() {
} }
selection=$(build_rofi_menu | rofi -dmenu -i -show-icons -theme "$THEME" \ selection=$(build_rofi_menu | rofi -dmenu -i -show-icons -theme "$THEME" \
-theme-str 'listview {columns: 1; lines: 15;} window {width: 88%;}' -p "Choose Video ") -theme-str 'configuration {font: "JetBrainsMono Nerd Font 10";} listview {columns: 1; lines: 15;} window {width: 88%;}' -p "Choose Video ")
if [[ -z "$selection" ]]; then if [[ -z "$selection" ]]; then
echo "No video selected." echo "No video selected."