Sherlock Dict

June 5, 2025 ยท View on GitHub

application screenshot

Much like sherlock wiki, this is meant to tap into dict.org

Installation

  1. Clone the repo
git clone https://github.com/MoonBurst/sherlock_dict_rs.git
  1. Change directory into the newly created one
cd sherlock_dict_rs
  1. Build the binary
cargo build --release
  1. Move the binary into the scripts directory
mv target/release/sherlock-dictionary ~/.config/sherlock/scripts/

Usage

Apply the following to your sherlock's fallback.json file and run it with "define $words"

{
    "name": "Dictionary Lookup",
    "alias": "define",
    "type": "bulk_text",
    "async": true,
    "args": {
        "icon": "dictionary",
        "exec": "~/.config/sherlock/scripts/sherlock-dictionary",
        "exec-args": "{keyword}"
    },
    "priority": 0,
    "shortcut": false
}

Frankly, I'm not much of a programmer, this is my attempt to make something work though! There's PROBABLY a better way to do all of this.