Add ibus configuration for X11
This commit is contained in:
parent
d162925be3
commit
8cc7f126d5
|
@ -1,5 +1,6 @@
|
||||||
{ pkgs, config, lib, ... } :
|
{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
{
|
{
|
||||||
imports = [ ./packages.nix ];
|
imports = [ ./packages.nix ];
|
||||||
|
|
||||||
|
@ -44,4 +45,13 @@
|
||||||
exec ${pkgs.xsel}/bin/xsel -ob
|
exec ${pkgs.xsel}/bin/xsel -ob
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# IBus configuration
|
||||||
|
dconf.settings."desktop/ibus/general" = {
|
||||||
|
engines-order = hm.gvariant.mkArray hm.gvariant.type.string [ "xkb:jp::jpn" "mozc-jp" "Bamboo" ];
|
||||||
|
reload-engines = hm.gvariant.mkArray hm.gvariant.type.string [ "xkb:jp::jpn" "mozc-jp" "Bamboo" ];
|
||||||
|
};
|
||||||
|
dconf.settings."desktop/ibus/general/hotkey" = {
|
||||||
|
triggers = hm.gvariant.mkArray hm.gvariant.type.string [ "<Meta>z" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue