add calculator plugin (#104)

* feat: add calculator plugin

* add MIT license

* fix(calculator): typo

* fix(calculator): wrong PANEL_ID

* remove LICENSE
This commit is contained in:
Yuuto
2026-07-26 08:39:45 -04:00
committed by GitHub
parent e70da314ce
commit 074247e865
7 changed files with 1191 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"bar": {
"tooltip": "Calculator"
},
"panel": {
"title": "Calculator",
"placeholder": "Type an expression, press Enter",
"copy": "Copy result",
"copied": "Copied {value}",
"rad": "RAD",
"deg": "DEG"
},
"state": {
"error": "Error"
},
"settings": {
"precision": {
"label": "Decimal precision",
"description": "Maximum number of decimals used when formatting results."
},
"angle_unit": {
"label": "Angle unit",
"description": "Unit used by the trigonometric functions.",
"options": {
"rad": "Radians",
"deg": "Degrees"
}
},
"show_bar_value": {
"label": "Show value in bar",
"description": "Display the last result next to the calculator icon."
},
"max_bar_length": {
"label": "Maximum bar length",
"description": "Longer results are shortened with an ellipsis in the bar."
}
}
}