aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2014-04-02 19:19:54 +1300
committerWilliam Hua <william.hua@canonical.com>2014-04-02 19:19:54 +1300
commit501dea35749f1af050b5992f6eefa7db29068508 (patch)
treeef95f5e4fadbb6f83c672191f3f99590053187d6
parent8c6fd2e9daff0d486ab71c50413dadff6d1c12d8 (diff)
downloadayatana-indicator-keyboard-501dea35749f1af050b5992f6eefa7db29068508.tar.gz
ayatana-indicator-keyboard-501dea35749f1af050b5992f6eefa7db29068508.tar.bz2
ayatana-indicator-keyboard-501dea35749f1af050b5992f6eefa7db29068508.zip
Document the icon generator.
-rw-r--r--README17
1 files changed, 17 insertions, 0 deletions
diff --git a/README b/README
index e69de29b..2928a41c 100644
--- a/README
+++ b/README
@@ -0,0 +1,17 @@
+indicator-keyboard-icon-generator
+=================================
+
+To refresh the keyboard layout icons, I usually enter the data directory and
+run:
+
+./indicator-keyboard-icon-generator -i icon.svg.in -I icon-1.svg.in -o dark -c '#dfdbd2'
+./indicator-keyboard-icon-generator -i icon.svg.in -I icon-1.svg.in -o light -c '#3c3c3c'
+('#dfdbd2' and '#3c3c3c' are the colours for the dark and light themes.)
+
+Then I just copy the files in the dark and light directories to
+ubuntu-mono-dark/status/22 and ubuntu-mono-light/status/22 in the ubuntu-themes
+source package.
+
+data/icon.svg.in and data/icon-1.svg.in are template files for the
+un-subscripted and subscripted icons. Parameters can be tweaked on the command
+line for the generator: './indicator-keyboard-icon-generator -?' for details.