keyboard/altgr: automatically generate thumbnails from source images
[sheet.git] / keyboard / altgr / ukext.eng.inc.pl
index affecaf288b4403474af6cefa0e7ae7135a4f9fa..3e3a8ce7dafe5e2b00054f2c689c776f86ec96df 100644 (file)
@@ -1,7 +1,9 @@
 use utf8;
 use strict;
 use warnings;
-our %rows = (
+use Shiar_Sheet::KeyboardChars 'kbchars';
+
+my %rows = (
        '~' => '¦',
        '!' => '¡',
        '1' => '¹',
@@ -100,7 +102,7 @@ $rows{'['} = $rows{'2'};
 $rows{']'} = $rows{'#'};
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        title => 'UK-extended',
        version => '1.0',
        intro => join("\n",
@@ -112,5 +114,5 @@ $rows{']'} = $rows{'#'};
                "Google UK-Extended keyboard layout table for Chrome OS",
                "with the AltGr modifier key.",
        ],
-       image => 'keyboard/altgr/chromebook-hp11.jpg',
+       image => 'data/keyboard/thumb/chromebook-hp11.jpg',
 }