log_cabin@lemmy.ml to KDE & Plasma users@lemmy.mlEnglish · 1 year agoHow to add more currency conversion to this menu?lemmy.mlimagemessage-square4fedilinkarrow-up18
arrow-up18imageHow to add more currency conversion to this menu?lemmy.mllog_cabin@lemmy.ml to KDE & Plasma users@lemmy.mlEnglish · 1 year agomessage-square4fedilink
minus-squareMartinR@feddit.delinkfedilinkEnglisharrow-up1·1 year agoYou can specify your target (e.g. 11 USD in INR should work), however I don’t know how to change the defaults or if KRunner is “smart” enough to automatically include INR in those conversions.
minus-squareMartinR@feddit.delinkfedilinkEnglisharrow-up1·1 year agoI’ve had a quick look at the code, there doesn’t seem to be a way to change the “default” currencies, they are hardcoded. See https://invent.kde.org/frameworks/kunitconversion/-/blob/master/src/currency.cpp and search for “addCommonUnit” and “addDefaultUnit”.
You can specify your target (e.g.
11 USD in INR
should work), however I don’t know how to change the defaults or if KRunner is “smart” enough to automatically include INR in those conversions.I’ve had a quick look at the code, there doesn’t seem to be a way to change the “default” currencies, they are hardcoded. See https://invent.kde.org/frameworks/kunitconversion/-/blob/master/src/currency.cpp and search for “addCommonUnit” and “addDefaultUnit”.