Skip to content

Commit 557fcd2

Browse files
authored
Merge pull request #55 from deefrawley/currency_converter_detail
Currency Converter and General Converter plugin details update
2 parents 5901d59 + b6910d8 commit 557fcd2

File tree

14 files changed

+435
-17
lines changed

14 files changed

+435
-17
lines changed

src/assets/styles/reset.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ time, mark, audio, video {
2121
border: 0;
2222
font-size: 100%;
2323
font: inherit;
24-
vertical-align: baseline;
2524
}
2625
/* HTML5 display-role reset for older browsers */
2726
article, aside, details, figcaption, figure,

src/assets/styles/variables.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
--plugin-official-text: #594504;
5757
--font-family: "Noto Sans", "Segoe UI", "Inter", sans-serif;
5858
--font-family-mono: "Source Code Pro", "JetBrains Mono", "Fira Code", "Roboto Mono", monospace;
59+
--table-row-bg: #fff;
60+
--table-row-bg-alternate: #f7fbff;
61+
--table-cell-sep: #e0e8f0;
5962
}
6063

6164
:root[data-theme="dark"] {
@@ -107,4 +110,7 @@
107110
--theme-toggle-button-icon: #d8d8d8;
108111
--plugin-official-background: #594504;
109112
--plugin-official-text: #f2bd0c;
113+
--table-row-bg: #161b22;
114+
--table-row-bg-alternate: #0d1117;
115+
--table-cell-sep: #3b4554;
110116
}
Loading

src/data/plugins/currency-converter/plugin.md

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,53 @@ id: 18892B7863AC43ABA27859A5A2866DD8
33
# Uncomment and fill in relevant sections if you provide videos and/or images
44
#videos:
55
#- https://youtu.be/dQw4w9WgXcQ
6-
#images:
7-
#- image1.png
8-
#- image2.png
9-
#- image3.png
106
tags:
117
- Calculators & Converters
128
- Finance
139
---
10+
# Currency Converter (Flow.Launcher.Plugin.Currency)
11+
12+
Currency conversion for the Flow Launcher
13+
14+
![screenshot](images/cc_screenshot.png)
15+
16+
### About
17+
18+
Uses the [European Central Bank](https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html) daily rates to get and convert currency exchange rates.
19+
20+
Currency code that can be used are:
21+
22+
'AUD' , 'BGN' , 'BRL' , 'CAD' , 'CHF' , 'CNY' , 'CZK' , 'DKK' , 'GBP', 'HKD' , 'HRK' , 'HUF' , 'IDR' , 'ILS' , 'INR' , 'ISK' , 'JPY' , 'KRW', 'MXN', 'MYR' , 'NOK' , 'NZD' , 'PHP' , 'PLN' , 'RON' , 'RUB' , 'SEK', 'SGD' , 'THB' , 'TRY' , 'USD' , 'ZAR' , 'EUR'
23+
24+
### Requirements
25+
26+
Flow Launcher should take care of the installation of Python for you if it is not on your system, as well as the libraries needed by this plugin.
27+
28+
You must be online when you run the plugin in Flow to download the currency XML file, or you will get a connection error. A local copy of the local XML file from a previous download can be used if it exists.
29+
30+
### Plugin Settings
31+
32+
Type `settings` in Flow to access the Flow settings window, then go to Plugins - Currency Converter
33+
34+
__Keyword (default 'cc')__ - change this to set a new keyword to activate the plugin
35+
36+
__File age (default 6)__ - the age in hours for the local copy of the rates file to be used before the plugin downloads a fresh copy
37+
38+
### Localisation
39+
40+
Currently English and Chinese language supported. Edit the .env file to change the language.
41+
42+
### Usage
43+
44+
| Keyword | Description |
45+
| ---------------------------------------------------------------- | ------------------------------------------- |
46+
| `cc {amount} {source currency code} {destination currency code}` | Convert amount from source to dest currency |
47+
48+
When typing the source or destination currency the plugin will show what currencies are available.
49+
50+
Decimal precision is based on the input amount however the base rate is always a minimum of three decimal places.
51+
52+
### Problems, errors and feature requests
53+
54+
Open an issue in the plugin repo.
55+
Loading
Loading
Loading
Loading
Loading
Loading
Loading

src/data/plugins/general-converter/plugin.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)