feat(calc): Show calculations globally if query is a math expression

This commit is contained in:
Michael Aaron Murphy 2021-10-20 21:40:10 +02:00
parent e7e6007e26
commit b8192e1df1
2 changed files with 27 additions and 13 deletions

View file

@ -2,9 +2,10 @@
name: "Calculator with unit conversion (uses Qalculate! expressions)",
description: "Syntax: = <expression>\nExample: = 10 J / (196x^2) = 4 kW/s",
query: (
regex: "^(=)+",
regex: ".*[0-9].*",
help: "= ",
isolate: true,
priority: High,
isolate_with: "^(=).*",
),
bin: (path: "calc"),
icon: Name("x-office-spreadsheet")