Add ibus configuration for X11

This commit is contained in:
Natsu Kagami 2021-11-07 13:51:14 -05:00
parent d162925be3
commit 8cc7f126d5
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -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" ];
};
} }