~gagbo/xkb_installer

07f936564167a20f0fd4376da95b5f6e88ae9ce1 — Gerry Agbobada 1 year, 8 months ago 36de4b9 main
Add doc
1 files changed, 4 insertions(+), 0 deletions(-)

M xkb_installer.pl
M xkb_installer.pl => xkb_installer.pl +4 -0
@@ 1,5 1,7 @@
#!/usr/bin/env perl

# The aim of this script is to ease the installation of custom xkb keyboard layouts

use warnings;
use strict;



@@ 11,6 13,7 @@ my $xkb_cat = "opti";
my $xkb_name = "optimot_ergo";
my $xkb_description = "French (Optimot, clavier Ergo)";

# Return the variant to add on the .lst files
sub lstEntry {
    # Assert that scalar(@_) == 3



@@ 20,6 23,7 @@ sub lstEntry {
    return "$name\t$cat: $desc"
}

# Add a keyboard layout to the file given in RULE_FILE_PATH
sub addLayout {
    my $rule_file_path = $_[0];
    my $name = $_[1];