Switch to fcitx5
This commit is contained in:
parent
8de5dd5f23
commit
850eaa9b1a
|
@ -45,10 +45,10 @@
|
|||
"super + a" = "${pkgs.copyq}/bin/copyq toggle";
|
||||
|
||||
# fcitx
|
||||
"super + {b,n,m}" = "${pkgs.fcitx}/bin/fcitx-remote -s {mozc,fcitx-keyboard-no,fcitx-keyboard-us}";
|
||||
# "super + {b,n,m}" = "${pkgs.fcitx}/bin/fcitx-remote -s {mozc,fcitx-keyboard-no,fcitx-keyboard-us}";
|
||||
|
||||
# fcitx5
|
||||
# "super + {b,n,m}" = "${pkgs.fcitx5}/bin/fcitx5-remote -s {mozc,keyboard-no,keyboard-us}";
|
||||
"super + {b,n,m}" = "${pkgs.fcitx5}/bin/fcitx5-remote -s {mozc,keyboard-no,keyboard-us}";
|
||||
|
||||
# TODO: fix
|
||||
# "super + v" = "${pkgs.rofi}/bin/rofi -modi lpass:$HOME/.scripts/rofi/lpass/rofi-lpass -show lpass";
|
||||
|
|
|
@ -94,17 +94,12 @@ in {
|
|||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
inputMethod = lib.mkIf (!machineVars.headless) {
|
||||
enabled = "fcitx";
|
||||
fcitx.engines = with pkgs.fcitx-engines; [ mozc ];
|
||||
enabled = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [
|
||||
fcitx5-mozc
|
||||
fcitx5-gtk
|
||||
];
|
||||
};
|
||||
|
||||
# inputMethod = {
|
||||
# enabled = "fcitx5";
|
||||
# fcitx5.addons = with pkgs; [
|
||||
# fcitx5-mozc
|
||||
# fcitx5-gtk
|
||||
# ];
|
||||
# };
|
||||
};
|
||||
|
||||
environment = {
|
||||
|
|
Loading…
Reference in New Issue