diff --git a/home/services/sxhkd.nix b/home/services/sxhkd.nix index 95f810a..f97a7c6 100644 --- a/home/services/sxhkd.nix +++ b/home/services/sxhkd.nix @@ -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"; diff --git a/hosts/common.nix b/hosts/common.nix index 5b3aaa5..cbb004f 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -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 = {