c/kde · by log_cabin@lemmy.ml · 3yHow to add more currency conversion to this menu? 8 points · 4 comments · view on lemmy.world
4 Comments
riskable@programming.dev · 3 pts · 3y
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 🤷
MartinR@feddit.de · 1 pts · 3y
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.MartinR@feddit.de · 1 pts · 3y
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".