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