this post was submitted on 11 Jul 2023
8 points (100.0% liked)

KDE & Plasma users

2867 readers
1 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE's software runs on GNU/Linux, BSD and other operating systems, including Windows.

founded 5 years ago
MODERATORS
 
top 3 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 2 years ago* (last edited 2 years ago)

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 ๐Ÿคท

[โ€“] [email protected] 1 points 2 years ago (1 children)

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.

[โ€“] [email protected] 1 points 2 years ago

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".

load more comments
view more: next โ€บ