DankTranslate

May 2, 2026 · View on GitHub

A launcher plugin for DankMaterialShell that translates text between languages using translate-shell.

Screenshot

Features

  • Translate text from the launcher with debounced async results
  • Default target language (configurable, defaults to English)
  • Override target language with a prefix code (e.g. pt, ja, es)
  • Copy translations to clipboard on selection

Installation

Nix (flake)

Add as a flake = false input and include in your DMS plugin configuration:

inputs.dms-plugin-translate = {
  url = "github:alcxyz/DankTranslate";
  flake = false;
};
programs.dank-material-shell.plugins.dankTranslate = {
  enable = true;
  src = inputs.dms-plugin-translate;
};

Manual

Copy the plugin directory to ~/.config/DankMaterialShell/plugins/DankTranslate/.

Usage

Activate with > (default trigger) in the DMS launcher, then:

  • >hello world — translate to English (default)
  • >pt hello world — translate to Portuguese
  • >ja good morning — translate to Japanese
  • Select a result to copy it to clipboard

Requirements

License

MIT

Support
  • BTC: bc1pzdt3rjhnme90ev577n0cnxvlwvclf4ys84t2kfeu9rd3rqpaaafsgmxrfa
  • ETH / ERC-20: 0x2122c7817381B74762318b506c19600fF8B8372c