lkde·KDE & Plasma usersbylog_cabin How to add more currency conversion to this menu?View original on lemmy.ml8Comments4Reply
Riskable programming.devI'd like to figure this out as well but I must admit the only currency I ever want to convert is USD to Yen and vice versa 😁 For reference, that's Krunner. So maybe a search for "Krunner currency" stuff might help 🤷3Reply
MMartinR feddit.de1Hide 1 replyYou 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.1Reply
MMartinR replyfeddit.deI'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".1Reply
4 replies
I'd like to figure this out as well but I must admit the only currency I ever want to convert is USD to Yen and vice versa 😁
For reference, that's Krunner. So maybe a search for "Krunner currency" stuff might help 🤷
You can specify your target (e.g.
11 USD in INRshould 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".