
Much like sherlock wiki, this is meant to tap into dict.org
- Clone the repo
git clone https://github.com/MoonBurst/sherlock_dict_rs.git
- Change directory into the newly created one
cd sherlock_dict_rs
- Build the binary
cargo build --release
- Move the binary into the scripts directory
mv target/release/sherlock-dictionary ~/.config/sherlock/scripts/
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.