log_cabin@lemmy.ml to KDE & Plasma users@lemmy.mlEnglish · 1 year agoHow to add more currency conversion to this menu?lemmy.mlimagemessage-square2fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageHow to add more currency conversion to this menu?lemmy.mllog_cabin@lemmy.ml to KDE & Plasma users@lemmy.mlEnglish · 1 year agomessage-square2fedilink
minus-squareMartinR@feddit.delinkfedilinkEnglisharrow-up0·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-up0·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”.