aboutsummaryrefslogtreecommitdiff
path: root/data/main.vala
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-06-05 21:43:28 -0400
committerWilliam Hua <william.hua@canonical.com>2013-06-05 21:43:28 -0400
commit5bdd35af467237f2badbf1299ea45dfe7f76af68 (patch)
tree74b7cc98d66e671b6ae8079d60678f10691d8ec5 /data/main.vala
parent91ddc799bd01ce206e2822ae4b6c58b087efc6b6 (diff)
downloadayatana-indicator-keyboard-5bdd35af467237f2badbf1299ea45dfe7f76af68.tar.gz
ayatana-indicator-keyboard-5bdd35af467237f2badbf1299ea45dfe7f76af68.tar.bz2
ayatana-indicator-keyboard-5bdd35af467237f2badbf1299ea45dfe7f76af68.zip
Optimize svg size.
Diffstat (limited to 'data/main.vala')
-rw-r--r--data/main.vala14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/main.vala b/data/main.vala
index f942a591..b34dac01 100644
--- a/data/main.vala
+++ b/data/main.vala
@@ -1,13 +1,13 @@
int main (string[] args) {
var force = false;
- var width = 220.0;
- var height = 220.0;
- var radius = 40.0;
- var colour = "grey";
+ var width = 22.0;
+ var height = 22.0;
+ var radius = 4.0;
+ var colour = "white";
var font = "Ubuntu";
var weight = 500;
- var layout_size = 120;
- var subscript_size = 80;
+ var layout_size = 12;
+ var subscript_size = 8;
string output_path = null;
string no_subscript_path = null;
string with_subscript_path = null;
@@ -18,7 +18,7 @@ int main (string[] args) {
options[2] = { "height", 'h', 0, OptionArg.DOUBLE, ref height, "Icon height", "DOUBLE" };
options[3] = { "radius", 'r', 0, OptionArg.DOUBLE, ref radius, "Icon radius", "DOUBLE" };
options[4] = { "colour", 'c', 0, OptionArg.STRING, ref colour, "Icon colour", "COLOUR" };
- options[5] = { "font", 'f', 0, OptionArg.STRING, ref font, "Font family", "NAME" };
+ options[5] = { "font", 'F', 0, OptionArg.STRING, ref font, "Font family", "NAME" };
options[6] = { "weight", 'W', 0, OptionArg.INT, ref weight, "Font weight (100 to 1000)", "INT" };
options[7] = { "layout-size", 's', 0, OptionArg.INT, ref layout_size, "Layout font size", "INT" };
options[8] = { "subscript-size", 'S', 0, OptionArg.INT, ref subscript_size, "Subscript font size", "INT" };