Configuration

Configure YankLog to suit your workflow and preferences.

Data Storage

YankLog stores its data in:

  • Database: ~/.local/share/yanklog/history.db
  • Config: ~/.config/yanklog/config.toml

Settings (via GUI)

Click the "Settings" button to configure:

Keybindings

  • Quick Pick shortcut (display reference)
  • Number of items in Quick Pick (3-20)
  • Quick Pick window opacity (50-100%)

History

  • Maximum history entries (default: 1000)
  • Preview text length (default: 100 characters)

Performance

  • Clipboard check interval in ms (default: 500ms)

Config File Format

You can also edit the configuration file directly:

max_history_size = 1000
poll_interval_ms = 500
max_preview_length = 100
window_width = 500
window_height = 600

[keybindings]
quick_pick = "Ctrl+Shift+V"
quick_pick_items = 10
quick_pick_opacity = 0.95

Troubleshooting

"Failed to initialize database: file is not a database"

If you see this error after updating YankLog, it means your old unencrypted database is incompatible with the new encrypted storage.

Fix: Delete the old database to start fresh:

rm -rf ~/.local/share/yanklog