Files
owlry/data/config.example.toml
vikingowl 97c6f655ca feat: add widget providers (weather, media, pomodoro)
- Weather widget with Open-Meteo/wttr.in/OpenWeatherMap API support
- 15-minute weather caching with geocoding for city names
- MPRIS media player widget with play/pause toggle via dbus-send
- Pomodoro timer widget with configurable work/break cycles
- Widgets display at top of results with emoji icons
- Improved terminal detection for Hyprland/Sway environments
- Updated gtk4 to 0.10, gtk4-layer-shell to 0.7

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 19:36:26 +01:00

136 lines
6.5 KiB
TOML

# Owlry Configuration
# Copy to: ~/.config/owlry/config.toml
#
# File Locations (XDG Base Directory compliant):
# ┌─────────────────────────────────────────────────────────────────────┐
# │ Config: ~/.config/owlry/config.toml Main configuration │
# │ Themes: ~/.config/owlry/themes/*.css Custom theme files │
# │ Style: ~/.config/owlry/style.css CSS overrides │
# │ Scripts: ~/.local/share/owlry/scripts/ Executable scripts │
# │ Data: ~/.local/share/owlry/frecency.json Usage history │
# └─────────────────────────────────────────────────────────────────────┘
# ═══════════════════════════════════════════════════════════════════════
# GENERAL
# ═══════════════════════════════════════════════════════════════════════
[general]
show_icons = true
max_results = 10
# Terminal emulator for SSH, scripts, etc.
# Auto-detection order: $TERMINAL → xdg-terminal-exec → DE-native → Wayland → X11 → xterm
# Uncomment to override:
# terminal_command = "kitty"
# Launch wrapper for app execution (auto-detected for uwsm/Hyprland)
# Examples: "uwsm app --", "hyprctl dispatch exec --", ""
# launch_wrapper = "uwsm app --"
# Header tabs - providers shown as toggle buttons (Ctrl+1, Ctrl+2, etc.)
# Values: app, cmd, uuctl, bookmark, calc, clip, dmenu, emoji, file, script, ssh, sys, web
tabs = ["app", "cmd", "uuctl"]
# ═══════════════════════════════════════════════════════════════════════
# APPEARANCE
# ═══════════════════════════════════════════════════════════════════════
[appearance]
width = 850
height = 650
font_size = 14
border_radius = 12
# Theme name - loads ~/.config/owlry/themes/{name}.css
# Built-in: owl, catppuccin-mocha, dracula, gruvbox-dark, nord,
# one-dark, rose-pine, solarized-dark, tokyo-night
# Or leave unset for GTK default
# theme = "owl"
# Color overrides (applied on top of theme)
# [appearance.colors]
# background = "#1a1b26"
# background_secondary = "#24283b"
# border = "#414868"
# text = "#c0caf5"
# text_secondary = "#565f89"
# accent = "#7aa2f7"
# accent_bright = "#89b4fa"
# badge_app = "#9ece6a"
# badge_calc = "#e0af68"
# badge_cmd = "#7aa2f7"
# badge_dmenu = "#bb9af7"
# badge_uuctl = "#f7768e"
# ═══════════════════════════════════════════════════════════════════════
# PROVIDERS
# ═══════════════════════════════════════════════════════════════════════
[providers]
# Core providers (appear in main search)
applications = true # .desktop applications
commands = true # Executables from $PATH
uuctl = true # systemd --user units
# Frecency - boost frequently/recently used items
# Data: ~/.local/share/owlry/frecency.json
frecency = true
frecency_weight = 0.3 # 0.0 = disabled, 1.0 = strong boost
# ───────────────────────────────────────────────────────────────────────
# Trigger Providers (activated by prefix)
# ───────────────────────────────────────────────────────────────────────
# Calculator: "= 5+3" or "calc 5+3" or ":calc"
calculator = true
# Web search: "? query" or "web query" or ":web"
websearch = true
search_engine = "duckduckgo"
# Options: google, duckduckgo, bing, startpage, searxng, brave, ecosia
# Custom: "https://search.example.com/?q={query}"
# File search: "/ pattern" or "find pattern" or ":file"
# Requires: fd or locate
files = true
# ───────────────────────────────────────────────────────────────────────
# Prefix Providers (use :prefix to search)
# ───────────────────────────────────────────────────────────────────────
# System: :sys or :power - shutdown, reboot, lock, suspend, hibernate, logout
system = true
# SSH: :ssh - connections from ~/.ssh/config
ssh = true
# Clipboard: :clip - history (requires cliphist)
clipboard = true
# Bookmarks: :bm - browser bookmarks (Chrome, Chromium, Brave, Edge, Vivaldi)
bookmarks = true
# Emoji: :emoji - picker (copies to clipboard)
emoji = true
# Scripts: :script - executables from ~/.local/share/owlry/scripts/
scripts = true
# ───────────────────────────────────────────────────────────────────────
# Widget Providers (shown at top of results)
# ───────────────────────────────────────────────────────────────────────
# MPRIS media player controls - shows now playing with play/pause/skip
media = true
# Weather widget - shows current conditions
weather = false
weather_provider = "wttr.in" # wttr.in (default), openweathermap, open-meteo
# weather_api_key = "" # Required for OpenWeatherMap
weather_location = "Berlin" # City name, "lat,lon", or leave empty for auto
# Pomodoro timer - work/break timer with controls
pomodoro = false
pomodoro_work_mins = 25 # Work session duration
pomodoro_break_mins = 5 # Break duration