A dead-simple calculator built with Qt Quick and C++ that automatically follows the Omarchy theme and system dark/light mode.
Install via the Omarchy Package Repository via the omacalc package.
The keypad covers the basics: the four arithmetic operators with the usual
precedence (× and ÷ before + and −), decimals, percent, sign toggle,
and backspace. The expression builds up above the display and stays visible
with the result after =, so 42 × 3 + 7 reads back exactly as it was entered.
From the keyboard, ^ raises to a power ahead of everything else, so
2 × 3 ^ 2 gives 18.
Numbers are grouped with thousands separators as you type, in the display and
the expression line alike, so 1234567.89 reads as 1,234,567.89. The
fraction is left ungrouped.
Percent follows the familiar calculator convention: with a pending + or −
it takes that percentage of the running total (200 + 10 % = gives 220),
while with ×, ÷, or ^ — or on its own — it simply divides by 100.
Everything works from the keyboard too:
0-9,.,+,-,*orx,/,^, and%enter digits and operators. The numpad enters digits whether or not NumLock is on.Enteror=calculates.Backspacedeletes the last digit.CorEscapeclears.Stoggles the sign.Ctrl+CorSuper+Ccopies the result, without separators.Ctrl+VorSuper+Vpastes a number, with or without separators.
Colors follow the current Omarchy theme (~/.local/state/omarchy/current/theme/colors.toml)
and re-tint live when the theme changes. Text follows the desktop text size —
omarchy display text size, or GNOME's text-scaling-factor.
- Qt 6:
qt6-base,qt6-declarative xdg-desktop-portaland a portal backend
The iA Writer Mono font is bundled under the SIL Open Font License 1.1; see
fonts/OFL.txt. The font is copyright Information Architects Inc. and based on
IBM Plex, copyright IBM Corp.
bin/build compiles build/omacalc with CMake, and bin/test builds and runs the tests offscreen. Building needs cmake, make, and a C++ compiler on top of the Qt packages above. The package itself is built in omarchy-pkgs.