Skip to main content
otter-calc evaluates math expressions from the command line. Type an expression, get the result. Pass --copy to put it on the clipboard.

Usage

Pass your expression as a single argument or as multiple arguments. otter-calc joins them before evaluating.

Configuration

otter-calc reads ~/.config/otter-shell/otter-calc.conf.
  • copy_result: true always copies the result without passing --copy
--copy uses the shared Otter clipboard helper (otter-copy). In packaged installs, wl-copy is shadowed to otter-copy so clipboard integration works transparently.